From 9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844 Mon Sep 17 00:00:00 2001 From: relnev Date: Wed, 8 Jan 2003 07:32:05 +0000 Subject: rename the alut functions so we can fix the filenames (and since the functions are in cvs but WAVFile is not exactly the same). sad hacks for o/ifstream filenames... git-svn-id: svn://svn.icculus.org/blackshades/trunk@43 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/GameInitDispose.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Source/GameInitDispose.cpp') diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index 76b0f32..030e487 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -3707,17 +3707,24 @@ int Game::InitGL(GLvoid) //Read high score - +#ifdef MAC ifstream ipstream2(":Data:Highscore"); - +#else + /* TODO */ + ifstream ipstream2("Data/Highscore"); +#endif if(!ipstream2) { highscore=0; beatgame=0; +#ifdef MAC ofstream opstream(":Data:Highscore"); - +#else + /* TODO */ + ofstream opstream("Data/Highscore"); +#endif opstream << highscore; opstream << "\n"; -- cgit v1.2.3