-updated tests:

*updated build scripts
 *removed tls variables from code (needed to support WebAssembly)
 *some mmutils tweaks
 *some fixes
 *pthread TLS thread ID implementation
-added Atomic file (reimplementation of atomics templates for emscripten)
-added emscripten support to ecs.std
This commit is contained in:
Mergul 2019-11-25 20:06:16 +00:00
parent 46de0f6adb
commit 946fbf2934
18 changed files with 443 additions and 229 deletions

View file

@ -409,7 +409,7 @@ struct CleanSystem
}
}
Snake* snake;
__gshared Snake* snake;
void snakeStart()
{
@ -500,7 +500,7 @@ bool snakeLoop()
float delta_time = launcher.delta_time;
if(delta_time > 2000)delta_time = 2000;
static float time = 0;
__gshared float time = 0;
if(launcher.getKeyState(SDL_SCANCODE_SPACE))time += delta_time * 3;
else time += delta_time;