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:
10
init.cpp
10
init.cpp
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user