93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
extern SDL_Surface*screen;
extern Uint16 picture_size;
extern int left_margin;
void init_palette(void);
void init_screen(void);
void load_pictures(void);
// Use only when screen is unlocked
void draw_picture(int x,int y,Uint16 img);
void draw_cell(int x,int y);
// Use only when screen is locked
void draw_text(int x,int y,const unsigned char*t,int bg,int fg);
|
>
|
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
extern SDL_Surface*screen;
extern Uint16 picture_size;
extern int left_margin;
void init_palette(void);
void init_screen(void);
void load_pictures(void);
void set_code_page(Uint16 n);
// Use only when screen is unlocked
void draw_picture(int x,int y,Uint16 img);
void draw_cell(int x,int y);
// Use only when screen is locked
void draw_text(int x,int y,const unsigned char*t,int bg,int fg);
|