Removed static from struct. Emscripten build now uses C++20. Removed stray safemap cpp file.
This commit is contained in:
parent
6a12a45cb2
commit
b6d914151f
@ -124,7 +124,7 @@ public:
|
||||
void SetState(State newState);
|
||||
static void InitializeStrategies();
|
||||
private:
|
||||
static struct STRATEGY{
|
||||
struct STRATEGY{
|
||||
static void RUN_STRATEGY(Monster&m,float fElapsedTime);
|
||||
|
||||
static void RUN_TOWARDS(Monster&m,float fElapsedTime);
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_PATCH 0
|
||||
#define VERSION_BUILD 988
|
||||
#define VERSION_BUILD 992
|
||||
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
|
@ -1,2 +1,2 @@
|
||||
~\Documents\emsdk\emsdk_env.ps1 activate latest
|
||||
em++ -std=c++17 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 $(Get-ChildItem *.cpp) -o pge.html --preload-file assets
|
||||
em++ -std=c++20 -O2 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s MIN_WEBGL_VERSION=2 -s USE_LIBPNG=1 $(Get-ChildItem *.cpp) -o pge.html --preload-file assets
|
2915
Crawler/pge.data
2915
Crawler/pge.data
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
BIN
Crawler/pge.wasm
BIN
Crawler/pge.wasm
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
#include "safemap.h"
|
||||
|
||||
safemap::initializeCompleted=false;
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user