Changeset 1307
- Timestamp:
- May 15, 2008, 11:38:47 PM (17 years ago)
- Location:
- code/branches/script_trigger
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/script_trigger/bin/levels/sample.oxw
r1293 r1307 12 12 <Skybox src="Orxonox/StarSkyBox" /> 13 13 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" /> 14 <Script> 15 print("****") 16 print("Hello Scripting World") 17 print("****") 18 </Script> 14 19 15 20 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> -
code/branches/script_trigger/src/core/CMakeLists.txt
r1224 r1307 21 21 OrxonoxClass.cc 22 22 OutputHandler.cc 23 Script.cc23 LuaBind.cc 24 24 SignalHandler.cc 25 25 TclBind.cc -
code/branches/script_trigger/src/core/Loader.cc
r1209 r1307 34 34 #include "Debug.h" 35 35 #include "CoreIncludes.h" 36 #include " Script.h"36 #include "LuaBind.h" 37 37 #include "Namespace.h" 38 38 … … 111 111 112 112 // let Lua work this out: 113 //Script* lua; 114 /*Script::loadFile(level->getFile(), true); 115 Script::init(Script::getLuaState()); 116 Script::run();*/ 117 Script* lua = Script::getInstance(); 113 LuaBind* lua = LuaBind::getInstance(); 118 114 lua->loadFile(level->getFile(), true); 119 115 lua->run(); -
code/branches/script_trigger/src/core/tolua/tolua.pkg
r1153 r1307 1 $cfile "../../src/core/ Script_clean.h"1 $cfile "../../src/core/LuaBind_clean.h" -
code/branches/script_trigger/src/orxonox/CMakeLists.txt
r1293 r1307 24 24 objects/SpaceShip.cc 25 25 objects/WorldEntity.cc 26 objects/Script.cc 26 27 27 28 # objects/weapon/AmmunitionDump.cc … … 40 41 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib 41 42 ) 42 43 43 44 ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} ) 44 45
Note: See TracChangeset
for help on using the changeset viewer.