Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 23, 2008, 7:31:40 PM (16 years ago)
Author:
rgrieder
Message:

It compiles now on tardis..

Location:
code/branches/gui/src/orxonox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/CMakeLists.txt

    r1643 r1645  
    5959ADD_CUSTOM_COMMAND(
    6060  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.pkg
     61  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
    6262  DEPENDS tolua
    6363  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
     
    8989  ${Lua_LIBRARIES}
    9090  ${CEGUI_LIBRARIES}
     91  ${CEGUI_SCRIPT_LIBRARIES}
    9192  tinyxml
    9293  tolualib
  • code/branches/gui/src/orxonox/Orxonox.cc

    r1642 r1645  
    468468    unsigned long frameCount = 0;
    469469   
    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);
    472471    unsigned long refreshStartTime = 0;
    473472    unsigned long tickTime = 0;
  • code/branches/gui/src/orxonox/gui/GUIManager.cc

    r1642 r1645  
    126126            catch (CEGUI::Exception& ex)
    127127            {
     128#if CEGUI_VERSION_MINOR < 6
     129                throw GeneralException(ex.getMessage().c_str());
     130#else
    128131                throw GeneralException(ex.getMessage().c_str(), ex.getLine(),
    129132                    ex.getFileName().c_str(), ex.getName().c_str());
     133#endif
    130134            }
    131135
     
    166170        catch (CEGUI::Exception& ex)
    167171        {
     172#if CEGUI_VERSION_MINOR < 6
     173            throw GeneralException(ex.getMessage().c_str());
     174#else
    168175            throw GeneralException(ex.getMessage().c_str(), ex.getLine(),
    169176                ex.getFileName().c_str(), ex.getName().c_str());
     177#endif
    170178        }
    171179    }
Note: See TracChangeset for help on using the changeset viewer.