summaryrefslogtreecommitdiff
path: root/src/base/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/main.h')
-rw-r--r--src/base/main.h52
1 files changed, 25 insertions, 27 deletions
diff --git a/src/base/main.h b/src/base/main.h
index 8ea3afa..fb23218 100644
--- a/src/base/main.h
+++ b/src/base/main.h
@@ -1,34 +1,31 @@
-
#ifndef MAIN_H
-# define MAIN_H
-# define WINDOW_SIZE_X 800
-# define WINDOW_SIZE_Y 600
-# ifdef NLS
-# define _(text) gettext(text)
-# else
-# define _(text) (text)
-# endif
-
-# ifdef NLS
-# include <libintl.h>
-# include <locale.h>
-# endif
-# include "bool.h"
-# include "string_length.h"
-# include "path.h"
-
-
-//#define SUPPORT_OPENGL
+#define MAIN_H
-#ifdef DEBUG
-#define DEBUG_MSG(msg,arg...) printf(msg, ##arg)
-#endif
+#ifdef NLS
+#include <libintl.h>
+#include <locale.h>
+#endif /* NLS */
+
+#include "bool.h"
+#include "string_length.h"
+#include "path.h"
+
+#define WINDOW_SIZE_X 800
+#define WINDOW_SIZE_Y 600
-#ifndef DEBUG
+#ifdef NLS
+#define _(text) gettext(text)
+#else /* NLS */
+#define _(text) (text)
+#endif /* NLS */
+
+#ifdef DEBUG
+#define DEBUG_MSG(msg,arg...) printf(msg, ##arg)
+#else /* DEBUG */
#define DEBUG_MSG(msg,arg...)
-#endif
+#endif /* DEBUG */
-#define UNUSED(var) if( 0 && var ){}
+#define UNUSED(var) if (0 && var) {}
extern char *getParam(char *s);
@@ -39,4 +36,5 @@ extern int *newInt(int x);
extern int isFillPath(const char *path);
extern void accessExistFile(const char *s);
extern int tryExistFile(const char *s);
-#endif
+
+#endif /* MAIN_H */