]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Settings.cpp
Set swap interval via SDL, enable by default
[lugaru.git] / Source / Settings.cpp
index 7e62341d4b70bd1b5b6d4289b20eb19e66fa4455..71b7581bd77ce6683c386e20a582a8100ba79e77 100644 (file)
@@ -28,7 +28,7 @@ void DefaultSettings(Game &game) {
        velocityblur=0;
        volume = 0.8f;
        ambientsound=1;
-       vblsync=0;
+       vblsync=1;
        debugmode=0;
        
        game.crouchkey=SDLK_LSHIFT;
@@ -141,6 +141,7 @@ bool LoadSettings(Game &game) {
        printf("Loading config\n");
        while(!ipstream.eof()) {
                ipstream.getline( setting, sizeof(setting) );
+               printf("setting : %s\n",setting);
                
                // skip blank lines
                // assume lines starting with spaces are all blank