Rev 5242 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5242 | Rev 5324 | ||
---|---|---|---|
1 | #ifndef RS_GAMETEXT_H |
1 | #ifndef RS_GAMETEXT_H |
2 | #define RS_GAMETEXT_H |
2 | #define RS_GAMETEXT_H |
3 | 3 | ||
4 | #include "rsgame.h" |
4 | #include "rsgame.h" |
5 | 5 | ||
6 | #define GAME_COLORS_COUNT 8 |
6 | #define GAME_COLORS_COUNT 8 |
7 | - | ||
8 | //#define GAME_COLOR_BLACK 0 |
- | |
9 | //#define GAME_COLOR_WHITE 1 |
- | |
10 | //#define GAME_COLOR_YELLOW 2 |
- | |
11 | //#define GAME_COLOR_RED 3 |
- | |
12 | //#define GAME_COLOR_BLUE 4 |
- | |
13 | //#define GAME_COLOR_ORANGE 5 |
- | |
14 | //#define GAME_COLOR_GRAY 6 |
- | |
15 | //#define GAME_COLOR_GREEN 7 |
- | |
16 | // |
- | |
17 | //#define GAME_FONT_DEFAULT 0 |
- | |
18 | //#define GAME_FONT_HEAVY 1 |
- | |
19 | //#define GAME_FONT_TITLE 2 |
- | |
20 | //#define GAME_FONT_LIGHT 3 |
- | |
21 | // |
- | |
22 | //#define GAME_ALIGN_LEFT 0 |
- | |
23 | //#define GAME_ALIGN_CENTER 1 |
- | |
24 | //#define GAME_ALIGN_RIGHT 2 |
7 | |
25 | 8 | ||
26 | 9 | ||
27 | void game_font_init(); |
10 | void game_font_init(); |
28 | void game_font_term(); |
11 | void game_font_term(); |
29 | 12 | ||
30 | void game_textout(int x, int y, int font_index, char* s); |
13 | void game_textout(int x, int y, int font_index, char* s); |
31 | void game_textout_at_center(int x, int y, int font_index, char *s); |
14 | void game_textout_at_center(int x, int y, int font_index, char *s); |
32 | void game_textout_adv(rs_texture_t *dest, int x, int y, int font_index, int draw_mode, char* s); |
15 | void game_textout_adv(rs_texture_t *dest, int x, int y, int font_index, int draw_mode, char* s); |
33 | 16 | ||
34 | #endif |
17 | #endif |