mirror of
https://github.com/zeldaret/st
synced 2026-05-23 15:01:41 -04:00
34ef65d030
* delink mapobj profile * match base mapobjectprofile classes * match other sections (+ accidental mapobject ctor match)
20 lines
445 B
C++
20 lines
445 B
C++
#pragma once
|
|
|
|
#include "types.h"
|
|
|
|
typedef u32 MapObjectId;
|
|
enum MapObjectId_ {
|
|
MapObjectId_None = 0,
|
|
#define DEFINE_MAP_OBJECT_TYPE(id, name) MapObjectId_##name = id,
|
|
#include "Map/MapObjectTable.inl"
|
|
#undef DEFINE_MAP_OBJECT_TYPE
|
|
};
|
|
|
|
typedef u32 MapObjectIndex;
|
|
enum MapObjectIndex_ {
|
|
#define DEFINE_MAP_OBJECT_TYPE(id, name) MapObjectIndex_##name,
|
|
#include "Map/MapObjectTable.inl"
|
|
#undef DEFINE_MAP_OBJECT_TYPE
|
|
MapObjectIndex_Max,
|
|
};
|