Alchemy
Loading...
Searching...
No Matches

resource_menu.h File Reference

The resource menu's entries and work. More...

Go to the source code of this file.

Data Structures

struct  ResourceMenuEntry
 A command icon of the resource menu: its OAM attributes, its place and its VRAM cache slot. More...
struct  ResourceMenuWork
 The resource menu: up to six command icons in a row, the windows of their labels, the icons' resource ids, the selection and the layout. More...

Functions

 STATIC_ASSERT (sizeof(struct ResourceMenuEntry)==0x14)
 STATIC_ASSERT (offsetof(struct ResourceMenuEntry, slot)==0x12)
 STATIC_ASSERT (sizeof(struct ResourceMenuWork)==0x98)
 STATIC_ASSERT (offsetof(struct ResourceMenuWork, window)==0x78)
 STATIC_ASSERT (offsetof(struct ResourceMenuWork, selection)==0x8c)
 STATIC_ASSERT (offsetof(struct ResourceMenuWork, resourceBase)==0x92)
 STATIC_ASSERT (offsetof(struct ResourceMenuWork, previousMode)==0x96)

Variables

struct ResourceMenuWork * gMenuSelectWork

Detailed Description

The resource menu's entries and work.

Definition in file resource_menu.h.

Function Documentation

◆ STATIC_ASSERT() [1/7]

STATIC_ASSERT ( sizeof(struct ResourceMenuEntry) = =0x14)

◆ STATIC_ASSERT() [2/7]

STATIC_ASSERT ( offsetof(struct ResourceMenuEntry, slot) = =0x12)

◆ STATIC_ASSERT() [3/7]

STATIC_ASSERT ( sizeof(struct ResourceMenuWork) = =0x98)

◆ STATIC_ASSERT() [4/7]

STATIC_ASSERT ( offsetof(struct ResourceMenuWork, window) = =0x78)

◆ STATIC_ASSERT() [5/7]

STATIC_ASSERT ( offsetof(struct ResourceMenuWork, selection) = =0x8c)

◆ STATIC_ASSERT() [6/7]

STATIC_ASSERT ( offsetof(struct ResourceMenuWork, resourceBase) = =0x92)

◆ STATIC_ASSERT() [7/7]

STATIC_ASSERT ( offsetof(struct ResourceMenuWork, previousMode) = =0x96)

Variable Documentation

◆ gMenuSelectWork