mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Support pre-C++11 compilers
This commit is contained in:
parent
9adcbaed6c
commit
e7252888b6
3 changed files with 8 additions and 1 deletions
|
@ -19,6 +19,11 @@
|
||||||
#include "GraphicsUtil.h"
|
#include "GraphicsUtil.h"
|
||||||
#include "Screen.h"
|
#include "Screen.h"
|
||||||
|
|
||||||
|
#if __cplusplus < 201103L // Pre-C++11
|
||||||
|
typedef uint32_t char32_t;
|
||||||
|
typedef uint16_t char16_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
class map;
|
class map;
|
||||||
|
|
||||||
class Graphics
|
class Graphics
|
||||||
|
|
|
@ -355,6 +355,8 @@ void editorclass::reset()
|
||||||
hookmenu=0;
|
hookmenu=0;
|
||||||
numhooks=0;
|
numhooks=0;
|
||||||
script.customscript.clear();
|
script.customscript.clear();
|
||||||
|
|
||||||
|
returneditoralpha = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void editorclass::weirdloadthing(std::string t)
|
void editorclass::weirdloadthing(std::string t)
|
||||||
|
|
|
@ -237,7 +237,7 @@ class editorclass{
|
||||||
int dmtile;
|
int dmtile;
|
||||||
int dmtileeditor;
|
int dmtileeditor;
|
||||||
|
|
||||||
int returneditoralpha = 0;
|
int returneditoralpha;
|
||||||
};
|
};
|
||||||
|
|
||||||
void addedentity(int xp, int yp, int tp, int p1=0, int p2=0, int p3=0, int p4=0, int p5=320, int p6=240);
|
void addedentity(int xp, int yp, int tp, int p1=0, int p2=0, int p3=0, int p4=0, int p5=320, int p6=240);
|
||||||
|
|
Loading…
Reference in a new issue