diff options
| author | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 07:32:05 +0000 |
|---|---|---|
| committer | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 07:32:05 +0000 |
| commit | 9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844 (patch) | |
| tree | 576ac516d0a8660965d82b797610ed466dd0b88c /Source/GameTick.cpp | |
| parent | edf4f6f6883b8bf54a7839987044842684e5a66e (diff) | |
| download | blackshades-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.cpp | 20 |
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"; |
