projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19980930-3
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index d1abeccc52462bd684590a231af72f3dbd16531d..2aeb77090462363b445a311d19f3c2edf49f10a2 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-14,6
+14,13
@@
#ifndef MAIN_H
#define MAIN_H
#ifndef MAIN_H
#define MAIN_H
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
#ifndef MSDOS
#define XK_MISCELLANY
#define XK_LATIN1
#ifndef MSDOS
#define XK_MISCELLANY
#define XK_LATIN1
@@
-32,13
+39,6
@@
#include "msdos.h"
#endif /* #ifndef MSDOS */
#include "msdos.h"
#endif /* #ifndef MSDOS */
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-
typedef int BOOL;
#ifndef FALSE
typedef int BOOL;
#ifndef FALSE
@@
-323,6
+323,8
@@
extern int width, height;
extern char *server_host;
extern int server_port;
extern char *server_host;
extern int server_port;
+extern int networking;
+extern int standalone;
extern int game_status;
extern int game_emulation;
extern int game_status;
extern int game_emulation;
@@
-341,7
+343,6
@@
extern int fading_on;
extern int autorecord_on;
extern int joystick_nr;
extern int quick_doors;
extern int autorecord_on;
extern int joystick_nr;
extern int quick_doors;
-extern int networking;
extern BOOL redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
extern int redraw_x1, redraw_y1;
extern BOOL redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
extern int redraw_x1, redraw_y1;