summaryrefslogtreecommitdiff
path: root/csrc/land.h
blob: 33dd682458b4c551642024107d6dcee35f1f3ce6 (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
struct housing_land
{
	int16_t x, y;
	char name[]; // 0x04
	uint8_t price_status; // 0x17
	uint8_t type; // 0x18: chained store or house
	uint8_t owner; // 0x19
	uint8_t level; // 0x1a
	uint16_t land_price; // 0x1c
	uint16_t house_price; // 0x1e
	uint32_t flast; // 0x30
}; /* size is 0x34=52 */

struct business_land
{
	char name[]; // 0x04
	uint8_t type; // 0x18
	uint8_t owner; // 0x19
	uint8_t level; // 0x1a
	uint8_t price_status; // 0x1c
	uint16_t land_price; // 0x22
	uint16_t house_price; // 0x24
	uint32_t _; // 0x34
}; /* size is 0x38=56 */

extern struct housing_land *hlands; // @0x498e84
extern struct business_land *blands; // @0x498e88