summaryrefslogtreecommitdiff
path: root/src/client/panel.h
diff options
context:
space:
mode:
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 */