Changeset 1383
- Timestamp:
- May 22, 2008, 4:45:32 PM (17 years ago)
- Location:
- code/branches/script_trigger
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/script_trigger/bin/levels/sample.oxw
r1307 r1383 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 15 <?lua include("levels/test.oxw") ?> 19 16 20 17 <NPC position="0,100,400" scale="1" mesh="razor.mesh"/> -
code/branches/script_trigger/src/core/CMakeLists.txt
r1307 r1383 33 33 OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h 34 34 COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg 35 DEPENDS tolua 35 DEPENDS tolua LuaBind_clean.h 36 36 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib 37 37 ) -
code/branches/script_trigger/src/orxonox/CMakeLists.txt
r1307 r1383 25 25 objects/WorldEntity.cc 26 26 objects/Script.cc 27 objects/Trigger.cc 27 28 28 29 # objects/weapon/AmmunitionDump.cc -
code/branches/script_trigger/src/orxonox/objects/Model.cc
r1293 r1383 50 50 51 51 /** 52 @brief XML loading and saving. 53 @p 54 aram xmlelement The XML-element 55 @param loading Loading (true) or saving (false) 56 @return The XML-element 52 @brief XML loading and saving. 53 @param xmlelement The XML-element 54 @param loading Loading (true) or saving (false) 55 @return The XML-element 57 56 */ 58 57 void Model::XMLPort(Element& xmlelement, XMLPort::Mode mode) -
code/branches/script_trigger/src/orxonox/objects/SpaceShip.cc
r1293 r1383 277 277 // change camera attributes here, if you want to ;) 278 278 } 279 279 280 280 void SpaceShip::getFocus(){ 281 281 COUT(4) << "requesting focus" << std::endl; 282 282 if(network::Client::getSingleton()==0 || network::Client::getSingleton()->getShipID()==objectID) 283 283 CameraHandler::getInstance()->requestFocus(cam_); 284 285 } 286 284 285 } 286 287 287 void SpaceShip::createCamera(){ 288 288 // COUT(4) << "begin camera creation" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.