Changeset 732
- Timestamp:
- 06/07/09 16:55:45 (9 months ago)
- Location:
- trunk/lugre
- Files:
-
- 3 modified
-
include/lugre_ogrewrapper.h (modified) (1 diff)
-
src/lugre_ogrewrapper.cpp (modified) (3 diffs)
-
src/lugre_scripting.ogre.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lugre/include/lugre_ogrewrapper.h
r731 r732 106 106 /// returns true on success 107 107 bool Init (const char* szWindowTitle,const char* szOgrePluginDir,const char* szOgreBaseDir,bool bAutoCreateWindow=true); 108 bool Create Window(bool bConfigRestoreOrDialog=true);108 bool CreateOgreWindow (bool bConfigRestoreOrDialog=true); 109 109 void RenderOneFrame (); 110 110 void DeInit (); -
trunk/lugre/src/lugre_ogrewrapper.cpp
r731 r732 350 350 MacSetupResources(mResourcePath); 351 351 #else 352 printf("OGRE_BASE_DIR %s\n",sLugreOgreBaseDir.c_str()); 353 printf("OGRE_PLUGIN_DIR %s\n",sLugreOgrePluginDir.c_str()); 354 352 355 mRoot = new Root(PATH_PLUGIN_CFG); 353 356 lugre_loadOgrePlugins_linux(mRoot,PATH_PLUGIN_CFG_TEMPLATE,sLugreOgrePluginDir.c_str()); … … 381 384 382 385 if (!bAutoCreateWindow) return true; 383 return Create Window();386 return CreateOgreWindow(); 384 387 } 385 388 … … 457 460 458 461 459 bool cOgreWrapper::Create Window (bool bConfigRestoreOrDialog) {462 bool cOgreWrapper::CreateOgreWindow (bool bConfigRestoreOrDialog) { 460 463 bool bWinDebug = false; 461 464 //bool carryOn = configure(); -
trunk/lugre/src/lugre_scripting.ogre.cpp
r731 r732 283 283 bool bConfigRestoreOrDialog = (lua_gettop(L) >= 1 && !lua_isnil(L,1)) ? (lua_isboolean(L,1) ? lua_toboolean(L,1) : luaL_checkint(L,1)) : true; 284 284 try { 285 bool res = cOgreWrapper::GetSingleton().Create Window(bConfigRestoreOrDialog);285 bool res = cOgreWrapper::GetSingleton().CreateOgreWindow(bConfigRestoreOrDialog); 286 286 lua_pushboolean(L,res); 287 287 return 1;
