1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-26 07:16:02 +00:00

Works online now!

This commit is contained in:
Zeno Rogue
2018-02-11 19:08:17 +01:00
parent d01d772669
commit cab8a0a38f
11 changed files with 386 additions and 277 deletions

View File

@@ -315,12 +315,12 @@ typedef unsigned int Uint32;
#endif
#if ISWEB
inline Uint8 *SDL_GetKeyState(void *v) { static Uint8 tab[1024]; return tab; }
extern "C" {
Uint8 *SDL_GetKeyState(void*);
}
// inline Uint8 *SDL_GetKeyState(void *v) { static Uint8 tab[1024]; return tab; }
#endif
/* extern "C" {
Uint8 *SDL_GetKeyState(void*);
} */
#ifndef CAP_GLEW
#define CAP_GLEW (CAP_GL && !ISMOBILE && !ISMAC && !ISLINUX && !ISWEB)
@@ -645,8 +645,6 @@ int getticks();
void shareScore(MOBPAR_FORMAL);
#endif
int mobile_xres, mobile_yres;
void mobile_draw(MOBPAR_FORMAL) {
optimizeview();