X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSettings.cpp;h=71b7581bd77ce6683c386e20a582a8100ba79e77;hb=56623d20eeb3e38bcc30e9a8fd02ab3bf4f7f994;hp=7e62341d4b70bd1b5b6d4289b20eb19e66fa4455;hpb=735daf95aba0eef54d151daae01285f0959825d0;p=lugaru.git diff --git a/Source/Settings.cpp b/Source/Settings.cpp index 7e62341..71b7581 100644 --- a/Source/Settings.cpp +++ b/Source/Settings.cpp @@ -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