Batch #1067 by ragnarok-clanker: no function's compiled code changes; checked with 83 compiled unit(s), including every includer of Source/Resource/Audio/WaveResource.h, Source/Resource/BinkRuntime.h, Source/Resource/Bitmap/BitmapResource.h, Source/Resource/Bitmap/IJL15Runtime.h, Source/Resource/Models/ModelResource.h, Source/Resource/Resource.h, Source/Resource/ResourceAliases.h, Source/Resource/Sprites/ActionResource.h, Source/Resource/World/WorldResource.h.
21 lines
521 B
C++
21 lines
521 B
C++
#ifndef RAGNAROK_SOURCE_RESOURCE_RESOURCEALIASES_H
|
|
#define RAGNAROK_SOURCE_RESOURCE_RESOURCEALIASES_H
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
struct ResourceAliases {
|
|
/* 0044 */ std::map<std::string, std::string> names;
|
|
|
|
const char* Resolve(const char* name) const;
|
|
std::string ResolveMapName(const char* name) const;
|
|
void Load(int option);
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(ResourceAliases) == 0x08);
|
|
#endif
|
|
|
|
std::string AddResourcePrefix(const char* name, const char* prefix);
|
|
|
|
#endif
|