aboutsummaryrefslogtreecommitdiff
path: root/Source/GameTick.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/GameTick.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/GameTick.cpp')
-rw-r--r--Source/GameTick.cpp20
1 files changed, 16 insertions, 4 deletions
diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp
index d21eeab..f506907 100644
--- a/Source/GameTick.cpp
+++ b/Source/GameTick.cpp
@@ -270,8 +270,12 @@ void Game::Tick(){
highscore=score;
- ofstream opstream(":Data:Highscore");
-
+#ifdef MAC
+ ofstream opstream(":Data:Highscore");
+#else
+ /* TODO */
+ ofstream opstream("Data/Highscore");
+#endif
opstream << highscore;
opstream << "\n";
@@ -298,8 +302,12 @@ void Game::Tick(){
highscore=score;
+#ifdef MAC
ofstream opstream(":Data:Highscore");
-
+#else
+ /* TODO */
+ ofstream opstream("Data/Highscore");
+#endif
opstream << highscore;
opstream << "\n";
@@ -392,8 +400,12 @@ void Game::Tick(){
highscore=score;
+#ifdef MAC
ofstream opstream(":Data:Highscore");
-
+#else
+ /* TODO */
+ ofstream opstream("Data/Highscore");
+#endif
opstream << highscore;
opstream << "\n";