mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Support pre-C++11 compilers
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
#include "GraphicsUtil.h"
|
||||
#include "Screen.h"
|
||||
|
||||
#if __cplusplus < 201103L // Pre-C++11
|
||||
typedef uint32_t char32_t;
|
||||
typedef uint16_t char16_t;
|
||||
#endif
|
||||
|
||||
class map;
|
||||
|
||||
class Graphics
|
||||
|
||||
@@ -355,6 +355,8 @@ void editorclass::reset()
|
||||
hookmenu=0;
|
||||
numhooks=0;
|
||||
script.customscript.clear();
|
||||
|
||||
returneditoralpha = 0;
|
||||
}
|
||||
|
||||
void editorclass::weirdloadthing(std::string t)
|
||||
|
||||
@@ -237,7 +237,7 @@ class editorclass{
|
||||
int dmtile;
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user