Skip to Content
The Alchemy Project

struct SELECTION_STATE

The state block of HEAP_SLOT_SELECTION_STATE (SelectionStateWork): two VRAM cache entries with their flags and a window, among fields nothing here uses. More…

Declared in window_shortcuts.c.

Fields

NameDescription
Uint8unusedBeforeFirst [70]
Uint16firstActivenonzero when firstResource is a VRAM cache entry to free on release
Uint16firstResourcea VRAM cache entry
Uint8unusedBetweenResources [850 - 74]
Uint16secondActivenonzero when secondResource is a VRAM cache entry to free on release
Uint16secondResourcea VRAM cache entry
Uint8unusedBeforeWindow [4084 - 854]
WINDOW *windowclosed, and waited for, on release
Uint8unusedAfterWindow [12]

Description

The state block of HEAP_SLOT_SELECTION_STATE (SelectionStateWork): two VRAM cache entries with their flags and a window, among fields nothing here uses. Only the two unused functions below touch it.

struct SELECTION_STATE

Referenced by mnAllocateSelectionState() and mnReleaseSelectionState().

Definition at line 349 of file window_shortcuts.c.

Fields in detail

unusedBeforeFirst

Uint8 unusedBeforeFirst[70]

firstActive

Uint16 firstActive

nonzero when firstResource is a VRAM cache entry to free on release

firstResource

Uint16 firstResource

a VRAM cache entry

unusedBetweenResources

Uint8 unusedBetweenResources[850 - 74]

secondActive

Uint16 secondActive

nonzero when secondResource is a VRAM cache entry to free on release

secondResource

Uint16 secondResource

a VRAM cache entry

unusedBeforeWindow

Uint8 unusedBeforeWindow[4084 - 854]

window

WINDOW *window

closed, and waited for, on release

unusedAfterWindow

Uint8 unusedAfterWindow[12]