summaryrefslogtreecommitdiff
path: root/src/client/panel.h
blob: 6eadd927b6f6617b9dffbbe91d512b139fc83cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

#ifndef PANEL_H

#define PANEL_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_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(tux_t *tux_right, tux_t *tux_left);
extern void quitPanel();

#endif