Subversion Repositories Kolibri OS

Rev

Rev 5225 | Details | Compare with Previous | Last modification | View Log | RSS feed

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