From 15eec693c359b0cc3e55219af22b94dcfea889c8 Mon Sep 17 00:00:00 2001 From: relnev Date: Tue, 7 Jan 2003 23:44:53 +0000 Subject: more changes git-svn-id: svn://svn.icculus.org/blackshades/trunk@18 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/GameDraw.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Source/GameDraw.cpp') diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index 179eaf6..741dd73 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -1,6 +1,10 @@ #include "Game.h" - +#ifdef POOLOOPS +#include +#include +#define STUB_FUNCTION fprintf(stderr,"STUB: %s at " __FILE__ ", line %d, thread %d\n",__FUNCTION__,__LINE__,getpid()) +#endif extern int thirdperson; @@ -493,7 +497,7 @@ int Game::DrawGLScene(GLvoid) - +#ifdef MAC //Mouse (draw) glMatrixMode(GL_PROJECTION); // Select The Projection Matrix @@ -508,12 +512,12 @@ int Game::DrawGLScene(GLvoid) glDisable(GL_TEXTURE_2D); + Point mouseloc; GetMouse(&mouseloc); mouseloc.v=screenheight-mouseloc.v; - glColor4f(.1,0,0,1); @@ -575,9 +579,10 @@ int Game::DrawGLScene(GLvoid) glPopMatrix(); - olddrawmouse=mouseloc; - +#else + STUB_FUNCTION; +#endif //Flash -- cgit v1.2.3