]> git.jsancho.org Git - lugaru.git/blobdiff - Source/OpenGL_Windows.cpp
Changed paths in several files from OS9 style to POSIX-style to make it work better...
[lugaru.git] / Source / OpenGL_Windows.cpp
index f8f180c6aa38b3c7a8f7ce889355f12250869b69..3a508adf06f02f099e76279e19f3f0705f32587b 100644 (file)
@@ -568,7 +568,7 @@ Boolean SetUp (Game & game)
        randSeed = UpTime().lo;
 
        osx = 0;
-       ifstream ipstream(ConvertFileName(":Data:config.txt"), std::ios::in /*| std::ios::nocreate*/);
+       ifstream ipstream(ConvertFileName("/Data/config.txt"), std::ios::in /*| std::ios::nocreate*/);
        detail=1;
        ismotionblur=0;
        usermousesensitivity=1;
@@ -618,7 +618,7 @@ Boolean SetUp (Game & game)
        selectDetail(kContextWidth, kContextHeight, kBitsPerPixel, detail);
 
        if(!ipstream) {
-               ofstream opstream(ConvertFileName(":Data:config.txt", "w"));
+               ofstream opstream(ConvertFileName("/Data/config.txt", "w"));
                opstream << "Screenwidth:\n";
                opstream << kContextWidth;
                opstream << "\nScreenheight:\n";