1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Applied compatibility patch for GCC 4.4.0

git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@99 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
nkorslund 2009-05-03 14:35:43 +00:00
parent 9e2c1eb637
commit 4b70fd9a06
3 changed files with 2 additions and 9 deletions

View File

@ -21,6 +21,7 @@
*/
#include <stdint.h>
// Callbacks to D code.

View File

@ -98,7 +98,7 @@ extern "C" void ogre_initWindow()
std::cout << "ogre_initWindow()\n";
// Initialize OGRE.
mWindow = mRoot->initialise(true);
mWindow = mRoot->initialise(true, "OpenMW", "");
// Set up the input system

View File

@ -127,8 +127,6 @@ void main(char[][] args)
return;
}
writefln("At: ", __FILE__, ":", __LINE__);
initializeMemoryRegions();
initMonsterScripts();
@ -138,8 +136,6 @@ void main(char[][] args)
return;
*/
writefln("At: ", __FILE__, ":", __LINE__);
config.initialize(resetKeys);
scope(exit) config.writeConfig();
@ -168,13 +164,9 @@ void main(char[][] args)
return;
}
writefln("At: ", __FILE__, ":", __LINE__);
if(!noSound) initializeSound();
resources.initResources();
writefln("At: ", __FILE__, ":", __LINE__);
// Load all ESM and ESP files
loadTESFiles(config.gameFiles);