aboutsummaryrefslogtreecommitdiff
path: root/src/map.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-05-20 16:41:03 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-05-20 16:41:03 -0300
commit42be37f4ad99fc8580415fed89939e305d56193e (patch)
tree41303aace3c214f925a43fec6a857f313196e38d /src/map.hh
parent7fe30185df21617cf44100f89db462cd4501050e (diff)
downloadgame-42be37f4ad99fc8580415fed89939e305d56193e.tar.gz
game-42be37f4ad99fc8580415fed89939e305d56193e.zip
implement `main.cc`, `shm.cc`, and `time.cc` + overall tweeks
Diffstat (limited to 'src/map.hh')
-rw-r--r--src/map.hh26
1 files changed, 26 insertions, 0 deletions
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