1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 06:16:00 +00:00

made the web version compile

This commit is contained in:
Zeno Rogue
2018-06-14 00:06:54 +02:00
parent b342159475
commit 1eaaac4d77
4 changed files with 9 additions and 4 deletions

View File

@@ -26,6 +26,8 @@ template<class A, class B, class C> void emscripten_set_main_loop(A a, B b, C c)
#include <emscripten/html5.h>
#endif
#include <string>
namespace hr {
void initweb();
void emscripten_get_commandline();
@@ -35,6 +37,8 @@ namespace hr {
const char *wheresounds;
}
#include "hyper.cpp"
namespace hr {
// -- demo --
@@ -196,4 +200,3 @@ void emscripten_get_commandline() {
}
}
#include "hyper.cpp"