summaryrefslogtreecommitdiff
path: root/src/screen/setting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen/setting.h')
-rw-r--r--src/screen/setting.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/screen/setting.h b/src/screen/setting.h
index e98aa01..c29e6a9 100644
--- a/src/screen/setting.h
+++ b/src/screen/setting.h
@@ -1,13 +1,11 @@
+#ifndef SCREEN_SETTING_H
+#define SCREEN_SETTING_H
-#ifndef SCREEN_SETTING
+#include "main.h"
-# define SCREEN_SETTING
-
-# include "main.h"
-
-# define NAME_AI "TuxBot"
-# define NAME_PLAYER_RIGHT "Name1"
-# define NAME_PLAYER_LEFT "Name2"
+#define NAME_AI "TuxBot"
+#define NAME_PLAYER_RIGHT "Name1"
+#define NAME_PLAYER_LEFT "Name2"
extern void setting_init();
extern void setting_draw();
@@ -19,4 +17,5 @@ extern bool_t setting_is_ai();
extern bool_t setting_is_any_item();
extern bool_t setting_is_item(int item);
extern void setting_quit();
-#endif
+
+#endif /* SCREEN_SETTING_H */