From 2d776fcd61be168e1ff0ff2e4a5e71835e7cea19 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sat, 28 Jun 2008 16:38:35 +0000 Subject: - prekopanie adresarovej struktury, prva cast git-svn-id: http://opensvn.csie.org/tuxanci_ng@77 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/panel.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/client/panel.h (limited to 'src/client/panel.h') diff --git a/src/client/panel.h b/src/client/panel.h new file mode 100644 index 0000000..144ea02 --- /dev/null +++ b/src/client/panel.h @@ -0,0 +1,27 @@ + +#ifndef PANEL_H + +#define PANEL_H + +#include "base/main.h" +#include "base/list.h" + +#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_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 + +extern bool_t isPanelInicialized(); +extern void initPanel(); +extern void drawPanel(list_t *listTux); +extern void quitPanel(); + +#endif -- cgit v1.2.3