Removed static from struct. Emscripten build now uses C++20. Removed stray safemap cpp file.

pull/28/head
sigonasr2 2 years ago
parent 6a12a45cb2
commit b6d914151f
  1. 2
      Crawler/Monster.h
  2. 2
      Crawler/Version.h
  3. 2
      Crawler/emscripten_build.ps1
  4. 2915
      Crawler/pge.data
  5. 2
      Crawler/pge.js
  6. BIN
      Crawler/pge.wasm
  7. 3
      Crawler/safemap.cpp
  8. BIN
      x64/Release/Crawler.exe

@ -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

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

@ -1,3 +0,0 @@
#include "safemap.h"
safemap::initializeCompleted=false;

Binary file not shown.
Loading…
Cancel
Save