mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
32 lines
559 B
C++
32 lines
559 B
C++
#define ISWEB 1
|
|
#define MINI
|
|
#define NOAUDIO
|
|
#define NOGFX
|
|
#define NOPNG
|
|
#define DEMO
|
|
#define TOUR
|
|
#define CAP_SDLTTF 0
|
|
|
|
#ifdef FAKEWEB
|
|
void mainloopiter();
|
|
template<class A, class B, class C> void emscripten_set_main_loop(A a, B b, C c) { while(true) mainloopiter(); }
|
|
#else
|
|
#include <emscripten.h>
|
|
#endif
|
|
|
|
void initweb();
|
|
|
|
void loadCompressedChar(int &otwidth, int &otheight, int *tpix);
|
|
|
|
const char *wheresounds;
|
|
|
|
#include "hyper.cpp"
|
|
|
|
void playSound(cell *c, const string& fname, int vol) { }
|
|
|
|
void initweb() {
|
|
toggleanim(false);
|
|
cmode = emMenu;
|
|
}
|
|
|