aboutsummaryrefslogtreecommitdiff
path: root/src/info.hh
blob: d3bd6259cb49f485fd1768f7ba82e961f4087ef6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef TIBIA_INFO_HH_
#define TIBIA_INFO_HH_ 1

#include "common.hh"
#include "map.hh"

// TODO(fusion): Probably move to `houses.hh` when we implement it?
constexpr uint16 HOUSEID_ANY = 0xFFFF;
enum HouseList: uint8 {
	GUESTLIST = 1,
	SUBOWNERLIST = 2,
	DOORLIST = 3,
};

bool JumpPossible(int x, int y, int z, bool AvoidPlayers);
bool SearchFreeField(int *x, int *y, int *z, int Distance, uint16 HouseID, bool Jump);

#endif //TIBIA_INFO_HH_