Changeset 1038 for code/trunk/src/orxonox
- Timestamp:
- Apr 13, 2008, 2:59:01 PM (17 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/CMakeLists.txt
r1037 r1038 38 38 TARGET_LINK_LIBRARIES( orxonox 39 39 ${OGRE_LIBRARIES} 40 ${Lua_LIBRARIES} 40 41 util 41 42 core -
code/trunk/src/orxonox/Orxonox.cc
r1035 r1038 435 435 436 436 // Times up to frameSmoothingTime_ seconds old should be kept 437 unsigned long discardThreshold = (unsigned long) frameSmoothingTime_ * 1000.0f;437 unsigned long discardThreshold = (unsigned long)(frameSmoothingTime_ * 1000.0f); 438 438 439 439 // Find the oldest time to keep -
code/trunk/src/orxonox/core/CMakeLists.txt
r1037 r1038 31 31 TARGET_LINK_LIBRARIES( core 32 32 util 33 34 33 ${Lua_LIBRARIES} 35 34 ${OIS_LIBRARIES} -
code/trunk/src/orxonox/core/Script.cc
r1037 r1038 109 109 error = luaL_loadstring(luaState_, init.c_str()); 110 110 #else 111 error = lua_load(luaState_, &orxonox::Script::lua_Chunkreader, init.c_str(), "init");111 error = lua_load(luaState_, &orxonox::Script::lua_Chunkreader, (void*)init.c_str(), "init"); 112 112 #endif 113 113 if (error == 0) -
code/trunk/src/orxonox/core/Script.h
r1029 r1038 31 31 32 32 #if LUA_VERSION_NUM != 501 33 inline const char * lua_Chunkreader(lua_State *L, void *data, size_t *size) { return NULL;};33 inline static const char * lua_Chunkreader(lua_State *L, void *data, size_t *size) { return NULL;}; 34 34 #endif 35 35
Note: See TracChangeset
for help on using the changeset viewer.