Subversion Repositories Kolibri OS

Rev

Rev 5237 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5235 alpine 1
#ifndef RS_GAMETEXT_H
2
#define RS_GAMETEXT_H
3
 
4
#include "rsgame.h"
5
 
6
#define GAME_COLORS_COUNT   8
7
 
5242 alpine 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
5235 alpine 25
 
26
 
27
void game_font_init();
28
void game_font_term();
29
 
30
void game_textout(int x, int y, int font_index, char* s);
5242 alpine 31
void game_textout_at_center(int x, int y, int font_index, char *s);
5235 alpine 32
void game_textout_adv(rs_texture_t *dest, int x, int y, int font_index, int draw_mode, char* s);
33
 
34
#endif