diff options
Diffstat (limited to 'Source/GameInitDispose.cpp')
| -rw-r--r-- | Source/GameInitDispose.cpp | 13 |
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"; |
