aboutsummaryrefslogtreecommitdiff
path: root/Source/GameDraw.cpp
diff options
context:
space:
mode:
authorrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-07 23:44:53 +0000
committerrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-07 23:44:53 +0000
commit15eec693c359b0cc3e55219af22b94dcfea889c8 (patch)
treed8588ad794b6901c890168854184b95a8b9b374d /Source/GameDraw.cpp
parent59d189e9eb3f6570b73d8f6be1a372eb875330e1 (diff)
downloadblackshades-15eec693c359b0cc3e55219af22b94dcfea889c8.tar.gz
more changes
git-svn-id: svn://svn.icculus.org/blackshades/trunk@18 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/GameDraw.cpp')
-rw-r--r--Source/GameDraw.cpp15
1 files changed, 10 insertions, 5 deletions
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 <stdio.h>
+#include <unistd.h>
+#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