aboutsummaryrefslogtreecommitdiff
path: root/Source/GameInitDispose.cpp
diff options
context:
space:
mode:
authorrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-08 07:32:05 +0000
committerrelnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f>2003-01-08 07:32:05 +0000
commit9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844 (patch)
tree576ac516d0a8660965d82b797610ed466dd0b88c /Source/GameInitDispose.cpp
parentedf4f6f6883b8bf54a7839987044842684e5a66e (diff)
downloadblackshades-9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844.tar.gz
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
Diffstat (limited to 'Source/GameInitDispose.cpp')
-rw-r--r--Source/GameInitDispose.cpp13
1 files changed, 10 insertions, 3 deletions
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";