dos33fsprogs/gr-sim/tfv_zp.h

46 lines
823 B
C
Raw Normal View History

2017-08-13 00:15:34 +00:00
/* Page Zero */
#define COLOR1 0x00
#define COLOR2 0x01
#define MATCH 0x02
#define XX 0x03
#define YY 0x04
#define YADD 0x05
#define LOOP 0x06
#define MEMPTRL 0x07
#define MEMPTRH 0x08
#define DISP_PAGE 0x09
#define DRAW_PAGE 0x0a
/* stats */
extern unsigned char level;
extern unsigned char hp,max_hp;
extern unsigned char limit;
extern unsigned char money,experience;
extern unsigned char time_hours,time_minutes;
extern unsigned char items1,items2;
extern unsigned char steps;
/* location */
extern unsigned char map_x;
extern char tfv_x,tfv_y;
extern unsigned char ground_color;
2017-08-13 19:38:49 +00:00
extern char nameo[9];
2017-08-13 00:15:34 +00:00
int opening(void);
2017-08-13 00:52:18 +00:00
int title(void);
2017-08-13 19:38:49 +00:00
int flying(void);
void game_over(void);
void show_map(void);
void print_info(void);
void print_help(void);
2017-08-16 18:46:45 +00:00
int name_screen(void);
2017-08-13 19:38:49 +00:00
int do_battle(void);
2017-08-16 18:46:45 +00:00
int world_map(void);