1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00
hyperrogue/hyperweb.cpp

32 lines
559 B
C++
Raw Normal View History

2017-07-22 23:33:27 +00:00
#define ISWEB 1
2017-03-23 10:53:57 +00:00
#define MINI
#define NOAUDIO
#define NOGFX
#define NOPNG
#define DEMO
#define TOUR
2017-07-22 23:33:27 +00:00
#define CAP_SDLTTF 0
2017-03-23 10:53:57 +00:00
#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;
2017-03-23 10:53:57 +00:00
#include "hyper.cpp"
void playSound(cell *c, const string& fname, int vol) { }
void initweb() {
toggleanim(false);
cmode = emMenu;
}