The per-frame message update: typing text and running its control codes. More...
Go to the source code of this file.
Macros | |
| #define | CANVAS_COLUMNS 30 |
| #define | CANVAS_COLUMN_WORDS 32 |
| #define | CANVAS_KEPT_ROWS 8 |
| the top 8 pixel rows stay put | |
Enumerations | |
| enum | { CHANNEL_STEP_RUNNING = 0 , CHANNEL_STEP_ENDED = 8 , CHANNEL_STEP_CLOSE = 9 } |
| What UiWork_StepChannelScript reports. More... | |
Functions | |
| void | UiText_ScrollCanvasUp (s32 step) |
| Scrolls the battle message canvas up by 6 pixel rows per step, below its top 8 rows, and clears the rows this uncovers. | |
| void | UiWork_ProcessRenderChannels (void) |
| The per-frame message update: each message channel whose window is fully open runs its window effect or types more text, and on the text's end marks the window done (state 1) or closes it. | |
| s32 | UiWork_StepChannelScript (struct UiChannelSlot *channel) |
| Types one frame's share of a channel's text: runs control codes (new line, new page, pauses, colours) and draws characters, playing the speaker's voice blips. | |
The per-frame message update: typing text and running its control codes.
Part of window.c, the window object, compiled only through it.
Definition in file typing.c.
| #define CANVAS_COLUMNS 30 |
Definition at line 9 of file typing.c.
Referenced by UiText_ScrollCanvasUp().
| #define CANVAS_COLUMN_WORDS 32 |
Definition at line 10 of file typing.c.
Referenced by UiText_ScrollCanvasUp().
| #define CANVAS_KEPT_ROWS 8 |
the top 8 pixel rows stay put
Definition at line 11 of file typing.c.
Referenced by UiText_ScrollCanvasUp().
| anonymous enum |
| void UiText_ScrollCanvasUp | ( | s32 | step | ) |
Scrolls the battle message canvas up by 6 pixel rows per step, below its top 8 rows, and clears the rows this uncovers.
Definition at line 15 of file typing.c.
Referenced by UiText_ScrollCanvasUp(), and UiWork_StepChannelScript().
| void UiWork_ProcessRenderChannels | ( | void | ) |
The per-frame message update: each message channel whose window is fully open runs its window effect or types more text, and on the text's end marks the window done (state 1) or closes it.
Definition at line 40 of file typing.c.
Referenced by UiWork_ProcessAll(), and UiWork_ProcessRenderChannels().
| s32 UiWork_StepChannelScript | ( | struct UiChannelSlot * | channel | ) |
Types one frame's share of a channel's text: runs control codes (new line, new page, pauses, colours) and draws characters, playing the speaker's voice blips.
Returns a CHANNEL_STEP_ result.
Definition at line 91 of file typing.c.
Referenced by UiWork_ProcessRenderChannels(), and UiWork_StepChannelScript().