kolibrios/contrib/games/hydracastlelabyrinth/src/text.h
turbocat 74e4f2673b Added port HydraCastleLabyrinth.
git-svn-id: svn://kolibrios.org@9566 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-03 16:16:46 +00:00

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