forked from KolibriOS/kolibrios
74e4f2673b
git-svn-id: svn://kolibrios.org@9566 a494cfbc-eb01-0410-851d-a64ba20cac60
34 lines
613 B
C
34 lines
613 B
C
#ifndef TEXT_HEADER
|
|
#define TEXT_HEADER
|
|
|
|
#define JAPANESE 0
|
|
#define ENGLISH 1
|
|
|
|
extern char gameLanguage;
|
|
|
|
typedef struct {
|
|
unsigned char x[32];
|
|
unsigned char y[32];
|
|
char length;
|
|
} Message;
|
|
|
|
extern Message* saving;
|
|
extern Message* saveError[3];
|
|
extern Message* itemName[41];
|
|
extern Message* found;
|
|
extern Message* itemDescription[28];
|
|
extern 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 |