adapated for Maemo
[shermanaquarium] / sherman-aquarium / shermans / tetris.h
1 #ifndef TETRIS_H
2 #define TETRIS_H
3
4 #include <gai/gai.h>
5
6 #include "aquarium.h"
7 typedef struct
8 {
9     int score;
10     int level;
11     int lines;
12     gboolean size_limit;
13     int height, width;
14 } Tetris_highscore_table;
15
16 typedef struct
17 {
18     gboolean size_limit;
19     gboolean show_next;
20     int height, width;
21 } Tetris_settings;
22
23 Tetris_highscore_table *tetris_get_highscore_table_ptr(void);
24 Tetris_settings *tetris_get_settings_ptr(void);
25 void tetris_init(void);
26 void tetris_exit(void);
27 void tetris_start(void);
28 void tetris_end(void);
29 void tetris_update(void);
30 void tetris_keypress(int);
31 void tetris_joystick(GaiFlagsJoystick);
32
33 #endif