Changeset 5655 for code/branches/resource2/src/orxonox
- Timestamp:
- Aug 17, 2009, 4:41:03 PM (15 years ago)
- Location:
- code/branches/resource2/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2/src/orxonox/Main.cc
r3370 r5655 48 48 #include "core/CommandLine.h" 49 49 #include "core/Game.h" 50 #include "core/LuaState.h" 51 #include "ToluaBindOrxonox.h" 50 52 51 53 SetCommandLineSwitch(console).information("Start in console mode (text IO only)"); … … 55 57 SetCommandLineSwitch(dedicated).information("Start in dedicated server mode"); 56 58 SetCommandLineSwitch(standalone).information("Start in standalone mode"); 59 60 DeclareToluaInterface(Orxonox); 57 61 58 62 /* -
code/branches/resource2/src/orxonox/gamestates/GSRoot.cc
r5654 r5655 33 33 #include "core/Game.h" 34 34 #include "core/GameMode.h" 35 #include "core/LuaState.h"36 35 #include "network/NetworkFunction.h" 37 #include "ToluaBindOrxonox.h"38 36 #include "tools/Timer.h" 39 37 #include "interfaces/TimeFactorListener.h" … … 53 51 this->ccSetTimeFactor_ = 0; 54 52 this->ccPause_ = 0; 55 56 // Tell LuaBind about all tolua interfaces57 LuaState::addToluaInterface(&tolua_Orxonox_open, "Orxonox");58 53 } 59 54
Note: See TracChangeset
for help on using the changeset viewer.