-
Notifications
You must be signed in to change notification settings - Fork 9
/
frontend.h
71 lines (66 loc) · 2.01 KB
/
frontend.h
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//typedef char UBYTE;
//typedef short SHORT;
//typedef unsigned short USHORT;
//typedef long LONG;
//typedef unsigned long ULONG;
#define SPRITE_DATA_32 8320L
#define BLK_DATA 33600L
#define BACK_SCREEN 32000L
#define SCREEN_SIZE 32000L
#define COPPER_LIST 300L
#define FLAT_BLOCK 15
#define WATER_BLOCK 0
#define FARM_BLOCK 31
#define SWAMP_BLOCK 53
#define FIRST_TOWN 32
#define LAST_TOWN 42
#define CITY_TOWER 41
#define CITY_CENTRE 42
#define CITY_WALL1 43
#define CITY_WALL2 44
#define CROSS_BLOCK 45
#define SKULL_BLOCK 46
#define ROCK_BLOCK 47
#define LAST_ROCK_BLOCK 49
#define TREE_BLOCK 50
#define LAST_TREE_BLOCK 52
#define FIRST_RUIN_TOWN 54
#define BAD_LAND 66
#define FLAG_SPRITE 64
#define SHIELD_SPRITE 68
#define GODS_HAND_SPRITE 78
#define ANHK_SPRITE 80
#define SKULL_SPRITE 81
#define DEVILS_HAND_SPRITE 79
#define SWAMP_HAND_SPRITE 83
#define PLAGUE_HAND_SPRITE 82
#define CROSSHAIR_SPRITE 84
#define MANA_SPRITE 69
#define VICTORY_SPRITE 85
#define LAST_VICTORY_SPRITE 88
#define FIRST_WATER_SPRITE 93
#define LAST_WATER_SPRITE 96
#define FIRST_WAIT_SPRITE 101
#define LAST_WAIT_SPRITE 102
#define FIRST_KNIGHT_WATER 109
#define LAST_KNIGHT_WATER 112
#define KNIGHT_WAITS 125
#define TITLE_SPRITE 129
#define BLUE_VS_RED 138
#define BLUE_VS_PEEP 130
#define RED_VS_PEEP 134
struct w_walker
{
SHORT image; /* sprite image */
SHORT pos; /* position in from array */
SHORT frame; /* their paling frame */
SHORT direction; /* their direction */
SHORT where; /* where they are now */
SHORT count; /* no of count frames */
SHORT special;
};
struct b_building
{
SHORT which;
SHORT where;
};