struct WINDOW
A window: a bordered rectangle of the tilemap with its window sprites, 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 |
Uint16 | x | tiles |
Uint16 | y | tiles |
Uint16 | opened | 1 once opened, 0 once freed; nothing reads it |
Uint16 | animation | animation set by a message's TEXT_WINDOW_ANIMATION code |
Uint16 | state | 0 while typing; 1 once the text has ended and the window closes |
Uint16 | flags | WINDOW_FLAG_ flags; 0 once closing or free |
Sint16 | zoomStage | 7 down to 0 while opening, 0 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 window sprites, its opening or closing animation and the rectangle it last drew.
struct WINDOW
Referenced by btDebugBattleViewMessages(), btMessageWaitForAdvance(), btPlaybackRun(), btRun(), dbIncreaseItemAndLevelRunLevelEditor(), dbIncreaseItemAndLevelSelectAbility(), dbIncreaseItemAndLevelSelectItem(), dbIncreaseItemAndLevelShowGlyphCaptions(), dbMenuTestBrowseMessageRange(), dbMenuTestSelectItem(), fdLuckyDiceRun(), fdLuckyWheelsRun(), fdLuckyWheelsSetUpBetting(), fdLuckyWheelsUpdate(), fdMessageShowAtActor(), fdScriptAskYesNoWithActorAnimation(), fdScriptShowMessageAndWait(), fdScriptShowMessageAtPos(), fdScriptShowSpeakerMessage(), fdScriptShowTwoMessagesAndWait(), mnAreaNameWindowHide(), mnAreaNameWindowShow(), mnBattleCollectPartyCommands(), mnBattleCommandRowRun(), mnBattleDjinnMenuRun(), mnBattleDjinnMenuShowChangePreview(), mnBattleItemMenuRun(), mnBattleMessageClose(), mnBattleMessageContinue(), mnBattleMessageOpen(), mnBattlePsynergyMenuRun(), mnBattleRefuseFlee(), mnBattleStatusScreenRun(), mnBattleSummonMenuRun(), mnBattleTargetRunSelection(), mnColossoMenuChoose(), mnCommandIconCreate(), mnCreatePartyFigures(), mnCursorCreate(), mnCursorPlace(), mnDebugBrowserIcons(), mnDebugBrowserPortraits(), mnDebugFlagEditorDrawTable(), mnDebugFlagEditorHandleInput(), mnDebugFlagEditorRun(), mnDebugSceneSelectDrawRow(), mnDebugSceneSelectHandleRowInput(), mnDebugSceneSelectRun(), mnDebugSelectShortcuts(), mnDjinnMenuDrawStatPreview() and 173 more.
Definition at line 29 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
Uint16 x
tiles
y
Uint16 y
tiles
opened
Uint16 opened
1 once opened, 0 once freed; nothing reads it
animation
Uint16 animation
animation set by a message's
TEXT_WINDOW_ANIMATION code
state
Uint16 state
0 while typing; 1 once the text has ended and the window closes
flags
Uint16 flags
WINDOW_FLAG_ flags; 0 once closing or free
zoomStage
Sint16 zoomStage
7 down to 0 while opening, 0 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