From 4d4dae5cc3a2bf32421ad2d4255079eb1d731647 Mon Sep 17 00:00:00 2001 From: xHire Date: Sat, 23 May 2009 15:41:18 +0200 Subject: Rectified the coding style in client .h files --- src/client/panel.h | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'src/client/panel.h') 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 */ -- cgit v1.2.3