aboutsummaryrefslogtreecommitdiff
path: root/Source/GameInitDispose.cpp
diff options
context:
space:
mode:
authorzakk <zakk@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-16 12:44:03 +0000
committerzakk <zakk@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-16 12:44:03 +0000
commit2b6905fdd34a959c56c1ffdae506625f7caa3a55 (patch)
tree87b8d0404803eedeb11eb78ec734edd62e9570f9 /Source/GameInitDispose.cpp
parent33c9b76e55a8f23d4bc3e079cd8456bce0ea3dcb (diff)
downloadblackshades-2b6905fdd34a959c56c1ffdae506625f7caa3a55.tar.gz
s/MAC/OS9/
git-svn-id: svn://svn.icculus.org/blackshades/trunk@79 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/GameInitDispose.cpp')
-rw-r--r--Source/GameInitDispose.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp
index 09d0f69..0e8da6c 100644
--- a/Source/GameInitDispose.cpp
+++ b/Source/GameInitDispose.cpp
@@ -1,6 +1,6 @@
#include <ctype.h>
-#ifndef MAC
+#ifndef OS9
#include <time.h>
#endif
@@ -956,7 +956,7 @@ void Game::LoadingScreen(float percent)
-#ifdef MAC
+#ifdef OS9
aglSwapBuffers( gOpenGLContext );
#else
SDL_GL_SwapBuffers( );
@@ -1668,7 +1668,7 @@ void Game::InitGame()
//Setup random seed
-#ifdef MAC
+#ifdef OS9
qd.randSeed = TickCount();
#else
srand(time(NULL));
@@ -3490,7 +3490,7 @@ void Game::InitGame()
GLint swapInt = 1;
-#ifdef MAC
+#ifdef OS9
aglSetInteger(gOpenGLContext, AGL_SWAP_INTERVAL, &swapInt);
#else
@@ -3548,7 +3548,7 @@ int Game::InitGL(GLvoid)
if(!initialized){
//Default config in case config is not found
-#ifdef MAC
+#ifdef OS9
HideCursor();
#else
STUB_FUNCTION;
@@ -3707,7 +3707,7 @@ int Game::InitGL(GLvoid)
//Read high score
-#ifdef MAC
+#ifdef OS9
ifstream ipstream2(":Data:Highscore");
#else
/* TODO */
@@ -3719,7 +3719,7 @@ int Game::InitGL(GLvoid)
beatgame=0;
-#ifdef MAC
+#ifdef OS9
ofstream opstream(":Data:Highscore");
#else
/* TODO */
@@ -3764,7 +3764,7 @@ int Game::InitGL(GLvoid)
//Setup screen
-#ifdef MAC
+#ifdef OS9
if(screenwidth<640||screenheight<480)
theScreen = SetupScreen( 640, 480 );
@@ -3853,7 +3853,7 @@ int Game::InitGL(GLvoid)
void Game::Dispose()
{
-#ifdef MAC
+#ifdef OS9
CleanupAGL( gOpenGLContext );
ShutdownScreen( theScreen );