Epok Engine

EPOK RUNTIME

namespace epok

512 types, 356 functions and 162 data symbols.

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Types

AabbType alias declared by the epok module for the epok module.Type aliasAabb2DStruct declared by the world2d module for the world2d module.StructAabbTClass template declared by the collision module for bounded AABB collision queries and movement.Class templateActivationCallbacksClass template declared by the object-model module for the object model module.Class templateActorClass declared by the object-model module for the object model module.ClassActor2DClass declared by the object-model module for the object model module.ClassActor3DClass declared by the object-model module for the object model module.ClassActorCallbacksClass template declared by the object-model module for the object model module.Class templateActorComponentClass declared by the object-model module for the object model module.ClassActorComponentRecordStruct declared by the actor-tables module for the actor tables module.StructActorDataStruct declared by the epok module for the epok module.StructActorPrepareFn---- spawning ------------------------------------------------------------------ Preparation hook, run once per reserved actor after its defaults, root, owner and registration are in place and *before* any `begin_play` of this batch (design.md section 6, between steps 2 and 5).Type aliasActorPrototype`initialize` builds each spawn in place, so a cooked prefab keeps no resident ActorData copy.StructActorRecordStruct declared by the actor-tables module for the actor tables module.StructActorSpawnRequestOne spawn request.StructActorStatsStruct declared by the actor-tables module for the actor tables module.StructActorTableStruct declared by the actor-tables module for the actor tables module.StructAffineAffine composition preserves inherited non-uniform scale and shear.Class templateAffine2D2x3 affine matrix: linear part `m` (rotation and scale, shear when inherited) plus the translation `t`.StructAnimationClipStruct declared by the epok module for the epok module.StructAnimatorStruct declared by the epok module for the epok module.StructAudioClipStruct declared by the audio module for SPU sound playback and voice ownership.StructAudioComponentShared audio without a transform.ClassAudioPlayer2DComponent---- AudioPlayer2D ------------------------------------------------------------------------ Plays a clip whose loudness and stereo position follow the current camera: full volume at the centre of the view, fading to silence at `max_distance` pixels, panned by how far left or right of the view's centre it is.ClassAudioReuseStatsStruct declared by the audio module for SPU sound playback and voice ownership.StructAudioSourceStruct declared by the epok module for the epok module.StructAudioVoiceStruct declared by the audio module for SPU sound playback and voice ownership.StructAxisQ12 axes: positive X is right; positive Y is up.EnumBakedDrawFaceVersion 3, little-endian archive ABI.StructBakedPacketClass template declared by the baked-packet module for the baked packet module.Class templateBakedSelectionCacheImmutable topology + an exact face mask uniquely determine the vertex set.Class templateBakedTexturePacketStruct declared by the texture-types module for native text data and HUD text components.StructBakedTextureTableImmutable generated banks know their VRAM placement before compilation.Class templateBakedTextureWordsGPU-domain words prepared offline.StructBlendModeEnum declared by the texture-types module for native text data and HUD text components.EnumBlobRendererClass declared by the shadows module for static and blob shadow rendering.ClassBlobShadowStruct declared by the epok module for the epok module.StructBlobShadowComponentClass declared by the object-model module for the object model module.ClassBoneStruct declared by the epok module for the epok module.StructBonePoseStruct declared by the epok module for the epok module.StructBoneSampleStruct declared by the epok module for the epok module.StructBoneTrackStruct declared by the epok module for the epok module.StructButtonButton values match PsyQo's digital pad protocol.EnumButtonType alias declared by the controller-pad module for SIO0 controller polling and DualShock configuration.Type aliasCamera2D---- Camera2D ------------------------------------------------------------------------ Projection convention (no dependency whatsoever on the 3D camera or on projection_focal): screen = viewport_center + R(-camera.rotation) * (world - camera.position) * k with k = zoom * pixels_per_unit_2d.StructCamera2DComponent---- Camera2D -------------------------------------------------------------------------- Follows its owner's world position.ClassCamera3DComponentClass declared by the object-model module for the object model module.ClassCameraAimParametersStruct declared by the camera-aim module for camera selection, projection and shared render resources.StructCameraOrbitInputComponentClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassCameraQ12Q12 camera coordinates (4096 = one unit), as used by scripts and colliders.Type aliasCameraQ8Q8 camera coordinates (256 = one unit) produced by the GTE projection path.Type aliasCameraRig3DClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassCameraRigSampleStruct declared by the camera-rig module for camera selection, projection and shared render resources.StructCameraRigStatusEnum declared by the camera-rig module for camera selection, projection and shared render resources.EnumCameraSettingssky_gradient: draw the sky, horizon and ground colours along the horizon instead of clearing to sky_color (see sky_gradient.hpp).StructCameraSpaceWorld coordinates and GTE vector coordinates have different ranges.Class templateCameraUnitsCamera-space scale used by the renderer.Class templateCanvasThe authored initial focus and the runtime current focus are the same field: an actor index into the scene's objects array, -1 for none.StructCanvasComponentClass declared by the object-model module for the object model module.ClassCanvasLayer2DComponent---- CanvasLayer2D ---------------------------------------------------------------------- Puts its actor and everything attached to it on canvas `layer`: layers draw in ascending order and the default world canvas is layer 0.ClassCanvasModulate2DComponent---- CanvasModulate2D ------------------------------------------------------------------- Multiplies the colour of everything drawn on its canvas (255 leaves it unchanged): night scenes, flashes, fades of a whole layer.ClassCardErrorEnum declared by the memory-card module for asynchronous Memory Card access and files.EnumCardFileStruct declared by the memory-card module for asynchronous Memory Card access and files.StructCardFileSampleStruct declared by the gameplay-api module for the gameplay api module.StructCardIconStruct declared by the memory-card module for asynchronous Memory Card access and files.StructCardOperationEnum declared by the memory-card module for asynchronous Memory Card access and files.EnumCardStateEnum declared by the memory-card module for asynchronous Memory Card access and files.EnumCardStatusStruct declared by the memory-card module for asynchronous Memory Card access and files.StructCharacter2DClass declared by the character2d module for pixel-unit character commands and derivable actors over the existing 2D body solver.ClassCharacter3DClass declared by the character3d module for shared world-unit character commands, collision locomotion and motion samples.ClassCharacterBody2DComponentThe move_and_slide contract on the bounded World2D solver: `velocity` is in pixels per second, `up_direction` defaults to screen up (0, -1), and the body moves through its actor's first solid Collider2D.ClassCharacterCommand2DStruct declared by the character2d module for pixel-unit character commands and derivable actors over the existing 2D body solver.StructCharacterCommand3DStruct declared by the character3d module for shared world-unit character commands, collision locomotion and motion samples.StructCharacterCommandResult2DStruct declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.StructCharacterCommandResult3DStruct declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.StructCharacterCommandSource2DComponentClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassCharacterCommandSource3DComponentClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassCharacterCommandStatusEnum declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.EnumCharacterMotionSample2DStruct declared by the character2d module for pixel-unit character commands and derivable actors over the existing 2D body solver.StructCharacterMotionSample3DStruct declared by the character3d module for shared world-unit character commands, collision locomotion and motion samples.StructCharacterMotionStatusEnum declared by the character3d module for shared world-unit character commands, collision locomotion and motion samples.EnumCharacterMotor2DComponentClass declared by the character2d module for pixel-unit character commands and derivable actors over the existing 2D body solver.ClassCharacterMotor3DComponentClass declared by the character3d module for shared world-unit character commands, collision locomotion and motion samples.ClassChunkBasisBoundsStruct declared by the visibility module for frustum tests and chunk visibility.StructChunkVisibilityOffline conservative interval masks for planes in object-local coordinates.StructChunkVisibilityCacheStruct declared by the visibility module for frustum tests and chunk visibility.StructChunkVisibilityMaskStruct declared by the visibility module for frustum tests and chunk visibility.StructChunkVisibilityQueryClass declared by the visibility module for frustum tests and chunk visibility.ClassClassDescriptorCooked class table.StructClipVertexStruct declared by the polygon module for PSX polygon preparation, clipping and submission.StructColliderType alias declared by the epok module for the epok module.Type aliasCollider2D---- 2D colliders -------------------------------------------------------------------- Semantics and deliberate limits: * A collider is placed by a world position plus `offset`, both in world axes.StructCollider2DComponent---- Collider2D ------------------------------------------------------------------------ One box or circle placed at the owner's world position plus `shape.offset` (the offset turns and scales with the owner; box extents scale but stay axis-aligned).ClassCollider3DComponentClass declared by the object-model module for the object model module.ClassColliderEntry2DOne synchronized collider.StructColliderTNumber is Q12 (PsyQo Fixed on target).Class templateCollisionHit2DSampleOne World2D query hit: the actor owning the collider, the entry fraction along the segment, the contact point and the axis normal, in pixels.StructCollisionHitPairStruct declared by the gameplay-api module for the gameplay api module.StructCollisionHitSampleStruct declared by the gameplay-api module for the gameplay api module.StructCollisionLibraryStruct declared by the gameplay-api module for the gameplay api module.StructCollisionWorldBounded, allocation-free broad phase.Class templateCollisionWorld2DBounded 2D collision world mirroring the shape of epok::CollisionWorld: fixed capacity, no allocation, conservative world AABBs for the broad phase and for sweeps, exact shape tests for triggers.Class templateCompactProjectedVertexInterior/no-fog submission needs only screen XY and depth.StructCompactProjectionOffsetA compact cooked vertex is {Q8 X|Y<<16, Q8 Z | fraction bits << 16}, each relative to its block center.StructCompletionType alias declared by the memory-card module for asynchronous Memory Card access and files.Type aliasComponentCallbacksAccess-restricted or overloaded user hooks must remain callable through the virtual base interface.Class templateCompoundGridImmutable, cooked XZ cell lists for a compound collider.StructControllerPadClass declared by the controller-pad module for SIO0 controller polling and DualShock configuration.ClassCoordinateSpaceEnum declared by the epok module for the epok module.EnumDataHandleStruct declared by the epok module for the epok module.StructDepthStruct declared by the polygon module for PSX polygon preparation, clipping and submission.StructDepth2DComponent---- Depth2D ---------------------------------------------------------------------------- Draws the sprites and tile layers of its actor, and of everything attached to it, inside the 3D world instead of over it: they join the 3D ordering table at one camera depth, so 3D geometry behind that depth is hidden by their opaque texels and geometry in front covers them.ClassDialogueHandleStruct declared by the dialogue-helpers module for the dialogue helpers module.StructDialogueInteractionComponentClass declared by the dialogue-helpers module for the dialogue helpers module.ClassDialogueNPC2DClass declared by the dialogue-helpers module for the dialogue helpers module.ClassDialogueNPC3DClass declared by the dialogue-helpers module for the dialogue helpers module.ClassDialoguePhaseEnum declared by the dialogue module for the dialogue module.EnumDialoguePresenterA single reusable UI composition per level.ClassDialogueResultEnum declared by the dialogue module for the dialogue module.EnumDialogueRoleBindingsComponentClass declared by the dialogue-helpers module for the dialogue helpers module.ClassDialogueSessionLibraryStruct declared by the dialogue-helpers module for the dialogue helpers module.StructDialogueSnapshotStruct declared by the dialogue-helpers module for the dialogue helpers module.StructDialogueStartResultStruct declared by the dialogue-helpers module for the dialogue helpers module.StructDialogueTimingStruct declared by the dialogue-helpers module for the dialogue helpers module.StructDoor2DClass declared by the world-gameplay module for the world gameplay module.ClassDoor3DClass declared by the world-gameplay module for the world gameplay module.ClassDoorComponentClass declared by the world-gameplay module for the world gameplay module.ClassDoorStateEnum declared by the world-gameplay module for the world gameplay module.EnumDrawOrderSpanOrdered sequence codec shared with the offline cooker.StructDungeonLibraryWhat the editor's Dungeon Generator baked about this map: rooms, how they link, keys, locks, items, free spots, and a random stream tied to the dungeon's seed.StructDungeonPointA key, item, locked door or free spot of the generated dungeon and its room.StructDungeonRoomOne room of the map's generated dungeon.StructEaseSerialized in authored content as Linear=0, SmoothStep=1, InQuad=2, OutQuad=3.EnumEffectLayerReflected through the same Clang catalog as behaviours.ClassEffectLayerHandleThis type only exists at runtime.StructEmissionShape2D---- Particles2D -------------------------------------------------------------------------- A CPU particle emitter: `amount` particles live for `lifetime` seconds, spawned evenly (explosiveness 0) or all at once (1) from a point, rectangle or circle, launched in `direction` (degrees, 0 = right, 90 = down) within `spread` at a random speed between `speed[0]` and `speed[1]`, pulled by `gravity`, slowed by `damping`, scaled and tinted from start to end.EnumEndPlayReasonEnum declared by the object-model module for the object model module.EnumEntryStruct declared by the baked-selection module for the baked selection module.StructEventQueueClass template declared by the utility module for the utility module.Class templateEventQueueMutationStruct declared by the utility module for the utility module.StructEventQueuePollStruct declared by the utility module for the utility module.StructExaminableObject2DClass declared by the world-gameplay module for the world gameplay module.ClassExaminableObject3DClass declared by the world-gameplay module for the world gameplay module.ClassFirstPersonCameraClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassFixedType alias declared by the epok module for the epok module.Type aliasFocusGeneric focus/navigation independent of menu meaning.Class templateFocusableStruct declared by the epok module for the epok module.StructFocusableComponentClass declared by the object-model module for the object model module.ClassFocusKindneighbors is left, right, up, down; each an actor index into the scene's objects array, -1 for none.EnumFocusLibraryStruct declared by the utility module for the utility module.StructFocusSnapshotStruct declared by the utility module for the utility module.StructFogEnvironmentStruct declared by the effects module for runtime effects and their deterministic playback state.StructFogSettingsPer-scene distance fog.StructFontA 4bpp glyph atlas with its sixteen-entry CLUT.StructFragmentSlotA frame slot is allocated once for either packet type.Class templateFrameClearClass template declared by the frame-clear module for the frame clear module.Class templateFramePacketSlotsPacket cache addresses are not reservations of this frame's GPU budget.Class templateFrustumType alias declared by the polygon module for PSX polygon preparation, clipping and submission.Type aliasGameplayAabbStruct declared by the gameplay-api module for the gameplay api module.StructGameplayActionEnum declared by the gameplay-control module for the gameplay control module.EnumGameplayActionSampleStruct declared by the gameplay-control module for the gameplay control module.StructGameplayCamera2DStruct declared by the gameplay-api module for the gameplay api module.StructGameplayCardMetadataMetadata is staged independently of all 4096 payload bytes.StructGameplayControlsClass declared by the gameplay-control module for the gameplay control module.ClassGameplayEventQueue4Struct declared by the utility module for the utility module.StructGameplayEventSampleStruct declared by the utility module for the utility module.StructGameplayFlagComponentExplicit state can be read while its owner is inactive.ClassGameplayInputLibraryStruct declared by the gameplay-control module for the gameplay control module.StructGameplayPlaybackSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructGameplayTransitionOptionsStruct declared by the gameplay-api module for the gameplay api module.StructGameplayTransitionSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructGameplayTweenStateLayout is append-only: saved Blueprint graphs address split members by dotted name, so a member added at the end is simply absent from older graphs and takes its pin default there.StructGameplayVector2Struct declared by the gameplay-api module for the gameplay api module.StructGameplayVector3Struct declared by the gameplay-api module for the gameplay api module.StructGameplayVector3TweenStateA Vector3 tween is one clock plus two endpoints.StructGlyphMetricOne cooked glyph of an authored font.StructGteProjectionInputInterior retained chunks never need camera X/Y for software clipping.StructGteUnrTableThe GTE's perspective division (RTPS/RTPT): the documented unsigned Newton-Raphson reciprocal with its 257-entry seed table.StructHealthChangeStruct declared by the health module for the health module.StructHealthLibraryOnly bounded arithmetic lives here.StructHealthResultEnum declared by the health module for the health module.EnumHealthStateStruct declared by the health module for the health module.StructHelperResultEnum declared by the world-gameplay module for the world gameplay module.EnumHudRendererClass declared by the hud module for native HUD layout, drawing and focus navigation.ClassHudStats`rotated` counts quads emitted through the rotated path; they come out of hud_rotated_budget rather than the rectangle and glyph pools.StructImageStruct declared by the epok module for the epok module.StructImageComponentClass declared by the object-model module for the object model module.ClassImageTilingValues are pinned; this enum only ever grows at the end (saved Blueprint graphs store the numbering).EnumInputClass declared by the input module for controller sampling and simulation-tick input edges.ClassInputAxisSampleStruct declared by the gameplay-api module for the gameplay api module.StructInputCaptureStruct declared by the gameplay-control module for the gameplay control module.StructInputLibraryStruct declared by the gameplay-api module for the gameplay api module.StructInteractableComponentClass declared by the interaction module for the interaction module.ClassInteractionPromptClass declared by the interaction module for the interaction module.ClassInteractionPromptComponentClass declared by the interaction module for the interaction module.ClassInteractionResultEnum declared by the interaction module for the interaction module.EnumInteractionSensor2DComponentClass declared by the interaction module for the interaction module.ClassInteractionSensor3DComponentClass declared by the interaction module for the interaction module.ClassInteractorComponentClass declared by the interaction module for the interaction module.ClassIsometricCameraClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassJoint2DComponent---- Joint2D -------------------------------------------------------------------------------ClassJointKind2DEnum declared by the world2d-physics module for the world2d physics module.EnumLayoutContainerpadding is left, top, right, bottom, the order Image::borders uses.StructLayoutContainerComponentClass declared by the object-model module for the object model module.ClassLayoutElementSize flags, one bitfield per axis: 1 Fill, 2 Expand, 4 ShrinkCenter, 8 ShrinkEnd.StructLayoutElementComponentClass declared by the object-model module for the object model module.ClassLayoutKindCompact immutable draw payload shared with the offline cooker.EnumLevelClass declared by the object-model module for the object model module.ClassLevelPendingOpOne queued spawn/destroy request, executed when the current batch finishes.StructLightStruct declared by the epok module for the epok module.StructLight3DComponentClass declared by the object-model module for the object model module.ClassLightingEnvironmentStruct declared by the epok module for the epok module.StructLightingRendererClass template declared by the lighting module for the lighting module.Class templateLightingStatsScanline counters read PsyQo's existing timer; about 64 us resolution, CPU work only.StructLightModeEnum declared by the epok module for the epok module.EnumLightTypeEnum declared by the epok module for the epok module.EnumLine2DComponentClass declared by the world2d-content module for the world2d content module.ClassLoadingImageResident RGB555 pixels; max 64 x 64.StructLoadingOptionsStruct declared by the transition module for scene loading transitions and fade state.StructLoadingRendererClass declared by the loading-renderer module for loading-screen rendering and transitions.ClassLocalizationThe project's string table, installed by the generated scene code: `strings` holds `keys` strings per language, language after language.StructLocalizationLibraryThe game's language.StructLocalPlayer2DInputComponentClass declared by the character-input module for routed local-player command sources and derivable player presets.ClassLocalPlayer3DInputComponentClass declared by the character-input module for routed local-player command sources and derivable player presets.ClassLocomotionClipsStruct declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.StructLocomotionSampleStruct declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.StructLocomotionSelectionStruct declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.StructLocomotionStateEnum declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.EnumLocomotionStatusEnum declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.EnumLocomotionTuningStruct declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.StructMaterialStruct declared by the epok module for the epok module.StructMaterialSnapshotStruct declared by the epok module for the epok module.StructMathLibraryStruct declared by the gameplay-api module for the gameplay api module.StructMemoryCardDriverThe adapter is process-owned.ClassMemoryCardLibraryStruct declared by the gameplay-api module for the gameplay api module.StructMemoryCardServiceClass declared by the memory-card module for asynchronous Memory Card access and files.ClassMemoryCardSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructMesh3DComponentNative components register their ownership with the Actor lifecycle.ClassMeshDataStateEnum declared by the epok module for the epok module.EnumMeshGeometryStruct declared by the epok module for the epok module.StructMeshLightingStruct declared by the epok module for the epok module.StructMeshMaterialCacheGenerated topology and face materials are immutable.StructMeshQuadStruct declared by the epok module for the epok module.StructMeshStatsStruct declared by the epok module for the epok module.StructMeshVertexStruct declared by the mesh-vertices module for the mesh vertices module.StructMeshVertexErrorEnum declared by the epok module for the epok module.EnumMeshVertexSampleStruct declared by the epok module for the epok module.StructMeshVerticesNon-owning, lossless Q12 storage.StructMonotoneDrawBucketCandidate buckets are already in the ascending-OT coordinate system.Class templateMotionInterpolationRender-only interpolation of entity translations.Class templateMovementIntentA dead-zoned analog stick reduced to a planar direction and a strength.StructMoveResultType alias declared by the epok module for the epok module.Type aliasMoveResult2DStruct declared by the world2d module for the world2d module.StructMoveResultTClass template declared by the collision module for bounded AABB collision queries and movement.Class templateMoveSampleStruct declared by the gameplay-api module for the gameplay api module.StructMoveTo2DComponentClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassMoveTo3DComponentClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassMusicStatsstate: 0 unused, 1 initializing, 2 idle, 3 seeking, 4 playing, 5 stopping, 6 error.StructNativeComponentDefaultStruct declared by the object-model module for the object model module.StructNavigationAgent2DComponent---- NavigationAgent2D -------------------------------------------------------------------ClassNavigationAgentComponentClass declared by the navigation-components module for the navigation components module.ClassNavigationBakeVolumeComponentThe owner's unit cube Transform defines bake bounds.ClassNavigationLinkComponentClass declared by the navigation-components module for the navigation components module.ClassNavigationObstacleComponentClass declared by the navigation-components module for the navigation components module.ClassNavigationRegion2DComponent---- NavigationRegion2D ------------------------------------------------------------------ClassNavigationSurfaceComponentOpt-in: bake the owner's EditableMesh triangles, including their transform.ClassNodeCountsType alias declared by the hud module for native HUD layout, drawing and focus navigation.Type aliasNPC2DClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassNPC3DClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassObjectClass declared by the object-model module for the object model module.ClassObjectBatch8Struct declared by the object-model module for the object model module.StructObjectClassFlagsClass descriptor flags.EnumObjectDispatchScopeStorage of a destroyed object stays quarantined until every nested callback returns.StructObjectDomainEnum declared by the object-model module for the object model module.EnumObjectFamilyEnum declared by the object-model module for the object model module.EnumObjectIdCompact runtime identity.StructObjectPoolFixed typed storage for one concrete class.Class templateObjectRegistrySlot table over a fixed capacity.StructObjectRegistryStorageDefault capacity for a cooked build; tests instantiate a small table.Class templateObjectSlotStruct declared by the object-model module for the object model module.StructObjectStateEnum declared by the object-model module for the object model module.EnumObjectStatsStruct declared by the object-model module for the object model module.StructOrderedDrawBlockStruct declared by the ordered-draw-types module for the ordered draw types module.StructOrderedDrawCursorA prepared list is not published until the camera/geometry transaction commits.Class templateOrderedDrawDataStruct declared by the ordered-draw-types module for the ordered draw types module.StructOrderedDrawStatsPublished with performance_stats at the end of the same completed frame.StructOrderedProjectionBlockSorted native record ranges; centers are cooked from immutable Q8 bounds.StructOrderedScreenInsideBoth signed SXY halves can be range-checked together.Class templateOutputStruct declared by the rumble module for bounded controller motor pulses and cancellation.StructPackedRailParameterStruct declared by the rail-navigation-types module for the rail navigation types module.StructPackedVisibilityTrackSampleStruct declared by the visibility-track module for frustum tests and chunk visibility.StructPadType alias declared by the controller-pad module for SIO0 controller polling and DualShock configuration.Type aliasPaletteAnimationStateStruct declared by the epok module for the epok module.StructPaletteAnimatorStruct declared by the palette-types module for CLUT animation and palette ownership.StructPaletteAnimatorComponentClass declared by the object-model module for the object model module.ClassPaletteRendererClass declared by the palette module for CLUT animation and palette ownership.ClassPaletteStatsStruct declared by the palette-types module for CLUT animation and palette ownership.StructParallax2DComponent---- Parallax2D ------------------------------------------------------------------------- Moves its actor so the layer scrolls at `scroll_scale` times the camera's speed: 1 moves with the world, 0 stays on screen, 0.5 is a distant layer.ClassParticleStruct declared by the particles module for bounded particle simulation and rendering.StructParticleEffectComponentClass declared by the object-model module for the object model module.ClassParticleEmitterStruct declared by the particle-types module for bounded particle simulation and rendering.StructParticleEmitterComponentClass declared by the object-model module for the object model module.ClassParticleEmitterStateStruct declared by the epok module for the epok module.StructParticlePoolScene emitters and effect layers share these exact 256 particle records.ClassParticles2DComponentClass declared by the world2d-content module for the world2d content module.ClassParticleStatsStruct declared by the particle-types module for bounded particle simulation and rendering.StructPath2DComponent---- Path2D ------------------------------------------------------------------------------- A polyline (curves are sampled by the editor) with its cumulative lengths, in the owner's local pixels.ClassPathFollow2DComponent---- PathFollow2D ------------------------------------------------------------------------- Moves its actor along a Path2D: the path of `path` (another actor), or of the actor it is attached to.ClassPerformanceStatsLast completed frame, in the existing ~64 us scanline timer units.StructPick2DEntryOne candidate for pick_2d: its world AABB and its draw key.StructPickup2DClass declared by the world-gameplay module for the world gameplay module.ClassPickup3DClass declared by the world-gameplay module for the world gameplay module.ClassPickupComponentClass declared by the world-gameplay module for the world gameplay module.ClassPlaybackLibraryStruct declared by the gameplay-api module for the gameplay api module.StructPlayer2DClass declared by the character-input module for routed local-player command sources and derivable player presets.ClassPlayer3DClass declared by the character-input module for routed local-player command sources and derivable player presets.ClassPocketAppA PocketStation program embedded in the game, ready to install on a card.StructPocketErrorEnum declared by the pocketstation module for the pocketstation module.EnumPocketFrameOne memory card transaction: `length` bytes out, replies in `reply`.StructPocketMailboxExchange area with the editor's emulated PocketStation (Epok Play only).StructPocketRequestOne owned, bounded transaction.ClassPocketStationLibraryStruct declared by the gameplay-api module for the gameplay api module.StructPocketStationServiceClass declared by the pocketstation module for the pocketstation module.ClassPocketStatusCommand 5Ah: what the PocketStation is doing and its clock.StructPocketTransactionComponentOne owned bounded bus transaction.ClassPocketTransferHandleStruct declared by the device-io module for the device io module.StructPocketTransferSnapshotStruct declared by the device-io module for the device io module.StructPolygon2DComponent---- Polygon2D ---------------------------------------------------------------------------- A filled polygon, triangulated by the editor: `color` alone, or a texture mapped by the cooked per-vertex texels and multiplied by `color`.ClassPoseKindEnum declared by the epok module for the epok module.EnumProgressBarA bar with a `step` above zero is a slider: while it is focused, Left and Right move its value by one step instead of moving the focus.StructProgressBarComponentClass declared by the object-model module for the object model module.ClassProjectedPointStruct declared by the gameplay-api module for the gameplay api module.StructProjectedVertexStruct declared by the polygon module for PSX polygon preparation, clipping and submission.StructProjectileBatchThe script ABI carries a small checked cursor.StructProjectileHandleStruct declared by the projectile3d module for the projectile3d module.StructProjectileLaunchResultStruct declared by the projectile3d module for the projectile3d module.StructProjectileLibraryStruct declared by the projectile3d module for the projectile3d module.StructProjectilePool3DComponentBounded motion over ordinary authored actors.ClassProjectileResultEnum declared by the projectile3d module for the projectile3d module.EnumProjectileSnapshotStruct declared by the projectile3d module for the projectile3d module.StructProjectileSpawn3DStruct declared by the projectile3d module for the projectile3d module.StructProjectileSpriteGridStruct declared by the projectile3d module for the projectile3d module.StructProjectileStepEight wire words per result; a four-shot batch fits the existing 32-word ABI.StructProjectileStep4Struct declared by the projectile3d module for the projectile3d module.StructProjectileStepStateEnum declared by the projectile3d module for the projectile3d module.EnumProjectileTraceFilterStruct declared by the projectile3d module for the projectile3d module.StructPrototypeSlotsWrites a cooked prototype through allocated slots.StructPsyqoMemoryCardDriverClass declared by the memory-card-backend module for asynchronous Memory Card access and files.ClassQuadPacketPer-quad attributes prepared once, then copied per emitted triangle.StructQueueEventStruct declared by the utility module for the utility module.StructRailAimDataStruct declared by the rail-camera-aim module for camera selection, projection and shared render resources.StructRailAimStateStruct declared by the rail-camera-aim module for camera selection, projection and shared render resources.StructRailLinkStruct declared by the rail-navigation-types module for the rail navigation types module.StructRailNavigationDataStruct declared by the rail-navigation-types module for the rail navigation types module.StructRailNavigationStateStruct declared by the rail-navigation-types module for the rail navigation types module.StructRailParameterStruct declared by the rail-navigation-types module for the rail navigation types module.StructRailRouteStruct declared by the rail-navigation-types module for the rail navigation types module.StructRaycastQueryType alias declared by the epok module for the epok module.Type aliasRaycastQueryTClass template declared by the collision module for bounded AABB collision queries and movement.Class templateReceiveLightingEnum declared by the epok module for the epok module.EnumRectTransformStruct declared by the epok module for the epok module.StructRectTransformComponentClass declared by the object-model module for the object model module.ClassRemoteTransform2DComponent---- RemoteTransform2D -------------------------------------------------------------------- Copies this actor's world position, rotation and/or scale onto `target` every simulation step, so a node can follow another without being attached to it.ClassResourceLibraryStruct declared by the gameplay-api module for the gameplay api module.StructResourceSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructResourceUsageSnapshot published after each rendered frame.StructRetainedGeometryClass template declared by the retained module for the retained module.Class templateRetainedKeyStruct declared by the retained module for the retained module.StructRetainedQuadStruct declared by the retained module for the retained module.StructRetainedStatsPer-frame counters: retained objects drawn and packet rebuilds.StructRigidBody2DComponent---- RigidBody2D ---------------------------------------------------------------------------ClassRumbleServiceFour logical pads, one finite pulse per pad.ClassRumbleSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructSavedStruct declared by the serial-kernel module for PSX kernel ownership, interrupts and low-level services.StructSavePayload8Struct declared by the gameplay-api module for the gameplay api module.StructSceneComponent2DClass declared by the object-model module for the object model module.ClassSceneComponent3DClass declared by the object-model module for the object model module.ClassSceneFileErrorEnum declared by the scene-files module for scene lifecycle and scene-stack control.EnumSceneFileLoadStruct declared by the scene-files module for scene lifecycle and scene-stack control.StructSceneFileRecordSize and FNV-1a hash of an external scene's SCENEnn.BIN.StructSceneFileStateEnum declared by the scene-files module for scene lifecycle and scene-stack control.EnumSceneFileStatsLoading time and bytes are measured here, apart from gameplay frame timing.StructSceneLevelEvery identity and component exists before references, overrides and begin_play.ClassSceneLibraryStruct declared by the gameplay-api module for the gameplay api module.StructSceneReferenceRecordStruct declared by the actor-tables module for the actor tables module.StructSceneRefKindEnum declared by the actor-tables module for the actor tables module.EnumSceneScriptActorOne per loaded Level.ClassSceneSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructSceneStatsStruct declared by the scene-lifecycle module for entity creation, activation and destruction.StructScreenAnchorComponentClass declared by the ui-anchor module for the ui anchor module.ClassScreenAnchorStatusValues are stable; an unavailable world projection keeps a readable fallback.EnumScreenFrustumGTE-space X/Y already contain the aspect/FOV row scale.Class templateScriptedCommand2DComponentClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassScriptedCommand3DComponentClass declared by the character-commands module for extensible command producers and point/target movement policies for shared character motors.ClassSequenceClass declared by the utility module for the utility module.ClassSequenceClockDiagnosticsStruct declared by the sequence-clock module for the sequence clock module.StructSequenceLockStruct declared by the sequence-lock module for the sequence lock module.StructSequenceStatsStruct declared by the sequence-service module for the sequence service module.StructSequenceStepStruct declared by the utility module for the utility module.StructSequenceStoragePausePCDrv's resident transport can hold IRQs for entire serial chunks.StructSequenceTimingStatsStruct declared by the sequence-service module for the sequence service module.StructSerialKernelStatePSYQo clears I_MASK and BIOS interrupt queues during Application::run().StructShapeEnum declared by the world2d module for the world2d module.EnumSharedObjectPoolCooked class factories share payload storage while retaining their individual admission bounds.Class templateSkeletalErrorEnum declared by the epok module for the epok module.EnumSkeletalLocomotionComponentClass declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.ClassSkeletalMeshStruct declared by the epok module for the epok module.StructSkeletalPlaybackStateStruct declared by the epok module for the epok module.StructSkeletalQuerySnapshotStruct declared by the gameplay-api module for the gameplay api module.StructSkeletalQueryStatsStruct declared by the epok module for the epok module.StructSkeletalStorageEnum declared by the epok module for the epok module.EnumSkeleton2DComponent---- Skeleton2D ---------------------------------------------------------------------------ClassSkeletonClip2DOne animation: `key_count` poses at increasing `times` (seconds), each `bone_count` (rotation, x, y) triples in the skeleton's bone order.StructSkeletonIk2DA two-bone IK chain: `upper` and `lower` index the skeleton's bones; `tip` is the actor at the end of the lower bone and `target` the actor it reaches for.StructSkyGradientClass template declared by the sky-gradient module for the sky gradient module.Class templateSkyGradientColorsStruct declared by the sky-gradient module for the sky gradient module.StructSkyGradientViewStruct declared by the sky-gradient module for the sky gradient module.StructSlotActivationMemoStruct declared by the lifecycle module for entity creation, activation and destruction.StructSnapshotStruct declared by the rumble module for bounded controller motor pulses and cancellation.StructSpatialHitType alias declared by the epok module for the epok module.Type aliasSpatialHit2DStruct declared by the world2d module for the world2d module.StructSpatialHitTClass template declared by the collision module for bounded AABB collision queries and movement.Class templateSpatialQueryBatchExplicit batch: synchronize the world once, then update only actors changed during this batch.ClassSpatialQueryContextComponentReusable synchronization boundary over the existing world queries.ClassSplitScreen2DComponent---- SplitScreen2D -------------------------------------------------------------------------ClassSpringArmComponentClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassSpringArmSampleStruct declared by the camera-rig module for camera selection, projection and shared render resources.StructSpriteStruct declared by the sprite-types module for sprites, flipbooks and screen-facing rendering.StructSprite2DComponent---- Sprite2D -------------------------------------------------------------------------- One textured quad, optionally animated by cooked frame clips (a still sprite and a frame-animated sprite in one component).ClassSprite3DComponentClass declared by the object-model module for the object model module.ClassSpriteAnimatorStruct declared by the sprite-types module for sprites, flipbooks and screen-facing rendering.StructSpriteClipStruct declared by the sprite-types module for sprites, flipbooks and screen-facing rendering.StructSpriteFrameStruct declared by the sprite-types module for sprites, flipbooks and screen-facing rendering.StructSpriteLocomotion2DComponentClass declared by the character-animation module for configurable skeletal and sprite locomotion drivers with extensible selection and shared motor samples.ClassSpriteOrientationEnum declared by the sprite-types module for sprites, flipbooks and screen-facing rendering.EnumSpritePlaybackStateStruct declared by the epok module for the epok module.StructSpriteRendererFixed double-buffered primitive storage.Class templateSpriteStatsStruct declared by the sprite-types module for sprites, flipbooks and screen-facing rendering.StructStateStruct declared by the retained module for the retained module.StructStreamingStatsStruct declared by the streaming module for bounded CD or PC geometry-page streaming.StructStreamingVerificationVerify completed sectors while later sectors are still reading.StructStreamingVerifyStatsKeep media verification visible separately from the render pass: CD completion callbacks may run in GPU::flip, outside GameScene::frame.StructStreamingWarmupStatsStruct declared by the streaming module for bounded CD or PC geometry-page streaming.StructStreamMeshLeaseClass declared by the streaming module for bounded CD or PC geometry-page streaming.ClassStreamMeshViewScope-bound pin covers CPU geometry consumption.StructStreamObjectBindingStruct declared by the streaming module for bounded CD or PC geometry-page streaming.StructStreamPageCursorConsecutive chunks can borrow one renderer-scoped page pin.ClassStreamPagePoolPlatform independent page ownership.Class templateStreamPageWorkingSetSmall, deterministic working set for a camera-sized view of a streamed world.Class templateStreamReadActionClass declared by the streaming-read module for bounded CD or PC geometry-page streaming.ClassStreamReadStateEnum declared by the streaming-read module for bounded CD or PC geometry-page streaming.EnumSubViewport2DComponent---- SubViewport2D -------------------------------------------------------------------------ClassSwitch2DClass declared by the world-gameplay module for the world gameplay module.ClassSwitch3DClass declared by the world-gameplay module for the world gameplay module.ClassSwitchComponentClass declared by the world-gameplay module for the world gameplay module.ClassTextStruct declared by the text module for native text data and HUD text components.StructTextAlignHorizontal alignment of each measured line inside the text rect.EnumTextComponentClass declared by the object-model module for the object model module.ClassTextureStruct declared by the texture-types module for native text data and HUD text components.StructTextureLoadErrorEnum declared by the texture-upload module for native text data and HUD text components.EnumTextureLoadStatsStruct declared by the texture-upload module for native text data and HUD text components.StructThirdPersonCameraClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassTickGroupSimulation stages are independent of actor placement and component order.EnumTickGroupOfClass template declared by the object-model module for the object model module.Class templateTileCollisionEnum declared by the world2d-tiles module for the world2d tiles module.EnumTileInfoOne tile of a cooked TileSet.StructTileMapLayerComponent---- TileMapLayer -----------------------------------------------------------------------ClassTileSetDataStruct declared by the world2d-tiles module for the world2d tiles module.StructTimeElapsed microseconds come from GPU::now().ClassTimeLibraryStruct declared by the gameplay-api module for the gameplay api module.StructTimelineComponentClass declared by the object-model module for the object model module.ClassTimeSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructTopDownCameraClass declared by the camera-rig module for camera selection, projection and shared render resources.ClassTrackCameraPoseStruct declared by the track-camera-pose module for camera selection, projection and shared render resources.StructTransferTraceResult: 0 okay, 1 bus owned, 2 RX timeout, 3 ACK timeout, 4 absent ID, 5 oversized reply, 6 invalid ID-high byte.StructTransformAll script transforms are local to the object's parent.StructTransform2D2D world transform: XY position in Q12 pixels (Y points down, as on screen), rotation in degrees about the view axis, per-axis scale and a z-index draw order.StructTransformCacheScripts retain direct Transform writes.Class templateTransitionOptionsStruct declared by the transition module for scene loading transitions and fade state.StructTransitionPhaseEnum declared by the transition module for scene loading transitions and fade state.EnumTransitionStateStruct declared by the transition module for scene loading transitions and fade state.StructTriggerArea2DClass declared by the interaction module for the interaction module.ClassTriggerBox3DClass declared by the interaction module for the interaction module.ClassTriggerEventStruct declared by the collision module for bounded AABB collision queries and movement.StructTriggerPhaseEnum declared by the collision module for bounded AABB collision queries and movement.EnumTweenValue tween: the project applies its output to any property.ClassTweenAdvanceSampleStruct declared by the utility module for the utility module.StructTweenLoopReplay plan for one tween.EnumUIActorClass declared by the object-model module for the object model module.ClassUIComponentClass declared by the object-model module for the object model module.ClassUtilityLibraryStruct declared by the utility module for the utility module.StructUtilityVectorLibraryThe Vector3 half of the `utilities` group.StructUvVertexStruct declared by the effects module for runtime effects and their deterministic playback state.StructVector3TweenAdvanceSampleStruct declared by the gameplay-api module for the gameplay api module.StructVertexFrameStruct declared by the epok module for the epok module.StructVertexIndexBatch4Struct declared by the epok module for the epok module.StructVertexSampleStruct declared by the epok module for the epok module.StructVertexSamples4Struct declared by the epok module for the epok module.StructVideoClipOne cooked .STR stream on the disc, as the editor validated it.StructVideoStateEnum declared by the fmv module for full-motion video clips and playback statistics.EnumVideoStatsErrors: 1 no CD drive, 2 lookup, 3 CD command, 4 bad stream, 5 decode, 6 MDEC timeout, 7 no data for three seconds.StructVisibilityPageSelectionThese cursors follow mask writes, not camera statistics: during a cut's ready callback the camera sample has advanced but `next` still names its destination.StructVisibilityPageSetStruct declared by the visibility-track module for frustum tests and chunk visibility.StructVisibilityTrackDataStruct declared by the visibility-track module for frustum tests and chunk visibility.StructVisibilityTrackSampleA baked camera path and XOR changes to a per-cooked-face visibility bitset.StructVisibilityTrackStatsStruct declared by the visibility-track module for frustum tests and chunk visibility.StructVisibleOnScreenNotifier2DComponent---- VisibleOnScreenNotifier2D ------------------------------------------------------------ Tracks whether `rect` (owner-local x, y, width, height) is inside the current view.ClassWorldClass declared by the object-model module for the object model module.ClassWorld2DLibraryStruct declared by the gameplay-api module for the gameplay api module.StructWorldAffineSampleStruct declared by the epok module for the epok module.StructXAActionClass declared by the music module for XA music streaming and playback state.ClassXAStateEnum declared by the music module for XA music streaming and playback state.Enum

Functions

aabb_may_touchPerforms `aabb may touch` as part of bounded AABB collision queries and movement.Function templateaabb_overlapPerforms `aabb overlap` as part of bounded AABB collision queries and movement.Function templateaabb2d_containsPerforms `aabb2d contains` as part of the world2d module.Functionaabb2d_overlapPerforms `aabb2d overlap` as part of the world2d module.Functionaabb2d_touchPerforms `aabb2d touch` as part of the world2d module.Functionaabb2d_translatedPerforms `aabb2d translated` as part of the world2d module.Functionactivate_texture_bankPerforms `activate texture bank` as part of the epok module.Functionactive_cameraPerforms `active camera` as part of the epok module.Functionactor_for_slotPerforms `actor for slot` as part of the actor tables module.Functionadvance_rail_aimSeparate from transport and object storage: both PSX and native runners can apply the same controller after publishing a ready rail pose.Functionadvance_rail_navigationPerforms `advance rail navigation` as part of the rail navigation module.Function templateadvance_visibility_trackReadiness is supplied by the transport.Function templateafter_tickPerforms `after tick` as part of the motion interpolation module.Function templateaim_track_cameraPerforms `aim track camera` as part of camera selection, projection and shared render resources.Functionallocate_actor_dataPerforms `allocate actor data` as part of the epok module.Functionangle_delta_turn12Angles use 4096 steps per turn, weights use 256 = 1.Functionatan2_turn12Performs `atan2 turn12` as part of camera selection, projection and shared render resources.Functionattach_componentSpatial attachment between components of the same domain.Functionaudio_initializePerforms `audio initialize` as part of SPU sound playback and voice ownership.Functionaudio_keyoffPerforms `audio keyoff` as part of SPU sound playback and voice ownership.Functionaudio_parametersPerforms `audio parameters` as part of SPU sound playback and voice ownership.Functionaudio_record_keyoffsPerforms `audio record keyoffs` as part of SPU sound playback and voice ownership.Functionaudio_reuse_readyTwo complete HSync ticks exceed the SPU key-off/key-on recovery interval.Functionaudio_scanlinePerforms `audio scanline` as part of SPU sound playback and voice ownership.Functionaudio_tickPerforms `audio tick` as part of SPU sound playback and voice ownership.Functionbake_texture_packetsPerforms `bake texture packets` as part of native text data and HUD text components.Function templatebaked_commandGPU opcode: 0x30, plus 0x04 textured and 0x02 semi-transparent (only ever set on textured faces), from the flag bits 30 and 29.Functionbaked_corner_colorPerforms `baked corner color` as part of the baked draw types module.Functionbaked_double_sidedPerforms `baked double sided` as part of the baked draw types module.Functionbaked_indexed_colorPerforms `baked indexed color` as part of the baked draw types module.Functionbaked_ordered_colorsOrdered native packets use only two corner layouts: 0,1,2,3 and 1,2,3,3.Functionbaked_second_halfPerforms `baked second half` as part of the baked packet module.Functionbaked_texture_packetPerforms `baked texture packet` as part of native text data and HUD text components.Function templatebaked_texture_wordsA face's cooked texture words as the packet takes them: the flags cleared and the display mode bits (as baked_texture_packet) added to the TPAGE.Function templatebaked_texturedWithout a resident texture bank, faces draw untextured, as before the words were resolved at cook time: callers pass textures_ready=false.Functionbaked_uvA corner's packed UV (0..3).Functionbefore_tickPerforms `before tick` as part of the motion interpolation module.Function templatebegin_average_depthgte_average_depth in two halves, so CPU work can run during AVSZ.Functionbegin_loaded_projection_tripleBegins loaded projection triple as part of Geometry Transformation Engine math and register operations.Functionbegin_packed_vertexproject_packed_vertex in two halves, so independent CPU work can run while the GTE computes RTPS: begin loads the vertex and issues RTPS; finish (which waits for it) stores the same outputs and returns the same flag verdict.Functionbegin_projection_tripleBegins projection triple as part of Geometry Transformation Engine math and register operations.Functionbegin_render_activation_snapshotBegins render activation snapshot as part of entity creation, activation and destruction.Functionblend_angle_turn12Performs `blend angle turn12` as part of camera selection, projection and shared render resources.Functionblend_camera_aimPerforms `blend camera aim` as part of camera selection, projection and shared render resources.Functionblend_fogPerforms `blend fog` as part of PSX polygon preparation, clipping and submission.Functionblend_vertex_fogPerforms `blend vertex fog` as part of PSX polygon preparation, clipping and submission.Functionbox_circle_overlap_2dClosest point on the box to the circle centre; touching counts only when inclusive.Functionbuiltin_cellThe cell mapping src/bitmap_font.rs bakes into the built-in atlas: ASCII 32..126 in order, then the sixteen Spanish extras, and anything else draws '?'.Functioncamera_projectPerforms `camera project` as part of the epok module.Functioncamera_target_directionRig convention: +pitch looks up, yaw zero looks along -Z, +roll about Z.Functioncamera2d_pixels_per_unitPerforms `camera2d pixels per unit` as part of the world2d module.Functioncamera2d_viewport_centerPerforms `camera2d viewport center` as part of the world2d module.Functioncard_error_messagePerforms `card error message` as part of asynchronous Memory Card access and files.Functionchecked_compact_projection_inputPer-vertex form for a block whose bounds do not all fit: `sum` is the block center plus the lattice offset.Functionchunk_bounds_input_limitEvery individual product must fit int32; the renderer checks this once per chunk using the largest coefficient magnitude.Functionchunk_bounds_isolated_xDetect once per object.Functionchunk_bounds_planes_fitWith the narrow products, each post-shift center/span sum is <=3*524288.Function templatechunk_fully_insideQ12 bounds.Function templatechunk_outsidePerforms `chunk outside` as part of the frustum module.Function templatecircle_overlap_2dPerforms `circle overlap 2d` as part of the world2d module.FunctionclearClears clear as part of the motion interpolation module.Methodclip_fraction16Performs `clip fraction16` as part of PSX polygon preparation, clipping and submission.Functionclip_polygonPerforms `clip polygon` as part of PSX polygon preparation, clipping and submission.Function templateclip_polygon_distancesSutherland-Hodgman against the frustum planes named by `planes` (bit i = plane i of frustum_outcode).Function templateclosed_cube_facesDefault cube face numbers: -Z,+Z,-X,+X,+Y,-Y.Functioncollect_object_quarantinePerforms `collect object quarantine` as part of the actor tables module.Functioncollider_aabbPerforms `collider aabb` as part of the epok module.Functioncollider_boundsPerforms `collider bounds` as part of bounded AABB collision queries and movement.Function templatecollider2d_boundsPerforms `collider2d bounds` as part of the world2d module.Functioncollider2d_centerWorld centre of a collider: the owner's world position plus the (unrotated) offset.Functioncollider2d_overlapShape-aware pair test in world space.Functioncollision_fraction24Exact Q24 fraction for 0 <= numerator <= denominator.Functioncompact_gpu_safeScreen/depth-only projection is also sufficient for off-screen chunks when every vertex is depth-valid and the complete packet span fits the GPU.Functioncompact_mesh_gpu_safeUnrelated faces in one spatial chunk can span more than the GPU limit even though every submitted triangle fits.Function templatecompact_projection_inputPerforms `compact projection input` as part of Geometry Transformation Engine math and register operations.Functioncomposeparent * child: the child's local matrix expressed in the parent's space.Functionconfigure_display_fieldPerforms `configure display field` as part of the frame clear module.Function templatecos_degreesPerforms `cos degrees` as part of the world2d module.Functioncosine_turn12Performs `cosine turn12` as part of fixed-point trigonometric helpers.Functioncurrent_scenePerforms `current scene` as part of the epok module.Functiondecode_draw_orderPerforms `decode draw order` as part of the draw order module.FunctiondescendantPerforms `descendant` as part of entity creation, activation and destruction.Functiondestroy_actor_dataDestroys actor data as part of the epok module.Functiondispatch_slot_triggerPerforms `dispatch slot trigger` as part of the actor tables module.Functiondispatch_triggerCollision is owned by the spatial services, not by the Level: they resolve the legacy slot to its actor and call this, which fans the event out to the owner's components in registration order.Functiondistance_squared_raw_2dSquared distance in raw Q24; |position| <= 65536 keeps this inside 2^59.Functiondraw_key_2d---- draw order ---------------------------------------------------------------------- A single monotonically comparable key so the renderer never needs a multi-field comparator: layer (int8, coarse) above draw_order (int16) above the creation index (uint16, the tie breaker that makes the order stable and reproducible across frames).Functiondraw_order_varintDraws order varint as part of the draw order module.FunctioneaseQ12 easing.Functioneffect_matrixPerforms `effect matrix` as part of runtime effects and their deterministic playback state.Functioneffect_worldPerforms `effect world` as part of runtime effects and their deterministic playback state.Functionend_render_activation_snapshotEnds render activation snapshot as part of entity creation, activation and destruction.Functionentity_indexThe slot index of a legacy entity, or -1.Functionfind_actor_dataFinds actor data as part of the epok module.Functionfind_glyphMetrics are sorted by codepoint at import, so a miss costs log2(count) reads.Functionfind_object_classFinds object class as part of the object model module.Functionfind_pocket_appThe embedded program with this memory card file name, or nullptr.Functionfinish_packed_vertexPerforms `finish packed vertex` as part of Geometry Transformation Engine math and register operations.Functionfinish_projection_triplePerforms `finish projection triple` as part of Geometry Transformation Engine math and register operations.Functionfixed_in_rangePerforms `fixed in range` as part of the world2d module.Functionfloor_divFloor division for a positive divisor, matching the GTE's arithmetic shift.Functionfog_amountLinear fog: 0 before start, 4096 at or beyond end.Functionfog_colorPerforms `fog color` as part of runtime effects and their deterministic playback state.Function templatefonts_initializeAuthored fonts are 4bpp, so a row is a quarter of its pixel width in VRAM words, and the CLUT is sixteen entries rather than 256.Functionfrustum_gcdPerforms `frustum gcd` as part of the frustum module.Functionfrustum_outcodePerforms `frustum outcode` as part of the frustum module.Functionfrustum_outcode_unitsSame six half-spaces as the polygon clipper, before perspective division.Function templatefrustum_outcode32Plain 32-bit variant for inputs bounded by 2^27 in magnitude (the GTE projection path guarantees this); 3z+4y then cannot overflow.Function templategameplay_actor_dataPerforms `gameplay actor data` as part of the gameplay api module.Functiongameplay_actor_idPerforms `gameplay actor id` as part of the gameplay api module.Functiongameplay_card_metadataPerforms `gameplay card metadata` as part of the gameplay api module.Functiongameplay_card_slot_namePerforms `gameplay card slot name` as part of the gameplay api module.Functiongameplay_controlsPerforms `gameplay controls` as part of the gameplay control module.Functiongameplay_controls_activation_changedObserve the inactive state before a nested callback can enable the owner again.Functiongameplay_dungeon_pointPerforms `gameplay dungeon point` as part of the gameplay api module.Functiongameplay_dungeon_vectorPerforms `gameplay dungeon vector` as part of the gameplay api module.Functiongameplay_eventPerforms `gameplay event` as part of the utility module.Functiongameplay_event_queuePerforms `gameplay event queue` as part of the utility module.Functiongameplay_focusPerforms `gameplay focus` as part of the utility module.Functiongameplay_i16Performs `gameplay i16` as part of the gameplay api module.Functiongameplay_pocket_messageA PocketStation in a memory card slot (runtime/pocketstation.hpp).Functiongameplay_pocket_message_sizePerforms `gameplay pocket message size` as part of the gameplay api module.Functiongameplay_save_wordsPerforms `gameplay save words` as part of the gameplay api module.Functiongameplay_tweenPerforms `gameplay tween` as part of the utility module.Functiongameplay_tween_statePerforms `gameplay tween state` as part of the utility module.Functiongameplay_u16Performs `gameplay u16` as part of the gameplay api module.Functiongameplay_u8Performs `gameplay u8` as part of the gameplay api module.Functiongameplay_vectorPerforms `gameplay vector` as part of the gameplay api module.Functiongameplay_vector_tweenPerforms `gameplay vector tween` as part of the gameplay api module.Functiongameplay_vector_tween_valuePerforms `gameplay vector tween value` as part of the gameplay api module.Functiongameplay_world_affinePerforms `gameplay world affine` as part of the epok module.Functiongpu_clip_safeThe GPU clips pixels to its drawing area, but rejects primitives with spans >1023 horizontally or >511 vertically.Function templategte_average_depthAverage of the SZ FIFO after RTPT (SZ1..3) or RTPT+RTPS (SZ0..3).Functiongte_dividePerforms `gte divide` as part of the ordered projection module.Functiongte_project_pointScreen position exactly as RTPS/RTPT produce it from GTE MAC results (camera Y up, as ordered_gte_camera_reference returns it), or false where the GTE would flag the vertex: IR or SZ3 saturation, divide overflow, or SX/SY outside -0x400..0x3FF.Functiongte_vertex_bounds_fitPerforms `gte vertex bounds fit` as part of Geometry Transformation Engine math and register operations.FunctionhandlePerforms `handle` as part of the epok module.Functionhit_entityPerforms `hit entity` as part of the epok module.Functionhud_focus_edgesThis frame's direction, Cross and Circle edges across every port, for callers that read the shared Input rather than a wire message.Functionhud_focus_reachableD-pad focus movement over the authored neighbour table.Functionhud_focus_update`pressed` holds this frame's press edges in Button bit order.Functioninstall_actor_service_hooksPerforms `install actor service hooks` as part of scene lifecycle and scene-stack control.Functioninterpolate_rail_aim_parametersPerforms `interpolate rail aim parameters` as part of camera selection, projection and shared render resources.Functioninterpolate_track_cameraPerforms `interpolate track camera` as part of camera selection, projection and shared render resources.Functioninvalidate_actor_activationPerforms `invalidate actor activation` as part of the object model module.Functionis_activeReports whether active as part of the epok module.Functionis_active_slotSame test for a slot index; skips the pointer validation of is_active.Functionlayout_listList layout in native HUD pixels; anchoring remains the RectTransform system.FunctionlerpPerforms `lerp` as part of the utility module.Functionlimit_angle_turn12Performs `limit angle turn12` as part of camera selection, projection and shared render resources.Functionload_actor_bankLoads actor bank as part of the actor tables module.Functionload_average_depth_scaleAVSZ3/AVSZ4 scale factors; see ordered_gte_depth_average for the contract.Functionload_compact_projection_inputLoads compact projection input as part of Geometry Transformation Engine math and register operations.Function templateload_geometry_matrixUse MAC1..3, not the saturated 16-bit IR registers: the existing renderer's Q12 camera coordinates regularly exceed +/-8 world units.Function templateload_projection_inputFeed each prepared corner straight into its vector registers.Function templateload_projection_matrixLoads projection matrix as part of Geometry Transformation Engine math and register operations.Function templateload_projection_screenH is the pixel focal length shared by both axes; offsets are the screen centre.Functionload_projection_translationCaller validates the signed Q8 translation and retains the loaded rotation.Functionload_projection_wordsLoads projection words as part of Geometry Transformation Engine math and register operations.Function templatelocalCamera inverse composition uses the same local translations as meshes.Function templatelocal_matrixLocal matrix of a Transform2D: translate * rotate * scale, applied in that order to a point (scale first, then rotation, then translation).Functionmesh_faces_unlitAn imported editable mesh owns per-face materials.Functionmesh_geometry_stateThese are public gameplay entry points invoked from generated script translation units.Functionmodulate_channel(c * 128 + 127) / 255 for c in 0..255, exact without a division.Functionmodulate_colorPerforms `modulate color` as part of PSX polygon preparation, clipping and submission.FunctionMotionInterpolation<type-parameter-0-0, Capacity, true>Constructs `epok::MotionInterpolation` for the motion interpolation module.constructormove_and_slidePerforms `move and slide` as part of the epok module.Functionmusic_errorPerforms `music error` as part of XA music streaming and playback state.Functionmusic_is_playingPerforms `music is playing` as part of SPU sound playback and voice ownership.Functionmusic_playPerforms `music play` as part of SPU sound playback and voice ownership.Functionmusic_preparePerforms `music prepare` as part of XA music streaming and playback state.Functionmusic_retains_audio_sourceComponent-owned AudioSource storage stays quarantined while the XA consumer still points at it -- exactly the rule allocate_actor_data (runtime/lifecycle.hpp) applies to a legacy slot's `audio`.Functionmusic_stopPerforms `music stop` as part of SPU sound playback and voice ownership.Functionmusic_tickPerforms `music tick` as part of XA music streaming and playback state.Functionnarrow_chunk_boundsPerforms `narrow chunk bounds` as part of the frustum module.Functionnext_generationPerforms `next generation` as part of entity creation, activation and destruction.Functionobject_class_is_aAncestry walk bounded by the table size; the cook rejects cycles before emitting.Functionobject_constructPlacement-new into caller storage; destroy runs the virtual destructor of the concrete type, so a base pointer never slices.Function templateobject_destructPerforms `object destruct` as part of the object model module.Functionobject_domain_bitOwner domain masks for components.Functionobject_storage_quarantinedDefined after AudioComponent; `false` for every object that owns no retained storage.Functionordered_depth_averageExact signed division (truncate toward zero), without MIPS DIV.Functionordered_face_blockA face's projection block index sits above its two topology bits.Functionordered_gte_camera_referenceIndependent integer oracle for the MAC results of the loaded projection matrix.Function templateordered_gte_depth_averagePerforms `ordered gte depth average` as part of the ordered projection module.Functionordered_gte_input_fitsQ8 operands derived from signed Q12 each fit 28 bits.Functionordered_projection_anchorRebase Q8 operands on a 4096-Q8 (16-world-unit) lattice RELATIVE to the camera.Function templateordered_projection_blockPerforms `ordered projection block` as part of the ordered draw types module.Functionordered_screen_insidePerforms `ordered screen inside` as part of the ordered projection module.Function templateordered_screen_inside_bitsPerforms `ordered screen inside bits` as part of the ordered projection module.Function templateordered_screen_outsideTrivial rejection on packed SXY words, the reference pass's test: true when every corner lies on the same outer side of the viewport, exactly when the corners' bounding box misses it.Function templateordered_vertex_worldExact Q12 world position of a stored vertex, for the CPU and validation paths: (relative + center) * 16 + fraction reproduces the cooked Q12 value.FunctionoverlapPerforms `overlap` as part of the epok module.Functionpack_colorPerforms `pack color` as part of PSX polygon preparation, clipping and submission.Functionpack_projection_inputPerforms `pack projection input` as part of Geometry Transformation Engine math and register operations.Functionpacket_colorPerforms `packet color` as part of PSX polygon preparation, clipping and submission.Functionpick_2dTopmost entry under a screen point (highest draw key wins; ties go to the lowest index, which keeps the result stable).Functionpocket_app_atPerforms `pocket app at` as part of the pocketstation apps module.Functionpocket_error_messagePerforms `pocket error message` as part of the pocketstation module.FunctionpreparePerforms `prepare` as part of the motion interpolation module.Function templateprewarm_geometryQueue resident baked/unlit geometry, including inactive unlit actor pools, for bounded packet preparation.Functionproject_cpuCPU perspective for clipped or fallback vertices, rounding like the GTE so mixed triangles share edges.Function templateproject_geometry_triplePerforms `project geometry triple` as part of Geometry Transformation Engine math and register operations.Functionproject_geometry_vertexCamera output is Q8 with Y up.Function templateproject_ordered_cpuFull-range projection is not synonymous with clipping.Function templateproject_packed_vertexPerforms `project packed vertex` as part of Geometry Transformation Engine math and register operations.Functionquery_groundPerforms `query ground` as part of the epok module.Functionrail_errorPerforms `rail error` as part of the rail navigation module.Functionrail_pending_cutPerforms `rail pending cut` as part of the rail navigation module.Functionrail_preparePerforms `rail prepare` as part of the rail navigation module.Functionrail_projectionPerforms `rail projection` as part of the rail navigation module.Functionrail_set_link_enabledThis controller consumes world-space player position, never pad input.FunctionraycastSpatial queries use world coordinates.Functionraycast_batchOne synchronized world snapshot for independent queries.Functionread_average_depthReads average depth as part of Geometry Transformation Engine math and register operations.Functionremove_effect_particlesRemoves effect particles as part of runtime effects and their deterministic playback state.Functionremove_runtime_ownerRemoves runtime owner as part of the epok module.Functionrendered_actor_scanlinesCoarse diagnostic for the most recently completed draw of this data slot.Functionrequest_mesh_geometryRequests mesh geometry as part of the epok module.Functionrequest_sceneRequests scene as part of the epok module.Functionreset_motion_interpolationCall after an intentional teleport/cut to snap visual position history.Functionreset_runtime_servicesResets runtime services as part of the epok module.Functionretain_mesh_packetsPerforms `retain mesh packets` as part of the retained module.Functionsample_mesh_vertexPerforms `sample mesh vertex` as part of the epok module.Functionscale_channela * b / 255 for 0..255 inputs, exact.Functionscene_bank_externalPerforms `scene bank external` as part of scene lifecycle and scene-stack control.Functionscene_bank_readyPerforms `scene bank ready` as part of scene lifecycle and scene-stack control.Functionscene_file_beginStart loading the file of an external bank.Functionscene_file_bootAt boot, an external startup bank waits for its file like a transition.Functionscene_file_failPerforms `scene file fail` as part of scene lifecycle and scene-stack control.Functionscene_file_progressFraction of the current file verified so far, 0..4096 (Q12).Functionscene_file_publishPerforms `scene file publish` as part of scene lifecycle and scene-stack control.Functionscene_file_release_drivePerforms `scene file release drive` as part of scene lifecycle and scene-stack control.Functionscene_file_retryAfter a failure, start the same file again once no read owns the region.Functionscene_file_serviceAdvance the current load.Functionscene_file_tickThe outgoing scene is gone and the next bank's file is loading behind the loading screen.Functionscene_file_waitingPerforms `scene file waiting` as part of scene lifecycle and scene-stack control.Functionscene_files_preparePerforms `scene files prepare` as part of scene lifecycle and scene-stack control.Functionscene_loadingPerforms `scene loading` as part of the epok module.Functionscene_regionPerforms `scene region` as part of scene lifecycle and scene-stack control.Functionscene_region_bytesPerforms `scene region bytes` as part of scene lifecycle and scene-stack control.Functionscene_rejected_countPerforms `scene rejected count` as part of the epok module.Functionscene_retire_bankConsume before callbacks: end-play and begin-play may queue the next change.Functionscene_start_bankPerforms `scene start bank` as part of entity creation, activation and destruction.Functionscene_stop_audioPerforms `scene stop audio` as part of entity creation, activation and destruction.Functionscene_tickPerforms `scene tick` as part of scene lifecycle and scene-stack control.Functionscene_transition_countPerforms `scene transition count` as part of the epok module.Functionscene_waitingPerforms `scene waiting` as part of the epok module.Functionscreen_areaPerforms `screen area` as part of PSX polygon preparation, clipping and submission.Function templatescreen_backfaceScreen area sign in the GPU's coordinate system; zero for degenerate triangles.Functionscreen_to_worldExact inverse of world_to_screen up to Q12 rounding.Functionscroll_triangleSplit at texture wrap boundaries before converting UV to 8-bit page pixels.Function templateselectOnly 3D presentation participants and their ancestors need histories.Function templatesequence_clock_faultPerforms `sequence clock fault` as part of the sequence service module.Functionsequence_clock_irqPerforms `sequence clock irq` as part of the sequence clock module.Functionsequence_clock_startPerforms `sequence clock start` as part of the sequence clock module.Functionsequence_elapsed_ticksTimer 2 wraps every 15.48 ms.Functionsequence_flush_startsPerforms `sequence flush starts` as part of the sequence instrument service module.Functionsequence_hsyncPerforms `sequence hsync` as part of the sequence clock module.Functionsequence_is_playingPerforms `sequence is playing` as part of the sequence service module.Functionsequence_parametersPerforms `sequence parameters` as part of the sequence service module.Functionsequence_playPerforms `sequence play` as part of the sequence service module.Functionsequence_preparePerforms `sequence prepare` as part of the sequence service module.Functionsequence_retiringPerforms `sequence retiring` as part of the sequence service module.Functionsequence_servicePerforms `sequence service` as part of the sequence service module.Functionsequence_stopPerforms `sequence stop` as part of the sequence service module.Functionsequence_update_sourcesPerforms `sequence update sources` as part of the sequence service module.Functionsequence_voice_stolenPerforms `sequence voice stolen` as part of the sequence service module.Functionserial_recover_dmaThe resident serial handler can consume a CPU IRQ while an enabled DMA flag remains asserted in DICR.Function templateserial_schedule_dma_pollPsyQo periodic timers advance one period per pump, even when several periods have elapsed.Function templateset_activeSets active as part of the epok module.Functionset_active_cameraSets active camera as part of the epok module.Functionset_visibility_trackSets visibility track as part of frustum tests and chunk visibility.Functionset_world3d_visibleSets world3d visible as part of the epok module.Functionsin_degreesSine of an angle in degrees.Functionsine_turn12One turn = 4096; result is signed Q12.Functionskeletal_sample_bonePerforms `skeletal sample bone` as part of the epok module.Functionskeletal_sample_vertexPerforms `skeletal sample vertex` as part of the epok module.Functionskeletal_sample_vertex_implPerforms `skeletal sample vertex impl` as part of rigid skeletal animation and pose evaluation.Functionskeletal_sample_verticesPerforms `skeletal sample vertices` as part of the epok module.Functionskeletal_world_pointPerforms `skeletal world point` as part of the epok module.Functionsky_gradient_colorPerforms `sky gradient color` as part of the sky gradient module.Functionsky_gradient_mixPerforms `sky gradient mix` as part of the sky gradient module.Functionsky_gradient_viewbasis: camera-from-world rotation (Q12 rows).Function templatesmooth_angle_turn12Performs `smooth angle turn12` as part of camera selection, projection and shared render resources.Functionsort_draw_orderBounded, allocation-free, stable insertion sort of an index array by draw key.Function templatestore_projection_tripleSame outputs as finish_projection_triple, stored even when the GTE flagged the projection; returns whether it was unflagged.Functionstream_hash_multiplyPerforms `stream hash multiply` as part of bounded CD or PC geometry-page streaming.Functionstream_page_hashPerforms `stream page hash` as part of bounded CD or PC geometry-page streaming.Functionstream_page_hash_updatePerforms `stream page hash update` as part of bounded CD or PC geometry-page streaming.Functionstream_read_committed_sectorsA scheduled sector is not necessarily in RAM yet.Functionstreaming_acquirePerforms `streaming acquire` as part of bounded CD or PC geometry-page streaming.Functionstreaming_acquire_slotPerforms `streaming acquire slot` as part of bounded CD or PC geometry-page streaming.Functionstreaming_acquire_slot_slowPerforms `streaming acquire slot slow` as part of bounded CD or PC geometry-page streaming.Functionstreaming_begin_working_setCamera-driven demand streaming: pin every resident member of this frame's bounded working set, then start at most one missing page.Function templatestreaming_bind_chainPerforms `streaming bind chain` as part of bounded CD or PC geometry-page streaming.Functionstreaming_bind_objectPerforms `streaming bind object` as part of bounded CD or PC geometry-page streaming.Functionstreaming_descriptor_validExported descriptors are immutable.Functionstreaming_end_working_setPerforms `streaming end working set` as part of bounded CD or PC geometry-page streaming.Function templatestreaming_finish_readPerforms `streaming finish read` as part of bounded CD or PC geometry-page streaming.Functionstreaming_hash_slicePerforms `streaming hash slice` as part of bounded CD or PC geometry-page streaming.Functionstreaming_lookupPerforms `streaming lookup` as part of bounded CD or PC geometry-page streaming.Functionstreaming_prefetchOpportunistic only: XA playback and a pending XA request retain priority.Functionstreaming_prefetch_neededPerforms `streaming prefetch needed` as part of bounded CD or PC geometry-page streaming.Functionstreaming_preparePerforms `streaming prepare` as part of bounded CD or PC geometry-page streaming.Functionstreaming_releasePerforms `streaming release` as part of bounded CD or PC geometry-page streaming.Functionstreaming_request_pageGameplay requests are deliberately queued: the script call never performs a CD seek or waits for callbacks.Functionstreaming_required_page_readyForeground demand may borrow ONE additional sector slice in this frame.Functionstreaming_resolve_archive_meshPerforms `streaming resolve archive mesh` as part of bounded CD or PC geometry-page streaming.Functionstreaming_resolve_stableOnly whole-archive pools permit unpinned payload views.Functionstreaming_retryA failed CD/host operation may be retried only after every callback has relinquished its buffers.Functionstreaming_scene_changedPerforms `streaming scene changed` as part of bounded CD or PC geometry-page streaming.Functionstreaming_service_gameplay_requestsPerforms `streaming service gameplay requests` as part of bounded CD or PC geometry-page streaming.Functionstreaming_start_readPerforms `streaming start read` as part of bounded CD or PC geometry-page streaming.Functionstreaming_tickRelease the controller only after every parser/read/XA callback has drained.Functionstreaming_verify_clockPerforms `streaming verify clock` as part of bounded CD or PC geometry-page streaming.Functionstreaming_verify_slicePerforms `streaming verify slice` as part of bounded CD or PC geometry-page streaming.Functionstreaming_warmupThe caller selects a startup working set from resident metadata.Functionstreaming_warmup_sceneA bounded small-scene startup policy.Function templatestreaming_working_page_readyPerforms `streaming working page ready` as part of bounded CD or PC geometry-page streaming.Function templateswept_boundsPerforms `swept bounds` as part of bounded AABB collision queries and movement.Function templatetexturePerforms `texture` as part of native text data and HUD text components.Functiontexture_base_uPerforms `texture base u` as part of native text data and HUD text components.Functiontexture_clutPerforms `texture clut` as part of native text data and HUD text components.Functiontexture_colorsPerforms `texture colors` as part of native text data and HUD text components.Functiontexture_packed_uvPerforms `texture packed uv` as part of native text data and HUD text components.Functiontexture_pagePerforms `texture page` as part of native text data and HUD text components.Functiontexture_presentPerforms `texture present` as part of native text data and HUD text components.Functiontexture_uvPerforms `texture uv` as part of native text data and HUD text components.Functiontextures_clear_of_displayEvery cooked bank asserts this.Function templatetick_group_callbackPerforms `tick group callback` as part of the object model module.Functiontint_colorPerforms `tint color` as part of PSX polygon preparation, clipping and submission.Functiontransform_geometry_vertexPerforms `transform geometry vertex` as part of Geometry Transformation Engine math and register operations.Functiontransform2d_clampClamps into the documented range instead of rejecting.Functiontransform2d_validDocumented validity of a Transform2D.Functiontransition_audio_gainRead-only to gameplay.Functionunload_actor_bankPerforms `unload actor bank` as part of the actor tables module.Functionupdate_retained_triangleThe retained packet's command, colors and UVs already exist.Function templateupdate_retained_uniform_colorUpdates retained uniform color as part of the fragment slot module.Function templateupload_texture_bankAcquire returns a pinned, checksum-verified page; upload MUST be blocking.Function templateutf8_scalarOne UTF-8 scalar from `text`, advancing `n` past it.Functionutility_actor_dataPerforms `utility actor data` as part of the utility module.Functionutility_actor_idPerforms `utility actor id` as part of the utility module.Functionvisibility_chunkPerforms `visibility chunk` as part of frustum tests and chunk visibility.Functionvisibility_facePerforms `visibility face` as part of frustum tests and chunk visibility.Functionvisibility_has_page_setsPerforms `visibility has page sets` as part of frustum tests and chunk visibility.Functionvisibility_next_maskPerforms `visibility next mask` as part of frustum tests and chunk visibility.Functionvisibility_prefetch_nextPerforms `visibility prefetch next` as part of frustum tests and chunk visibility.Functionvisibility_track_applyPerforms `visibility track apply` as part of frustum tests and chunk visibility.Functionvisibility_varintPerforms `visibility varint` as part of frustum tests and chunk visibility.Functionvisibility_verticesPerforms `visibility vertices` as part of frustum tests and chunk visibility.Function templatevisibility_visit_lookahead_pagesOptional read-ahead for a deterministic playback path.Function templatevisibility_visit_pagesPerforms `visibility visit pages` as part of frustum tests and chunk visibility.Function templatevisibility_xor_runToggle a cooked contiguous run a word at a time.Functionworld_matrix_2dWorld matrix of a SceneComponent2D by walking its attach_parent chain.Function templateworld_to_screenPerforms `world to screen` as part of the world2d module.Function

Variables and constants

__epok_scene_region_endExposes `__epok_scene_region_end` on the `epok` namespace for scene lifecycle and scene-stack control.Variable__epok_scene_region_startExternal scenes keep their data out of the executable.Variableactive_object_registryRegistry bound by the active Level.Variableactive_visibility_trackExposes `active_visibility_track` on the `epok` namespace for frustum tests and chunk visibility.Variableactor_activation_revisionActor activation is private state, changed only through Level.Variableactor_component_capacityExposes `actor_component_capacity` on the `epok` namespace for the object model module.Variableactor_statsExposes `actor_stats` on the `epok` namespace for the actor tables module.Variableactor_template_lookupExposes `actor_template_lookup` on the `epok` namespace for the actor tables module.Variableaudio_addressesExposes `audio_addresses` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_bankExposes `audio_bank` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_countExposes `audio_count` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_frameExposes `audio_frame` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_off_scanlineExposes `audio_off_scanline` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_off_validExposes `audio_off_valid` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_readyExposes `audio_ready` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_reuse_statsExposes `audio_reuse_stats` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_source_retained---- service quarantine ------------------------------------------------------------ Some services retain the address of a component's storage across asynchronous callbacks.Variableaudio_upload_addressExposes `audio_upload_address` on the `epok` namespace for SPU sound playback and voice ownership.Variableaudio_voicesExposes `audio_voices` on the `epok` namespace for SPU sound playback and voice ownership.Variablebaked_face_double_sidedFace flags in uv_tpage.Variablebaked_face_flagsFace flags in uv_tpage.Variablebaked_face_indexed_colorFace flags in uv_tpage.Variablebaked_face_semi_transparentFace flags in uv_tpage.Variablebaked_face_texturedFace flags in uv_tpage.Variablecompound_grid_max_partsExposes `compound_grid_max_parts` on the `epok` namespace for bounded AABB collision queries and movement.Variableeffect_statsExposes `effect_stats` on the `epok` namespace for runtime effects and their deterministic playback state.Variablefocus_cancelledExposes `focus_cancelled` on the `epok` namespace for the epok module.Variablefocus_changedExposes `focus_changed` on the `epok` namespace for the epok module.Variablefocus_pressedExposes `focus_pressed` on the `epok` namespace for the epok module.Variablefog_environmentExposes `fog_environment` on the `epok` namespace for runtime effects and their deterministic playback state.Variablegte_projection_flagsPerspective path.Variablegte_shared_origin_limitLargest Q8 chunk origin that keeps origin + any int16 Q12 vertex within the GTE's 16-bit vector inputs.Variablegte_unr_tableExposes `gte_unr_table` on the `epok` namespace for the ordered projection module.Variablehud_statsExposes `hud_stats` on the `epok` namespace for native text data and HUD text components.VariableinputExposes `input` on the `epok` namespace for controller sampling and simulation-tick input edges.VariablelevelExposes `level` on the `epok` namespace for the actor tables module.Variablelevel_actor_capacityExposes `level_actor_capacity` on the `epok` namespace for the object model module.Variablelevel_pending_capacityExposes `level_pending_capacity` on the `epok` namespace for the object model module.Variablelifecycle_tearing_downExposes `lifecycle_tearing_down` on the `epok` namespace for entity creation, activation and destruction.Variablelighting_environmentExposes `lighting_environment` on the `epok` namespace for the epok module.Variablelighting_statsExposes `lighting_stats` on the `epok` namespace for the epok module.Variablelighting_workExposes `lighting_work` on the `epok` namespace for the lighting module.Variableline2d_follow_limitExposes `line2d_follow_limit` on the `epok` namespace for the world2d content module.Variableline2d_max_points---- Line2D ------------------------------------------------------------------------------- A polyline of up to `line2d_max_points` points drawn `width` pixels wide, its colour blending from `begin_color` to `end_color`.VariablelocalizationExposes `localization` on the `epok` namespace for native text data and HUD text components.Variablememory_cardExposes `memory_card` on the `epok` namespace for asynchronous Memory Card access and files.Variablemesh_Exposes `mesh_` on the `epok` namespace for bounded CD or PC geometry-page streaming.Fieldmesh_baked_drawmesh_static_world: a baked chunk cooked in world space (visibility track static_world), drawn with the camera's matrix instead of its actor's.Variablemesh_editablemesh_static_world: a baked chunk cooked in world space (visibility track static_world), drawn with the camera's matrix instead of its actor's.Variablemesh_static_worldmesh_static_world: a baked chunk cooked in world space (visibility track static_world), drawn with the camera's matrix instead of its actor's.Variablemesh_statsExposes `mesh_stats` on the `epok` namespace for the epok module.Variablemusic_actionExposes `music_action` on the `epok` namespace for XA music streaming and playback state.Variablemusic_activeExposes `music_active` on the `epok` namespace for XA music streaming and playback state.Variablemusic_active_serialExposes `music_active_serial` on the `epok` namespace for XA music streaming and playback state.Variablemusic_boot_failedGeometry reads and XA share the physical controller and ISO parser.Variablemusic_bootingExposes `music_booting` on the `epok` namespace for XA music streaming and playback state.Variablemusic_data_ownerGeometry reads and XA share the physical controller and ISO parser.Variablemusic_driveExposes `music_drive` on the `epok` namespace for XA music streaming and playback state.Variablemusic_entryExposes `music_entry` on the `epok` namespace for XA music streaming and playback state.Variablemusic_filesExposes `music_files` on the `epok` namespace for XA music streaming and playback state.Variablemusic_lookupExposes `music_lookup` on the `epok` namespace for XA music streaming and playback state.Variablemusic_preparedExposes `music_prepared` on the `epok` namespace for XA music streaming and playback state.Variablemusic_readyExposes `music_ready` on the `epok` namespace for XA music streaming and playback state.Variablemusic_request_serialExposes `music_request_serial` on the `epok` namespace for XA music streaming and playback state.Variablemusic_requestedExposes `music_requested` on the `epok` namespace for XA music streaming and playback state.Variablemusic_scene_readingAn external scene file is being read (scene_files.hpp); geometry reads wait.Variablemusic_sequence_statsExposes `music_sequence_stats` on the `epok` namespace for the sequence service module.Variablemusic_statsOne CD controller owns one XA stream.Variableobject_class_countExposes `object_class_count` on the `epok` namespace for the object model module.Variableobject_classesEmitted by the Rust cook next to the scene banks.Variableobject_hierarchy_depthExposes `object_hierarchy_depth` on the `epok` namespace for the object model module.Variableobject_registryExposes `object_registry` on the `epok` namespace for the actor tables module.Variableobject_registry_capacityExposes `object_registry_capacity` on the `epok` namespace for the actor tables module.Variableordered_draw_abiExposes `ordered_draw_abi` on the `epok` namespace for the ordered draw types module.Variableordered_draw_statsExposes `ordered_draw_stats` on the `epok` namespace for the ordered draw types module.Variableordered_projection_compactExposes `ordered_projection_compact` on the `epok` namespace for the ordered draw types module.Variableordered_zsf3The GTE's AVSZ3/AVSZ4 form ZSF * sum >> 12 (arithmetic) saturated to 0..0xffff.Variableordered_zsf4The GTE's AVSZ3/AVSZ4 form ZSF * sum >> 12 (arithmetic) saturated to 0..0xffff.Variablepalette_statsExposes `palette_stats` on the `epok` namespace for CLUT animation and palette ownership.Variableparticle_statsExposes `particle_stats` on the `epok` namespace for bounded particle simulation and rendering.Variablepending_sceneExposes `pending_scene` on the `epok` namespace for entity creation, activation and destruction.Variablepending_transitionExposes `pending_transition` on the `epok` namespace for entity creation, activation and destruction.Variableperformance_statsExposes `performance_stats` on the `epok` namespace for the epok module.Variablepixels_per_unit_2dScreen pixels covered by one world unit at zoom 1.Variablepocket_app_countExposes `pocket_app_count` on the `epok` namespace for the pocketstation apps module.VariablepocketstationExposes `pocketstation` on the `epok` namespace for the pocketstation module.Variableprojection_focalExposes `projection_focal` on the `epok` namespace for the epok module.Variableprojection_focal_xExposes `projection_focal_x` on the `epok` namespace for the epok module.Variablerail_aim_stateExposes `rail_aim_state` on the `epok` namespace for camera selection, projection and shared render resources.Variablerail_navigation_stateExposes `rail_navigation_state` on the `epok` namespace for the rail navigation types module.Variablerender_activation_snapshotRendering is a read-only actor phase.Variablerender_active_slotsExposes `render_active_slots` on the `epok` namespace for entity creation, activation and destruction.Variableresource_usageExposes `resource_usage` on the `epok` namespace for bounded runtime resource registries and accounting.Variableretained_statsExposes `retained_stats` on the `epok` namespace for the retained module.VariablerumbleExposes `rumble` on the `epok` namespace for bounded controller motor pulses and cancellation.Variablescene_file_bankBank whose file is being loaded before its load function may run, or -1.Variablescene_file_entryExposes `scene_file_entry` on the `epok` namespace for scene lifecycle and scene-stack control.Variablescene_file_host_chunkPCDrv reads block the frame; smaller reads keep the loading screen updating.Variablescene_file_loadExposes `scene_file_load` on the `epok` namespace for scene lifecycle and scene-stack control.Variablescene_file_statsExposes `scene_file_stats` on the `epok` namespace for scene lifecycle and scene-stack control.Variablescene_file_timeout_usExposes `scene_file_timeout_us` on the `epok` namespace for scene lifecycle and scene-stack control.Variablescene_read_actionExposes `scene_read_action` on the `epok` namespace for scene lifecycle and scene-stack control.Variablescene_statsExposes `scene_stats` on the `epok` namespace for entity creation, activation and destruction.Variablescene_stoppingExposes `scene_stopping` on the `epok` namespace for entity creation, activation and destruction.Variablescene_transitioningExposes `scene_transitioning` on the `epok` namespace for entity creation, activation and destruction.Variablescreen_fadePost-HUD fade to black.Variablesequence_clock_diagnosticsExposes `sequence_clock_diagnostics` on the `epok` namespace for the sequence clock module.Variablesequence_fractionExposes `sequence_fraction` on the `epok` namespace for the sequence clock module.Variablesequence_irq_begin_ticksExposes `sequence_irq_begin_ticks` on the `epok` namespace for the sequence service module.Variablesequence_previous_linesTimer 0 runs at system clock: target 64000 gives ~529 Hz.Variablesequence_previous_ticksTimer 0 runs at system clock: target 64000 gives ~529 Hz.Variablesequence_statsExposes `sequence_stats` on the `epok` namespace for fixed-step simulation time and frame timing.Variablesequence_storage_depthExposes `sequence_storage_depth` on the `epok` namespace for the sequence clock module.Variablesequence_timing_statsExposes `sequence_timing_stats` on the `epok` namespace for the sequence service module.Variablesky_gradient_down_bandExposes `sky_gradient_down_band` on the `epok` namespace for the sky gradient module.Variablesky_gradient_up_bandThe sky colour is reached about 45 degrees above the horizon (sin 0.7) and the ground colour about 15 degrees below it (sin 0.25).Variableslot_activation_memosExposes `slot_activation_memos` on the `epok` namespace for entity creation, activation and destruction.Variablesprite_statsExposes `sprite_stats` on the `epok` namespace for sprites, flipbooks and screen-facing rendering.Variablestream_archive_fitsGenerated scene.hh provides stream_page_count, stream_pool_pages and stream_archive_path.Variablestream_entryExposes `stream_entry` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_failedExposes `stream_failed` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_gameplay_request_countExposes `stream_gameplay_request_count` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_gameplay_requestsExposes `stream_gameplay_requests` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_invalid_pageExposes `stream_invalid_page` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_lookup_pendingExposes `stream_lookup_pending` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_lookup_startedExposes `stream_lookup_started` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_page_bytesExposes `stream_page_bytes` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_page_dataFixed-slot pools never evict.Variablestream_page_sectorsExposes `stream_page_sectors` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_poolExposes `stream_pool` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_read_actionExposes `stream_read_action` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_read_pendingExposes `stream_read_pending` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_readyExposes `stream_ready` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_timeout_usExposes `stream_timeout_us` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_verificationExposes `stream_verification` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestream_verify_overlap_bytesSeparate symbol keeps the existing five-word diagnostics ABI intact.Variablestream_verify_slice_bytesOne CD sector per normal frame.Variablestream_warm_sceneExposes `stream_warm_scene` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestreaming_statsExposes `streaming_stats` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestreaming_verify_statsExposes `streaming_verify_stats` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variablestreaming_warmup_statsExposes `streaming_warmup_stats` on the `epok` namespace for bounded CD or PC geometry-page streaming.Variabletexture_load_statsExposes `texture_load_stats` on the `epok` namespace for native text data and HUD text components.Variabletile_chunk_cellsExposes `tile_chunk_cells` on the `epok` namespace for the world2d tiles module.Variabletile_chunk_shiftExposes `tile_chunk_shift` on the `epok` namespace for the world2d tiles module.Variabletile_flip_hExposes `tile_flip_h` on the `epok` namespace for the world2d tiles module.Variabletile_flip_vExposes `tile_flip_v` on the `epok` namespace for the world2d tiles module.Variabletile_index_maskExposes `tile_index_mask` on the `epok` namespace for the world2d tiles module.Variabletile_one_wayExposes `tile_one_way` on the `epok` namespace for the world2d tiles module.Variabletile_transposeExposes `tile_transpose` on the `epok` namespace for the world2d tiles module.VariabletimeExposes `time` on the `epok` namespace for fixed-step simulation time and frame timing.VariabletransitionExposes `transition` on the `epok` namespace for scene loading transitions and fade state.Variablevideo_has_audioExposes `video_has_audio` on the `epok` namespace for full-motion video clips and playback statistics.Variablevideo_statsExposes `video_stats` on the `epok` namespace for full-motion video clips and playback statistics.Variablevideo_tv_levelsExposes `video_tv_levels` on the `epok` namespace for full-motion video clips and playback statistics.Variablevisibility_page_selectionExposes `visibility_page_selection` on the `epok` namespace for frustum tests and chunk visibility.Variablevisibility_track_elapsedExposes `visibility_track_elapsed` on the `epok` namespace for frustum tests and chunk visibility.Variablevisibility_track_startedExposes `visibility_track_started` on the `epok` namespace for frustum tests and chunk visibility.Variablevisibility_track_statsExposes `visibility_track_stats` on the `epok` namespace for frustum tests and chunk visibility.Variableworld2d_depth_limitMaximum length of an attachment chain resolved in one call (root included).Variableworld2d_position_limitExposes `world2d_position_limit` on the `epok` namespace for the world2d module.Variableworld2d_scale_limitExposes `world2d_scale_limit` on the `epok` namespace for the world2d module.Variableworld3d_visibleOpaque menus can hide 3D geometry, billboards and shadows while keeping the camera, audio, scene state and authored HUD alive.Variable