- just doing some C++ifying
[supertux.git] / src / supertux.cpp
index 62f96b8..c9e22aa 100644 (file)
 #include "resources.h"
 #include "screen/texture.h"
 #include "tile.h"
+#include "gettext.h"
 
 int main(int argc, char * argv[])
 {
 #ifndef DEBUG
   try {
 #endif
+    setlocale(LC_ALL, "");
+    bindtextdomain(PACKAGE, LOCALEDIR);
+    textdomain(PACKAGE);
+    bind_textdomain_codeset(PACKAGE, "ISO-8859-1");
+      
     st_directory_setup();
     parseargs(argc, argv);
 
@@ -69,7 +75,7 @@ int main(int argc, char * argv[])
     }
 
     SDL_FillRect(screen, 0, 0);
-    SDL_Flip(screen);
+    //SDL_Flip(screen);
 
     unloadshared();
     st_general_free();