projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed a bug in my last effects removal, improved the algo to determine if a badguy...
[supertux.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
8c3d7f8
..
3907d4e
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-18,6
+18,7
@@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#include <config.h>
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#include <config.h>
+#include <assert.h>
#include "main.h"
#include "main.h"
@@
-30,6
+31,7
@@
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>
+#include <assert.h>
#ifndef WIN32
#include <libgen.h>
#endif
#ifndef WIN32
#include <libgen.h>
#endif
@@
-49,6
+51,10
@@
#include "game_session.h"
#include "file_system.h"
#include "game_session.h"
#include "file_system.h"
+#ifdef WIN32
+#define mkdir(dir, mode) mkdir(dir)
+#endif
+
SDL_Surface* screen = 0;
JoystickKeyboardController* main_controller = 0;
TinyGetText::DictionaryManager dictionary_manager;
SDL_Surface* screen = 0;
JoystickKeyboardController* main_controller = 0;
TinyGetText::DictionaryManager dictionary_manager;