blob: d80655e1b7c1c12c69adc579abf012b633804969 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- x11/main.cpp.orig 2012-05-27 06:52:29.000000000 +0900
+++ x11/main.cpp 2012-05-27 06:52:58.000000000 +0900
@@ -25,6 +25,7 @@
#include "utils.h"
extern "C" {
+#include <stdlib.h>
#include <X11/Xutil.h>
#ifdef OPENWOUND_XOS_STRLEN_HACK
@@ -33,13 +34,13 @@
#include <X11/Xos.h>
}
-#include <iostream.h>
+#include <iostream>
#include "utils.h"
#include "neth.h"
#include "game.h"
-
+GameP g_game;
class TurnStarter: public ITurnStarter {
public:
@@ -68,6 +69,7 @@
Utils::seed_random();
GameP game = new Game(&argc,argv);
+ g_game = game;
// assert (clock() != -1);
|