summaryrefslogtreecommitdiff
path: root/src/screen/setting.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-05-19 12:41:49 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:09:50 +0200
commit676600a83becf1d8da0ba8f7a56fa8ce544fe7ce (patch)
tree4a9009ac3c781585d502342c15a0a7de0129f414 /src/screen/setting.h
parentafb63da1374aadd4a5feccff020e65b616d9b84a (diff)
Rectified the coding style in screen .h files
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 */