Skip to main content

Module globals

Module globals 

Source

Structs§

BtnSelItemState
BtnSelectChoiceState
BtnSelectRuntimeState
ConfigChrKoeState
Counter
EditBoxListState
EditBoxState
ExcallTickTargets
FogGlobalState
GlobalMovieState
Runtime state for the GLOBAL.MOV player.
GlobalState
GroupState
LightState
MaskListState
MaskState
Mask state.
MsgBackEntry
MsgBackState
MwndGlyphState
MwndMessageButtonState
MwndMessagePageState
One completed C_elm_mwnd_msg entry retained by MULTI_MSG/NEXT_MSG. The active page remains in MwndState so existing form handlers can mutate it without an additional indirection; completed pages are immutable snapshots.
MwndRubyPendingState
MwndSelectionChoice
MwndSelectionState
MwndState
ObjectBaseState
ObjectButtonState
ObjectEmoteParam
ObjectFrameActionState
ObjectMovieState
ObjectNumberParam
ObjectOpTables
Which object event an OBJECT property op drives, looked up by op code. These ran as chains of about fifty comparisons on every object property read and write (a tenth of the VM’s frame time in particle scripts).
ObjectPropEventLists
ObjectPropEvents
ObjectPropLists
ObjectRectParam
ObjectRuntimeState
ObjectState
ObjectStringParam
ObjectWeatherParam
ObjectWeatherWorkState
ObjectWeatherWorkSub
OriginalConfigRuntimeState
PcmChPersistentState
Original C_elm_pcmch parameters persisted in local saves.
PcmEventLine
PcmEventState
PendingButtonAction
PendingFrameActionFinish
SaveSlotState
ScreenEffectState
ScreenFormState
ScreenQuakeState
ScreenQuakeTransform
ScreenShakeState
ScriptRuntimeState
SoundRoutingState
StageFormState
StringGlyphBackend
SyscomFallbackDialogState
SyscomPendingProc
SyscomRuntimeState
SystemMessageBoxButton
SystemMessageBoxModalState
SystemMessageBoxRecord
SystemRuntimeState
ToggleFeatureState
ValueFeatureState
WipeState
Screen wipe transition state.
WorldRotateEvent
WorldState

Enums§

BaseIntField
An ObjectBaseState integer field, named for the op tables.
FixedIntProp
Where an OBJECT integer property’s value lives (ObjectState::fixed_int_prop).
GroupListOpKind
GroupOpKind
LightType
Global mutable state used by various “global element” (form) handlers.
MwndListOpKind
MwndOpKind
ObjectBackend
ObjectEventTarget
ObjectListOpKind
ObjectOpKind
PendingButtonActionKind
SyscomFallbackDialogKind
Cross-platform replacement for the native Syscom dialogs used by the original Windows build when a project does not provide SAVE_SCENE, LOAD_SCENE, CONFIG_SCENE, or CANCEL_SCENE. The dialog itself is rendered by the engine and receives input through the normal winit path, so the same state machine is used on desktop, mobile, and WebAssembly hosts.
SyscomPendingProcKind
WorldListOpKind
WorldOpKind

Constants§

EDITBOX_ACTION_CANCELED
EDITBOX_ACTION_DECIDED
EDITBOX_ACTION_NOT_DECIDED
OBJECT_NESTED_SLOT_KEY
OBJ_DIRECTIONAL_LIGHT_MAX
OBJ_POINT_LIGHT_MAX
OBJ_SPOT_LIGHT_MAX
PCM_EVENT_TYPE_LOOP
PCM_EVENT_TYPE_NONE
PCM_EVENT_TYPE_ONESHOT
PCM_EVENT_TYPE_RANDOM
TNM_GROUP_CANCELED
TNM_GROUP_NOT_DECIDED
TNM_GROUP_RESULT_CANCELLED
TNM_GROUP_RESULT_DECIDED
TNM_GROUP_RESULT_NONE
WORLD_LIGHT_MAX

Functions§

normalize_screen_effect_scalar

Type Aliases§

HashMap
The runtime’s tables (objects, stage lists, properties) are keyed by small integers and looked up many times per object operation; SipHash was about a tenth of the VM’s frame time on consoles.
HashSet