rodecomp/Source/UI/Shortcuts/ShortcutGrid.h
ragnarok-clanker 65f1505b15 Maintenance: Two evidenced fixes the regression gate refuses on noise. (1) fn_12616 @0x91C540 is a UIShortCutWnd member: mov esi,ecx;
Batch #17278 by ragnarok-clanker: forced by an admin (1 lower score(s), 9 changed function(s)); checked with 60 compiled unit(s), including every includer of Source/UI/Login/UINewSelectCharWnd.h, Source/UI/Shortcuts/ShortcutGrid.h, Source/UI/Shortcuts/UIShortCutWnd.h.
2026-11-11 20:15:40 +00:00

23 lines
583 B
C

#ifndef RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTGRID_H
#define RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTGRID_H
#include <cstddef>
struct ShortcutGrid {
/* 0154 */ int hovered;
/* 0158 */ int row;
/* 015C */ int rows;
// INLINED
ShortcutGrid() : hovered(-1), row(-1), rows(1) {
}
};
static_assert(sizeof(ShortcutGrid) == 12);
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(ShortcutGrid, hovered) + 0x0154 == 0x0154);
static_assert(offsetof(ShortcutGrid, row) + 0x0154 == 0x0158);
static_assert(offsetof(ShortcutGrid, rows) + 0x0154 == 0x015C);
#endif
#endif