summaryrefslogtreecommitdiff
path: root/src/client/panel.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-05-23 15:41:18 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:11:32 +0200
commit4d4dae5cc3a2bf32421ad2d4255079eb1d731647 (patch)
tree064450f544b7ba8477cd8c5e51a8410a27a070c0 /src/client/panel.h
parentc2c1664831c48e841296eb85318f8a63f44856c8 (diff)
Rectified the coding style in client .h files
Diffstat (limited to 'src/client/panel.h')
-rw-r--r--src/client/panel.h30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/client/panel.h b/src/client/panel.h
index 94a55e0..8ae92b3 100644
--- a/src/client/panel.h
+++ b/src/client/panel.h
@@ -1,27 +1,25 @@
-
#ifndef PANEL_H
+#define PANEL_H
-# define PANEL_H
-
-# include "main.h"
-# include "list.h"
+#include "main.h"
+#include "list.h"
-# define PANEL_SCORE_LOCATION_X ( WINDOW_SIZE_X / 2 - w / 2 )
-# define PANEL_SCORE_LOCATION_Y ( WINDOW_SIZE_Y - 40 )
+#define PANEL_SCORE_LOCATION_X (WINDOW_SIZE_X / 2 - w / 2)
+#define PANEL_SCORE_LOCATION_Y (WINDOW_SIZE_Y - 40)
-# define PANEL_SHOT_WIDTH 4
-# define PANEL_SHOT_HEIGHT 8
+#define PANEL_SHOT_WIDTH 4
+#define PANEL_SHOT_HEIGHT 8
-# define PANEL_LOCATION_X 0
-# define PANEL_LOCATION_Y (WINDOW_SIZE_Y-g_panel->h)
+#define PANEL_LOCATION_X 0
+#define PANEL_LOCATION_Y (WINDOW_SIZE_Y - g_panel->h)
-# define PANEL_SHOT_FILL 0
-# define PANEL_SHOT_EMPTY 1
-# define PANEL_SHOT_LINE 2
+#define PANEL_SHOT_FILL 0
+#define PANEL_SHOT_EMPTY 1
+#define PANEL_SHOT_LINE 2
extern bool_t panel_is_inicialized();
extern void panel_init();
-extern void panel_draw(tux_t * tux_right, tux_t * tux_left);
+extern void panel_draw(tux_t *tux_right, tux_t *tux_left);
extern void panel_quit();
-#endif
+#endif /* PANEL_H */