rodecomp/Source/Resource/ImfResource.h
ragnarok-clanker f61f0747fa Decompile 2 functions in Source/Contents/MapSkyMgr.cpp, Source/Contents/MapSkyMgr.h, ...
Batch #1449 by Yommy: 2 byte-identical, 0 confirmed by peer review.

- fn_17872 CPathFinder::Height: byte-identical
- fn_17873 CPathFinder::Width: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/Contents/MapSkyMgr.cpp, Source/Contents/EquipmentResources.cpp, Source/Contents/Pathfinding.cpp, Source/Resource/ImfResource.cpp
2026-10-28 12:59:53 +00:00

29 lines
633 B
C++

#ifndef RAGNAROK_SOURCE_RESOURCE_IMFRESOURCE_H
#define RAGNAROK_SOURCE_RESOURCE_IMFRESOURCE_H
#include "Resource/Resource.h"
#include <vector>
struct ImfData {
/* 0000 */ std::vector<int> priority;
/* 000C */ std::vector<int> cx;
/* 0018 */ std::vector<int> cy;
};
class CImfRes : public CRes {
public:
bool Load(const char* name) override;
private:
/* 0110 */ std::vector<std::vector<ImfData>> m_imfData;
/* 011C */ int m_maxAction[15];
/* 0158 */ int m_maxMotion[15][104];
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(ImfData) == 36);
static_assert(sizeof(CImfRes) == 0x19B8);
#endif
#endif