Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 4:45:32 PM (17 years ago)
Author:
bknecht
Message:

crazy stuff!! triggers and the best: you can now use the lua function "include(levelfile)" to include another level file into the level. it's great!!! :D

Location:
code/branches/script_trigger/src
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/script_trigger/src/core/CMakeLists.txt

    r1307 r1383  
    3333  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
    3434  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
    3636  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    3737)
  • code/branches/script_trigger/src/orxonox/CMakeLists.txt

    r1307 r1383  
    2525  objects/WorldEntity.cc
    2626  objects/Script.cc
     27  objects/Trigger.cc
    2728
    2829#  objects/weapon/AmmunitionDump.cc
  • code/branches/script_trigger/src/orxonox/objects/Model.cc

    r1293 r1383  
    5050
    5151    /**
    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
    5756    */
    5857    void Model::XMLPort(Element& xmlelement, XMLPort::Mode mode)
  • code/branches/script_trigger/src/orxonox/objects/SpaceShip.cc

    r1293 r1383  
    277277      // change camera attributes here, if you want to ;)
    278278    }
    279    
     279
    280280    void SpaceShip::getFocus(){
    281281      COUT(4) << "requesting focus" << std::endl;
    282282      if(network::Client::getSingleton()==0 || network::Client::getSingleton()->getShipID()==objectID)
    283283        CameraHandler::getInstance()->requestFocus(cam_);
    284      
    285     }
    286    
     284
     285    }
     286
    287287    void SpaceShip::createCamera(){
    288288//       COUT(4) << "begin camera creation" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.