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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user