X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.h;h=c4f033eb4c8e4cb7e81e6d74c5f563c7c1ef5960;hb=bcb5c54b2b6170c185583c18f5ec97b0bb813f0a;hp=5be8ce45fb26a5663b03c44d424be357a839a2c9;hpb=43f08119f2408a487dbefcf670bb6c8f47d4c49b;p=lugaru.git diff --git a/Source/Game.h b/Source/Game.h index 5be8ce4..c4f033e 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -38,15 +38,6 @@ extern GLuint rabbittexture; -#ifndef TRUE -#define TRUE 1 -#endif - -#ifndef FALSE -#define FALSE 0 -#endif - - class Game { public: @@ -306,4 +297,9 @@ static __forceinline void swap_gl_buffers(void) #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__); } } +//#define STUBBED(x) + #endif