mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +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.
|
// Callbacks to D code.
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ extern "C" void ogre_initWindow()
|
|||||||
std::cout << "ogre_initWindow()\n";
|
std::cout << "ogre_initWindow()\n";
|
||||||
|
|
||||||
// Initialize OGRE.
|
// Initialize OGRE.
|
||||||
mWindow = mRoot->initialise(true);
|
mWindow = mRoot->initialise(true, "OpenMW", "");
|
||||||
|
|
||||||
// Set up the input system
|
// Set up the input system
|
||||||
|
|
||||||
|
8
openmw.d
8
openmw.d
@ -127,8 +127,6 @@ void main(char[][] args)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
writefln("At: ", __FILE__, ":", __LINE__);
|
|
||||||
|
|
||||||
initializeMemoryRegions();
|
initializeMemoryRegions();
|
||||||
initMonsterScripts();
|
initMonsterScripts();
|
||||||
|
|
||||||
@ -138,8 +136,6 @@ void main(char[][] args)
|
|||||||
return;
|
return;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
writefln("At: ", __FILE__, ":", __LINE__);
|
|
||||||
|
|
||||||
config.initialize(resetKeys);
|
config.initialize(resetKeys);
|
||||||
scope(exit) config.writeConfig();
|
scope(exit) config.writeConfig();
|
||||||
|
|
||||||
@ -168,13 +164,9 @@ void main(char[][] args)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
writefln("At: ", __FILE__, ":", __LINE__);
|
|
||||||
|
|
||||||
if(!noSound) initializeSound();
|
if(!noSound) initializeSound();
|
||||||
resources.initResources();
|
resources.initResources();
|
||||||
|
|
||||||
writefln("At: ", __FILE__, ":", __LINE__);
|
|
||||||
|
|
||||||
// Load all ESM and ESP files
|
// Load all ESM and ESP files
|
||||||
loadTESFiles(config.gameFiles);
|
loadTESFiles(config.gameFiles);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user