From d2eb32efe2df9e570e491b08d4ecf50da35f1b75 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Mon, 2 Jun 2025 18:17:10 -0300 Subject: impl some spells and create `info.cc` --- src/info.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/info.hh (limited to 'src/info.hh') diff --git a/src/info.hh b/src/info.hh new file mode 100644 index 0000000..f94ef0e --- /dev/null +++ b/src/info.hh @@ -0,0 +1,13 @@ +#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; + +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_ -- cgit v1.2.3