From 42be37f4ad99fc8580415fed89939e305d56193e Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 20 May 2025 16:41:03 -0300 Subject: implement `main.cc`, `shm.cc`, and `time.cc` + overall tweeks --- src/map.hh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/map.hh (limited to 'src/map.hh') diff --git a/src/map.hh b/src/map.hh new file mode 100644 index 0000000..7bef02b --- /dev/null +++ b/src/map.hh @@ -0,0 +1,26 @@ +#ifndef TIBIA_MAP_HH_ +#define TIBIA_MAP_HH_ 1 + +#include "main.hh" + +// TODO(fusion): I'm not sure whether to put these. + +struct Object { + uint32 ObjectID; +}; + +constexpr Object NONE = {}; + +struct ObjectType { + int TypeID; +}; + +struct TObjectType { + char *Name; + char *Description; + uint8 Flags[9]; + uint32 Attributes[62]; + int AttributeOffsets[18]; +}; + +#endif //TIBIA_MAP_HH_ \ No newline at end of file -- cgit v1.2.3