Alchemy
Loading...
Searching...
No Matches

djinn_menu.h File Reference

The Djinn menu: its list tables, backdrop and work, and the fields of a Djinni's list entry. More...

Go to the source code of this file.

Data Structures

struct  DjinnListTable
 The Djinn menu's lists: each party member's Djinn entries and their count. More...
struct  DjinnMenuBackdrop
 The Djinn menu's lists, the field tiles and palette it restores on closing, and the tutorial's state. More...
struct  DjinnMenuWork
 The Djinn menu's work, in the HEAP_SLOT_MENU work slot. More...

Macros

#define DJINN_ENTRY_INDEX   31
#define DJINN_ENTRY_ELEMENT   0xe0
#define DJINN_ENTRY_OWNER   0xf00
#define DJINN_ENTRY_IS_SET   0x8000
#define DJINN_ELEMENTS   4
#define DJINN_PER_ELEMENT   20
#define DJINN_LIST_OWNERS   8
#define DJINN_LIST_ROWS   10

Functions

 STATIC_ASSERT (offsetof(struct DjinnMenuWork, statusWindow)==0x10)
 STATIC_ASSERT (offsetof(struct DjinnMenuWork, selectedColumn)==0x1c)
 STATIC_ASSERT (offsetof(struct DjinnMenuWork, ownerX)==0x134)
 STATIC_ASSERT (offsetof(struct DjinnMenuWork, ownerY)==0x144)
 STATIC_ASSERT (offsetof(struct DjinnMenuWork, selection)==0x174)
 STATIC_ASSERT (offsetof(struct DjinnMenuWork, pending)==0x220)
 STATIC_ASSERT (offsetof(struct DjinnMenuWork, pairIndex)==0x254)
 STATIC_ASSERT (offsetof(struct DjinnMenuBackdrop, tutorialTimer)==0x2128)
 STATIC_ASSERT (offsetof(struct DjinnMenuBackdrop, tutorialStep)==0x212c)

Detailed Description

The Djinn menu: its list tables, backdrop and work, and the fields of a Djinni's list entry.

Definition in file djinn_menu.h.

Macro Definition Documentation

◆ DJINN_ENTRY_INDEX

#define DJINN_ENTRY_INDEX   31

Definition at line 12 of file djinn_menu.h.

Referenced by DjinnMenu_DrawElementList().

◆ DJINN_ENTRY_ELEMENT

#define DJINN_ENTRY_ELEMENT   0xe0

Definition at line 13 of file djinn_menu.h.

Referenced by DjinnMenu_DrawElementList().

◆ DJINN_ENTRY_OWNER

#define DJINN_ENTRY_OWNER   0xf00

Definition at line 14 of file djinn_menu.h.

Referenced by DjinnMenu_DrawElementList().

◆ DJINN_ENTRY_IS_SET

#define DJINN_ENTRY_IS_SET   0x8000

◆ DJINN_ELEMENTS

#define DJINN_ELEMENTS   4

Definition at line 17 of file djinn_menu.h.

Referenced by DjinnMenu_DrawElementList().

◆ DJINN_PER_ELEMENT

#define DJINN_PER_ELEMENT   20

Definition at line 18 of file djinn_menu.h.

◆ DJINN_LIST_OWNERS

#define DJINN_LIST_OWNERS   8

Definition at line 19 of file djinn_menu.h.

◆ DJINN_LIST_ROWS

#define DJINN_LIST_ROWS   10

Definition at line 20 of file djinn_menu.h.

Referenced by DjinnMenu_BuildLists().

Function Documentation

◆ STATIC_ASSERT() [1/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, statusWindow) = =0x10)

◆ STATIC_ASSERT() [2/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, selectedColumn) = =0x1c)

◆ STATIC_ASSERT() [3/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, ownerX) = =0x134)

◆ STATIC_ASSERT() [4/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, ownerY) = =0x144)

◆ STATIC_ASSERT() [5/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, selection) = =0x174)

◆ STATIC_ASSERT() [6/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, pending) = =0x220)

◆ STATIC_ASSERT() [7/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuWork, pairIndex) = =0x254)

◆ STATIC_ASSERT() [8/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuBackdrop, tutorialTimer) = =0x2128)

◆ STATIC_ASSERT() [9/9]

STATIC_ASSERT ( offsetof(struct DjinnMenuBackdrop, tutorialStep) = =0x212c)