diff options
| author | xHire <xhire@tuxportal.cz> | 2008-10-25 14:11:06 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2008-10-25 14:11:06 +0200 |
| commit | c8a9209d77a896bf49227e5aeccd54e91ccf29cc (patch) | |
| tree | 6b7367406ebbc6ce3ea5e0c8668c75f6fb3f6ae9 /src/client/panel.h | |
| parent | cb9deba915dd7b114eeb76601eb1c8b07c1ba90f (diff) | |
Changed style of the code to the K&R standard
Diffstat (limited to 'src/client/panel.h')
| -rw-r--r-- | src/client/panel.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/panel.h b/src/client/panel.h index cfc0b5e..6478f3b 100644 --- a/src/client/panel.h +++ b/src/client/panel.h @@ -1,23 +1,23 @@ #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 isPanelInicialized(); extern void initPanel(); |