41#define RESOURCE_ID_TYPE(type) struct type : public Resources::ResourceUnknownId { \
43 constexpr type(const Resources::ResourceUnknownId& res) : Resources::ResourceUnknownId(res) {};\
44 constexpr type(const Resources::ResourceId& res) : Resources::ResourceUnknownId(res.resourceId, res.generation) {};\
45 constexpr type(const Ids::Id24 id, const Ids::Id8 generation) : Resources::ResourceUnknownId(id, generation) {};\
46 constexpr type(const Ids::Id32 id) : Resources::ResourceUnknownId(Ids::Index(id), Ids::Generation(id)) {};\
48 static constexpr type Invalid##type = Resources::InvalidResourceUnknownId;
A StringAtom.
Definition stringatom.h:22
#define ID_24_8_NAMED_TYPE(x, id24_name, id8_name, combined_name)
Definition id.h:109
#define ID_24_8_24_8_NAMED_TYPE(x, id24_0_name, id8_0_name, id24_1_name, id8_1_name, combined0_name, combined1_name)
Definition id.h:73
A resource is a container for some type of file which is loaded.
Definition resource.cc:9
Util::StringAtom ResourceName
Definition resourceid.h:33
Definition resourceid.h:37