Expand description
Runtime scaffolding for command execution.
Scene bytecode is dispatched by numeric form/owner codes. Siglus user
commands are script procedures entered by SceneVm through Scene.pck.
Re-exports§
pub use opcode::OpCode;
Modules§
- constants
- Canonical engine constants used by the runtime.
- forms
- Form (numeric command) dispatchers.
- game_
display_ info - Game display information shared by bundle/mobile platform UI code.
- game_
title - Game title resolution shared by runtime and platform UI integration.
- gan
- GAN animation support (ported from the original the original implementation implementation).
- globals
- graphics
- Graphics runtime: bridges VM stage/object operations to
LayerManager+ImageManager. - input
- Runtime input state (winit-agnostic).
- int_
event - Integer event (linear interpolation / loop / turn) used by a few engine subsystems.
- native_
ui - Platform UI bridge for runtime modal operations.
- net
- opcode
- Numeric opcode/form plumbing.
- string_
semantics - String operations with the same indexing model as the original Windows
TSTRimplementation. - tables
- Gameexe-driven table loading.
- tonecurve
- Desktop Siglus Twitter integration.
- ui
- Message-window rendering state projected from runtime MWND state.
- unknown
- Runtime recorder for unmapped numeric codes, names, and load-time notes.
- wait
- VM wait/blocking state.
Structs§
- Command
- Command
Context - Debug
Active Texture Entry - Excall
Compat State - State used by EXCALL runtime helpers.
- IntVec
Pool - Spare
Vec<i32>buffers for element paths and object chains, which the VM makes and drops for every property access: reusing them saves an allocation and a free each time (a tenth of the VM’s frame time in particle scripts, more with the console allocators). - Local
Save Snapshot - Engine-side cache mirroring the C++
S_tnm_local_save(a.k.a.Gp_eng->m_local_save). Populated by GLOBAL_SAVEPOINT (tnm_save_local) and after a successful load (tnm_load_local_on_file). All save-to-file paths (normal / quick / end) must pull from this cache instead of re-serializing the live runtime. - Runtime
Load Request - Runtime
Save Request - VmCall
Meta
Enums§
- Proc
Kind - Cooperative script-process boundary, mirroring Siglus’
TNM_PROC_TYPE_*model at the VM/runtime boundary. - Runtime
Save Kind - Value
Traits§
- External
Form Handler - Optional external handler for numeric forms.
- Frame
Capture Backend - GPU service for original-engine capture commands. Captures must pass through the same render graph as presentation so meshes, depth, fog and shader state are preserved.
Functions§
- dispatch
- Dispatch a decoded numeric form command.
- dispatch_
form_ code