Changeset 8246 in orxonox.OLD for branches/script_engine/src/world_entities
- Timestamp:
- Jun 8, 2006, 2:53:10 PM (18 years ago)
- Location:
- branches/script_engine/src/world_entities
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
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.