Changeset 8246 in orxonox.OLD for branches/script_engine/src
- Timestamp:
- Jun 8, 2006, 2:53:10 PM (18 years ago)
- Location:
- branches/script_engine/src
- Files:
-
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/Makefile.am
r8202 r8246 15 15 script.cc\ 16 16 script_manager.cc\ 17 script_class.cc \ 18 script_trigger.cc 17 script_class.cc\ 18 account.cc\ 19 object.cc 20 19 21 20 22 AM_CPPFLAGS= @LUA_INCLUDES@ … … 24 26 script.h\ 25 27 script_manager.h\ 26 script_class.h \27 script_trigger.h28 script_class.h 29 28 30 29 31 -
branches/script_engine/src/world_entities/WorldEntities.am
r7785 r8246 49 49 world_entities/elements/text_element.cc \ 50 50 \ 51 world_entities/effects/lightning_bolt.cc 51 world_entities/effects/lightning_bolt.cc \ 52 \ 53 world_entities/script_trigger.cc 52 54 53 55 … … 99 101 elements/text_element.h \ 100 102 \ 101 effects/lightning_bolt.h 103 effects/lightning_bolt.h \ 104 \ 105 script_trigger.h -
branches/script_engine/src/world_entities/script_trigger.cc
r8243 r8246 1 //for testing 2 #include "luaincl.h" 1 3 #include "script_trigger.h" 2 4 #include "class_list.h" … … 4 6 5 7 #include "state.h" 6 8 9 10 7 11 ScriptTrigger::ScriptTrigger(const TiXmlElement* root) 8 12 { … … 127 131 std::string file("lunartest2.lua"); 128 132 // Script script; 129 Script* script = S criptManager::getInstance()->getScriptByFile(file);133 Script* script = State::getScriptManager()->getScriptByFile(file); 130 134 printf("-------------------------- top of the stack:%i\n",lua_gettop(script->getLuaState())); 131 135
Note: See TracChangeset
for help on using the changeset viewer.