3
* An Idea and Atari version: LK Avalon, Janusz Pelc, 1989
4
* Linux Code: Arkadiusz Lipiec, 2002-2009
5
* <arkadiusz.lipiec@gmail.com>
7
* <thunorsif@hotmail.com>
9
* GNU Robbo is free software - you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2, or (at your option)
14
* GNU Robbo is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the impled warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with GNU CC; see the file COPYING. If not, write to the
21
* Free Software Foundation, 59 Temple Place - Suite 330,
22
* Boston, MA 02111-1307, USA.
27
/* These dictate what gets redrawn */
28
#define REDRAW_INITIALISE 3
29
#define REDRAW_EVERYTHING 2
30
#define REDRAW_INTERMEDIATE 1
31
#define REDRAW_ANIMATED 0
33
/* Scoreline redraw bits */
34
#define SCORELINE_ICONS 1
35
#define SCORELINE_SCREWS 2
36
#define SCORELINE_KEYS 4
37
#define SCORELINE_BULLETS 8
38
#define SCORELINE_LEVEL 16
39
#define SCORELINE_PACK 32
40
#define SCORELINE_AUTHOR 64
48
int redraw; /* An ORed combination of SCORELINE_* bits */
60
int fullscreen; /* 0 or SDL_FULLSCREEN */
63
/* Function prototypes */
64
void show_game_area(int redrawlevel);
65
void show_game_area_fade(int redrawlevel, int type);
66
SDL_Rect set_rect(int x, int y, int w, int h);
67
int set_video_mode(void);
68
void toggle_fullscreen(int *fullscreen);
69
void show_level_colour(int debug_colour_select_r, int debug_colour_select_g, int debug_colour_select_b, int debug_colour_select_component);
70
void inc_colour_component(int *colour_component);
71
void dec_colour_component(int *colour_component);
72
void show_introscreen(int redrawlevel);
73
void show_helpscreen(int redrawlevel);
74
void show_optionsscreen(int redrawlevel);
75
void show_message_box(int redrawlevel, char *name, int timeout, char *message, int dynamic, int width, int height);
76
void show_endscreen(void);