Batch #11887 by Yommy: 4 byte-identical, 0 confirmed by peer review. - fn_12632 UIShortCutWnd::Move: byte-identical - fn_12762 UISubChatMiniWnd::SendMsg: byte-identical - fn_12766 UIShortCutWnd::Show: byte-identical - fn_12528 UIShortCutWnd::UIShortCutWnd: byte-identical (already on main) Merged automatically: every function is byte-identical to the original.
25 lines
661 B
C
25 lines
661 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) {
|
|
}
|
|
|
|
int HitTest(int x, int y, bool itemSlotActive, unsigned char& currentRow);
|
|
};
|
|
|
|
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
|