Changeset 1645
- Timestamp:
- Jul 23, 2008, 7:31:40 PM (16 years ago)
- Location:
- code/branches/gui
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/CMakeLists.txt
r1643 r1645 54 54 55 55 #use 'cmake -D make_verb:1 path' to get verbose make output when compiling 56 IF (MAKE_VERB)56 #IF (MAKE_VERB) 57 57 SET(CMAKE_VERBOSE_MAKEFILE TRUE) 58 ENDIF (MAKE_VERB)58 #ENDIF (MAKE_VERB) 59 59 60 60 -
code/branches/gui/cmake/FindCEGUI.cmake
r1505 r1645 39 39 SET(CEGUI_INCLUDE_DIR ${CEGUI_INCLUDE_DIR} CACHE PATH "") 40 40 SET(CEGUI_LIBRARIES ${CEGUI_LIBRARIES} CACHE STRING "") 41 SET(CEGUI_SCRIPT_LIBRARIES "CEGUILuaScriptModule" CACHE STRING "") 41 42 SET(CEGUI_LIB_DIR ${CEGUI_LIB_DIR} CACHE PATH "") 42 43 -
code/branches/gui/src/core/CMakeLists.txt
r1638 r1645 57 57 ADD_CUSTOM_COMMAND( 58 58 OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc 59 COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg59 COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg 60 60 DEPENDS tolua 61 61 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib -
code/branches/gui/src/core/Exception.h
r1642 r1645 100 100 } 101 101 102 ~SpecificException() { }102 ~SpecificException() throw() { } 103 103 104 104 ExceptionType getType() const { return Type; } … … 133 133 #ifndef NDEBUG 134 134 #define OrxAssert(condition, errorMessage) \ 135 condition ? ((void)0) : ( orxonox::OutputHandler::getOutStream().setOutputLevel(ORX_ERROR) << errorMessage << std::endl); \136 assert(condition) ;135 condition ? ((void)0) : (void)(orxonox::OutputHandler::getOutStream().setOutputLevel(ORX_ERROR) << errorMessage << std::endl); \ 136 assert(condition) 137 137 #else 138 138 #define OrxAssert(condition, errorMessage) ((void)0) -
code/branches/gui/src/core/input/InputManager.cc
r1642 r1645 86 86 , stateCalibrator_(0) 87 87 , stateEmpty_(0) 88 , bCalibrating_(false) 88 89 , keyboardModifiers_(0) 89 , bCalibrating_(false)90 90 { 91 91 RegisterRootObject(InputManager); -
code/branches/gui/src/core/input/InputManager.h
r1642 r1645 85 85 { 86 86 // --> setConfigValues is private 87 friend ClassIdentifier<InputManager>;87 friend class ClassIdentifier<InputManager>; 88 88 // let Core class use tick(.) 89 friend Core;89 friend class Core; 90 90 91 91 public: -
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.