summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-31 19:18:18 +0200
committerGitHub <noreply@github.com>2019-05-31 19:18:18 +0200
commit7eee450a698cf3cee5e21da45477d7a308668e1c (patch)
tree392a32b7c35ad574879564487f52ed14d6d4ea5c /src/common.h
parentmore high level functions (diff)
parentrw skeleton (diff)
downloadre3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.gz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.bz2
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.lz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.xz
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.tar.zst
re3-7eee450a698cf3cee5e21da45477d7a308668e1c.zip
Diffstat (limited to '')
-rw-r--r--src/common.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/common.h b/src/common.h
index 47dd13f2..90244580 100644
--- a/src/common.h
+++ b/src/common.h
@@ -45,6 +45,7 @@ typedef float Float;
typedef double Double;
typedef bool Bool;
typedef char Char;
+typedef wchar_t WChar;
#define nil NULL
@@ -56,29 +57,7 @@ typedef char Char;
extern void **rwengine;
#define RwEngineInstance (*rwengine)
-// TODO
-struct RsInputDevice
-{
- int inputDeviceType;
- int used;
- void *inputEventHandler;
-};
-
-struct RsGlobalType
-{
- const char *appName;
- int width;
- int height;
- int maximumWidth;
- int maximumHeight;
- int maxFPS;
- int quit;
- void *ps;
- RsInputDevice keyboard;
- RsInputDevice mouse;
- RsInputDevice pad;
-};
-extern RsGlobalType &RsGlobal;
+#include "skel\skeleton.h"
#define SCREENW (RsGlobal.maximumWidth)
#define SCREENH (RsGlobal.maximumHeight)