diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-05-20 16:41:03 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-05-20 16:41:03 -0300 |
| commit | 42be37f4ad99fc8580415fed89939e305d56193e (patch) | |
| tree | 41303aace3c214f925a43fec6a857f313196e38d /src/map.hh | |
| parent | 7fe30185df21617cf44100f89db462cd4501050e (diff) | |
| download | game-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.hh | 26 |
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 |
