struct WINDOW
A window: a bordered rectangle of the tilemap with its sprite outputs, its opening or closing animation and the rectangle it last drew.
Declared in window.h.
Fields
| Name | Description | |
|---|---|---|
WINDOW_SPR_LIST | sprites | the sprites the window carries |
Uint16 | width | tiles |
Uint16 | height | tiles |
Sint16 | x | tiles |
Sint16 | y | tiles |
Uint16 | opened | 1 once opened, 0 once freed; nothing reads it |
Uint16 | animation | animation while typing, set by the TEXT_WINDOW_ANIMATION code |
Uint16 | state | 0 while typing; nonzero once done (frees message for next text) |
Uint16 | flags | 0 once closing or free |
Sint16 | zoomStage | zoom stage: counts down opening, up to duration while closing |
Sint16 | duration | ticks of the zoom under way; 0 when none |
Sint16 | prevX | tiles |
Sint16 | prevY | tiles |
Sint16 | prevWidth | tiles |
Sint16 | prevHeight | tiles |
Description
A window: a bordered rectangle of the tilemap with its sprite outputs, its opening or closing animation and the rectangle it last drew.
struct WINDOW
Referenced by btMessageWaitForAdvance(), btPlaybackRun(), dbIncreaseItemAndLevelRunLevelEditor(), dbPsynergyTestBrowseMessageRange(), fdLuckyDiceRun(), fdLuckyWheelsRun(), fdLuckyWheelsSetUpBetting(), fdLuckyWheelsUpdate(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptShowMessageAtPos(), fdScriptShowTwoMessagesAndWait(), fdSuperLuckyDiceRun(), mnAreaNameWindowHide(), mnAreaNameWindowShow(), mnBattleCollectPartyCommands(), mnBattleDjinnMenuRun(), mnBattleDjinnMenuShowChangePreview(), mnBattleItemMenuRun(), mnBattleMenuUpdateEachTick(), mnBattleMessageContinue(), mnBattleMessageOpen(), mnBattlePsynergyMenuRun(), mnBattleStatusScreenRun(), mnBattleSummonMenuRun(), mnBattleTargetRunSelection(), mnCommandIconCreate(), mnCursorCreate(), mnCursorPlace(), mnDebugBrowserIcons(), mnDebugBrowserPortraits(), mnDebugFlagEditorRun(), mnDebugMenuOpen(), mnDebugMenuRun(), mnDebugSceneSelectRun(), mnDebugShortcutDrawAbility(), mnDebugShortcutOpen(), mnDebugShortcutRun(), mnDebugSoundTestOpen(), mnDebugSoundTestRun(), mnDebugWarpOpen(), mnDebugWarpRun(), mnDjinnMenuShowHelp(), mnDjinnShowJoinedMessage(), mnFieldMessageShow(), mnFieldMessageShowCentered(), mnFileListDrawDjinnCounts(), mnFileListDrawSummary(), mnFileListFillHighlight(), mnFileListSelectFile() and 130 more.
Definition at line 17 of file window.h.
Fields in detail
sprites
WINDOW_SPR_LIST sprites
the sprites the window carries
width
Uint16 width
tiles
height
Uint16 height
tiles
x
Sint16 x
tiles
y
Sint16 y
tiles
opened
Uint16 opened
1 once opened, 0 once freed; nothing reads it
animation
Uint16 animation
animation while typing, set by the
TEXT_WINDOW_ANIMATION code
state
Uint16 state
0 while typing; nonzero once done (frees message for next text)
flags
Uint16 flags
0 once closing or free
zoomStage
Sint16 zoomStage
zoom stage: counts down opening, up to duration while closing
duration
Sint16 duration
ticks of the zoom under way; 0 when none
prevX
Sint16 prevX
tiles
prevY
Sint16 prevY
tiles
prevWidth
Sint16 prevWidth
tiles
prevHeight
Sint16 prevHeight
tiles