forked from mirror/openmw-tes3mp
FIXED the compiling issue
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@107 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
parent
6b2d64d38f
commit
65634be6f1
2 changed files with 9 additions and 8 deletions
|
@ -26,7 +26,6 @@ module gui.gui;
|
|||
import monster.monster;
|
||||
import monster.vm.mclass;
|
||||
import monster.modules.console;
|
||||
import input.events : exitProgram;
|
||||
import gui.bindings;
|
||||
import bullet.bindings;
|
||||
import std.string;
|
||||
|
@ -280,6 +279,14 @@ void setupGUIScripts()
|
|||
|
||||
Console cons;
|
||||
|
||||
// Checked from input/events.d. Shouldn't really be here, but it's a
|
||||
// workaround for a DMD import issue.
|
||||
bool doExit = false;
|
||||
void exitProgram()
|
||||
{
|
||||
doExit = true;
|
||||
}
|
||||
|
||||
// Some glue code that will go away later when we use the C++
|
||||
// interface to Monster directly.
|
||||
extern(C):
|
||||
|
|
|
@ -40,6 +40,7 @@ import monster.vm.dbg;
|
|||
|
||||
import ogre.bindings;
|
||||
import gui.bindings;
|
||||
import gui.gui;
|
||||
|
||||
import input.keys;
|
||||
import input.ois;
|
||||
|
@ -111,13 +112,6 @@ void togglePause()
|
|||
else writefln("Pause off");
|
||||
}
|
||||
|
||||
bool doExit = false;
|
||||
|
||||
void exitProgram()
|
||||
{
|
||||
doExit = true;
|
||||
}
|
||||
|
||||
extern(C) void d_handleMouseMove(MouseState *state)
|
||||
{
|
||||
debug(printMouseMove)
|
||||
|
|
Loading…
Reference in a new issue