Changeset 1645 for code/branches/gui/src/orxonox
- Timestamp:
- Jul 23, 2008, 7:31:40 PM (16 years ago)
- Location:
- code/branches/gui/src/orxonox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/CMakeLists.txt
r1643 r1645 59 59 ADD_CUSTOM_COMMAND( 60 60 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc 61 COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg61 COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg 62 62 DEPENDS tolua 63 63 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib … … 89 89 ${Lua_LIBRARIES} 90 90 ${CEGUI_LIBRARIES} 91 ${CEGUI_SCRIPT_LIBRARIES} 91 92 tinyxml 92 93 tolualib -
code/branches/gui/src/orxonox/Orxonox.cc
r1642 r1645 468 468 unsigned long frameCount = 0; 469 469 470 const unsigned long refreshTime = 50000.0f; 471 //const unsigned long refreshTime = debugRefreshTime_ * 1000000.0f; 470 const unsigned long refreshTime = (unsigned long)(debugRefreshTime_ * 1000000.0f); 472 471 unsigned long refreshStartTime = 0; 473 472 unsigned long tickTime = 0; -
code/branches/gui/src/orxonox/gui/GUIManager.cc
r1642 r1645 126 126 catch (CEGUI::Exception& ex) 127 127 { 128 #if CEGUI_VERSION_MINOR < 6 129 throw GeneralException(ex.getMessage().c_str()); 130 #else 128 131 throw GeneralException(ex.getMessage().c_str(), ex.getLine(), 129 132 ex.getFileName().c_str(), ex.getName().c_str()); 133 #endif 130 134 } 131 135 … … 166 170 catch (CEGUI::Exception& ex) 167 171 { 172 #if CEGUI_VERSION_MINOR < 6 173 throw GeneralException(ex.getMessage().c_str()); 174 #else 168 175 throw GeneralException(ex.getMessage().c_str(), ex.getLine(), 169 176 ex.getFileName().c_str(), ex.getName().c_str()); 177 #endif 170 178 } 171 179 }
Note: See TracChangeset
for help on using the changeset viewer.