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
|
2017-04-15 02:48:59 +00:00
|
|
|
#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);
|
|
|
|
|
2017-04-15 02:48:59 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|