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:
parent
9e2c1eb637
commit
4b70fd9a06
@ -21,6 +21,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Callbacks to D code.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
8
openmw.d
8
openmw.d
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user