project_files/frontlib/frontlib.h
changeset 7320 e704706008d4
parent 7316 f7b49b2c5d84
child 7482 d70a5b0d1190
--- a/project_files/frontlib/frontlib.h	Thu Jul 05 22:22:48 2012 +0200
+++ b/project_files/frontlib/frontlib.h	Tue Jul 10 19:33:57 2012 +0200
@@ -29,20 +29,13 @@
 #include "ipc/gameconn.h"
 #include "ipc/mapconn.h"
 #include "net/netconn.h"
-
-#define FRONTLIB_SDL_ALREADY_INITIALIZED 1
+#include "util/logging.h"
 
 /**
  * Call this function before anything else in this library.
- *
- * If the calling program uses SDL, it needs to call SDL_Init before initializing
- * this library and then pass FRONTLIB_SDL_ALREADY_INITIALIZED as flag to this function.
- *
- * Otherwise, pass 0 to let this library handle SDL_Init an SDL_Quit itself.
- *
  * Returns 0 on success, -1 on error.
  */
-int flib_init(int flags);
+int flib_init();
 
 /**
  * Free resources associated with the library. Call this function once