X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.h;h=babc7413fff904f0d9ceb9657ae017344d52b0f4;hb=4ee4eeed40f5f6a5e1811608ca53b2b8bdae5926;hp=edf867a1d40a05082bc8a10dc646c281c56badc0;hpb=8265984dce72d262e3865ebad4668d98b5b26d4a;p=lugaru.git diff --git a/Source/Game.h b/Source/Game.h index edf867a..babc741 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -231,7 +231,6 @@ class Game unsigned short crouchkey,jumpkey,forwardkey,chatkey,backkey,leftkey,rightkey,drawkey,throwkey,attackkey; bool oldattackkey; - long long MD5_string (char *string); static void LoadTexture(const char *fileName, GLuint *textureid,int mipmap, bool hasalpha); static void LoadTextureSave(const char *fileName, GLuint *textureid,int mipmap,GLubyte *array, int *skinsize); void LoadSave(const char *fileName, GLuint *textureid,bool mipmap,GLubyte *array, int *skinsize); @@ -311,17 +310,9 @@ class Game static __forceinline void swap_gl_buffers(void) { - SDL_GL_SwapBuffers(); - } -#ifdef __GNUC__ -#define LONGLONGCONST(x) (x##ll) -#else -#define LONGLONGCONST(x) (x) -#endif - extern "C" { void UndefinedSymbolToExposeStubbedCode(void); } //#define STUBBED(x) UndefinedSymbolToExposeStubbedCode(); #define STUBBED(x) { static bool seen = false; if (!seen) { seen = true; fprintf(stderr, "STUBBED: %s at %s:%d\n", x, __FILE__, __LINE__); } }