blob: 231d327dbb7c07ad73a05e1ff2ef056ad84551fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef TEXT_HEADER
#define TEXT_HEADER
#define JAPANESE 0
#define ENGLISH 1
char gameLanguage;
typedef struct {
unsigned char x[32];
unsigned char y[32];
char length;
} Message;
Message* saving;
Message* saveError[3];
Message* itemName[41];
Message* found;
Message* itemDescription[28];
Message* dungeon[8];
void textInit();
void textFree();
void loadText();
int drawText(Message* m, int x, int y);
int drawCharacter(int cx, int cy, int x, int y);
void drawTextCentered(Message* m, int x, int y);
void setLanguage(char lan);
char getLanguage();
#endif
|