projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable collision detection when tux is falling down because he is dead
[supertux.git]
/
src
/
supertux.cpp
diff --git
a/src/supertux.cpp
b/src/supertux.cpp
index
088222f
..
23a3fcf
100644
(file)
--- a/
src/supertux.cpp
+++ b/
src/supertux.cpp
@@
-23,6
+23,7
@@
#include <cctype>
#include <iostream>
#include <exception>
#include <cctype>
#include <iostream>
#include <exception>
+#include <locale.h>
#include "utils/exceptions.h"
#include "defines.h"
#include "utils/exceptions.h"
#include "defines.h"
@@
-48,14
+49,9
@@
int main(int argc, char * argv[])
try {
#endif
config = new MyConfig;
try {
#endif
config = new MyConfig;
- setlocale(LC_ALL, "");
- (void) bindtextdomain(PACKAGE, LOCALEDIR);
- (void) textdomain(PACKAGE);
- (void) bind_textdomain_codeset(PACKAGE, "ISO-8859-1");
+
+ Setup::init(PACKAGE_NAME, PACKAGE_NAME, PACKAGE_VERSION);
- Setup::info(PACKAGE_NAME, PACKAGE, PACKAGE_VERSION);
-
- Setup::directories();
Setup::parseargs(argc, argv);
Setup::audio();
Setup::parseargs(argc, argv);
Setup::audio();