diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-02 18:17:10 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-02 18:21:54 -0300 |
| commit | d2eb32efe2df9e570e491b08d4ecf50da35f1b75 (patch) | |
| tree | 6097d7f49e6a294f8b216fb6ea13e8aa6184e83e /src/info.hh | |
| parent | 3f85ce3cfb46adee8caf890a8369cd7cd7814874 (diff) | |
| download | game-d2eb32efe2df9e570e491b08d4ecf50da35f1b75.tar.gz game-d2eb32efe2df9e570e491b08d4ecf50da35f1b75.zip | |
impl some spells and create `info.cc`
Diffstat (limited to 'src/info.hh')
| -rw-r--r-- | src/info.hh | 13 |
1 files changed, 13 insertions, 0 deletions
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_ |
