Epok Engine

EPOK RUNTIME

Gameplay Api

gameplay_api.hpp · the gameplay api module

Module

the gameplay api module.

Header
gameplay_api.hpp
Include
#include "gameplay_api.hpp"
Stability
Epok runtime API

Include this module

C++ include
#include "gameplay_api.hpp"

Types

CardFileSampleStruct 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.StructFogSettingsPer-scene distance fog.StructGameplayAabbStruct declared by the gameplay-api module for the gameplay api module.StructGameplayCamera2DStruct declared by the gameplay-api module for the gameplay api 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.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.StructInputAxisSampleStruct declared by the gameplay-api module for the gameplay api module.StructInputLibraryStruct declared by the gameplay-api module for the gameplay api module.StructMathLibraryStruct declared by the gameplay-api module for the gameplay api module.StructMemoryCardLibraryStruct declared by the gameplay-api module for the gameplay api module.StructMemoryCardSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructMovementIntentA dead-zoned analog stick reduced to a planar direction and a strength.StructMoveSampleStruct declared by the gameplay-api module for the gameplay api module.StructPlaybackLibraryStruct declared by the gameplay-api module for the gameplay api module.StructProjectedPointStruct declared by the gameplay-api module for the gameplay api module.StructResourceLibraryStruct declared by the gameplay-api module for the gameplay api module.StructResourceSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructSavePayload8Struct declared by the gameplay-api module for the gameplay api module.StructSceneLibraryStruct declared by the gameplay-api module for the gameplay api module.StructSceneSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructSkeletalQuerySnapshotStruct declared by the gameplay-api module for the gameplay api module.StructTimeLibraryStruct declared by the gameplay-api module for the gameplay api module.StructTimeSnapshotStruct declared by the gameplay-api module for the gameplay api module.StructUtilityVectorLibraryThe Vector3 half of the `utilities` group.StructVector3TweenAdvanceSampleStruct declared by the gameplay-api module for the gameplay api module.StructWorld2DLibraryStruct declared by the gameplay-api module for the gameplay api module.Struct

Functions and methods

active_camera_actorPerforms `active camera actor` as part of the gameplay api module.MethodaddAdds add as part of the gameplay api module.MethodanalogPerforms `analog` as part of the gameplay api module.MethodaxisPerforms `axis` as part of the gameplay api module.Methodburst_effectPerforms `burst effect` as part of the gameplay api module.MethodclampPerforms `clamp` as part of the gameplay api module.Methodclear_skeletal_queriesClears skeletal queries as part of the gameplay api module.Methodclear_staged_payloadClears staged payload as part of the gameplay api module.MethodconnectedPerforms `connected` as part of the gameplay api module.Methodcosine_degreesPerforms `cosine degrees` as part of the gameplay api module.Methoddelta_degreesShortest signed turn from one heading to another, in -180..180.Methodeffect_sequencePerforms `effect sequence` as part of the gameplay api module.Methodeffect_statePerforms `effect state` as part of the gameplay api module.MethodfilePerforms `file` as part of the gameplay api module.MethodfogPerforms `fog` as part of the gameplay api module.Methodframe_pressedPerforms `frame pressed` as part of the gameplay api module.Methodframe_releasedPerforms `frame released` as part of the gameplay api module.Methodgameplay_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_slot_namePerforms `gameplay card slot name` as part of the gameplay api module.Functiongameplay_i16Performs `gameplay i16` as part of the gameplay api module.Functiongameplay_save_wordsPerforms `gameplay save words` as part of the gameplay api 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.FunctiongroundPerforms `ground` as part of the gameplay api module.Methodheading_degreesHeading of a planar vector in degrees, measured from +y towards +x, so a stick pushed forward reads 0 and a stick pushed right reads 90.MethodheldPerforms `held` as part of the gameplay api module.MethodlengthPerforms `length` as part of the gameplay api module.Methodlength2Performs `length2` as part of the gameplay api module.MethodlerpPerforms `lerp` as part of the gameplay api module.MethodlistPerforms `list` as part of the gameplay api module.Methodloaded_wordLoads ed word as part of the gameplay api module.MethodmovePerforms `move` as part of the gameplay api module.Methodmove_towardPerforms `move toward` as part of the gameplay api module.Methodmove_toward_degreesThe same approach on a circle: turns the short way and never overshoots.Methodoverlap_boxPerforms `overlap box` as part of the gameplay api module.Methodpause_effectPauses effect as part of the gameplay api module.Methodpause_sequencePauses sequence as part of the gameplay api module.MethodpausedPauses d as part of the gameplay api module.MethodpayloadPerforms `payload` as part of the gameplay api module.Methodplay_effectStarts effect as part of the gameplay api module.Methodplay_sequenceStarts sequence as part of the gameplay api module.MethodpressedPerforms `pressed` as part of the gameplay api module.MethodprobePerforms `probe` as part of the gameplay api module.MethodprojectPerforms `project` as part of the gameplay api module.Methodraycast_segmentPerforms `raycast segment` as part of the gameplay api module.MethodreadReads read as part of the gameplay api module.MethodreleasedPerforms `released` as part of the gameplay api module.MethodrequestRequests request as part of the gameplay api module.Methodrequest_with_transitionRequests with transition as part of the gameplay api module.Methodresume_effectResumes effect as part of the gameplay api module.Methodresume_sequenceResumes sequence as part of the gameplay api module.MethodscalePerforms `scale` as part of the gameplay api module.Methodscreen_fadeThe post-HUD fade to black, 0 clear to 255 opaque, clamped rather than rejected because every amount above the range has one nearest valid value.Methodscreen_to_worldPerforms `screen to world` as part of the gameplay api module.Methodsequence_statePerforms `sequence state` as part of the gameplay api module.Methodset_cameraSets camera as part of the gameplay api module.Methodset_fogSets fog as part of the gameplay api module.Methodset_pausedSets paused as part of the gameplay api module.Methodset_screen_fadeSets screen fade as part of the gameplay api module.Methodset_staged_wordSets staged word as part of the gameplay api module.Methodsine_degreesTrigonometry, roots and angle arithmetic in the engine's own Q12 form.Methodskeletal_queriesPerforms `skeletal queries` as part of the gameplay api module.MethodsmoothstepPerforms `smoothstep` as part of the gameplay api module.MethodsnapshotPerforms `snapshot` as part of the gameplay api module.MethodsnapshotPerforms `snapshot` as part of the gameplay api module.MethodsnapshotPerforms `snapshot` as part of the gameplay api module.MethodsnapshotPerforms `snapshot` as part of the gameplay api module.Methodsquare_rootPerforms `square root` as part of the gameplay api module.Methodstaged_wordPerforms `staged word` as part of the gameplay api module.Methodstick_dead_zoneThe engine's standard analog dead zone, as a share of full deflection.Methodstick_intentPerforms `stick intent` as part of the gameplay api module.Methodstop_effectStops effect as part of the gameplay api module.Methodstop_sequenceStops sequence as part of the gameplay api module.MethodsubtractPerforms `subtract` as part of the gameplay api module.Methodtransition_snapshotPerforms `transition snapshot` as part of the gameplay api module.Methodvector_tween_advancePerforms `vector tween advance` as part of the gameplay api module.Methodvector_tween_cancelPerforms `vector tween cancel` as part of the gameplay api module.Methodvector_tween_schedulePerforms `vector tween schedule` as part of the gameplay api module.Methodvector_tween_startPerforms `vector tween start` as part of the gameplay api module.Methodvector_tween_valuePerforms `vector tween value` as part of the gameplay api module.Methodvector3Performs `vector3` as part of the gameplay api module.Methodworld_to_screenPerforms `world to screen` as part of the gameplay api module.Methodwrap_degrees0 <= result < 360.MethodwriteWrites write as part of the gameplay api module.Methodwrite_stagedWrites staged as part of the gameplay api module.Method

Fields, variables and values

activeExposes `active` on `epok::SceneSnapshot` for the gameplay api module.Fieldactive_slotsExposes `active_slots` on `epok::ResourceSnapshot` for the gameplay api module.Fieldactive_texture_bytesExposes `active_texture_bytes` on `epok::ResourceSnapshot` for the gameplay api module.FieldactorExposes `actor` on `epok::CollisionHitSample` for the gameplay api module.FieldactorExposes `actor` on `epok::MoveSample` for the gameplay api module.Fieldalive_slotsExposes `alive_slots` on `epok::ResourceSnapshot` for the gameplay api module.FieldanalogExposes `analog` on `epok::InputAxisSample` for the gameplay api module.Fieldaudio_gainExposes `audio_gain` on `epok::GameplayTransitionSnapshot` for the gameplay api module.FieldblockedExposes `blocked` on `epok::MoveSample` for the gameplay api module.FieldblocksExposes `blocks` on `epok::CardFileSample` for the gameplay api module.FieldblueExposes `blue` on `epok::FogSettings` for the gameplay api module.FieldblueExposes `blue` on `epok::GameplayTransitionOptions` for the gameplay api module.FieldbonesExposes `bones` on `epok::SkeletalQuerySnapshot` for the gameplay api module.FieldbusyExposes `busy` on `epok::GameplayTransitionSnapshot` for the gameplay api module.FieldcallsExposes `calls` on `epok::SkeletalQuerySnapshot` for the gameplay api module.FieldcompletedExposes `completed` on `epok::MemoryCardSnapshot` for the gameplay api module.FieldcompletedExposes `completed` on `epok::Vector3TweenAdvanceSample` for the gameplay api module.FieldconnectedExposes `connected` on `epok::InputAxisSample` for the gameplay api module.Fielddecoded_bytesExposes `decoded_bytes` on `epok::SkeletalQuerySnapshot` for the gameplay api module.FielddisplacementExposes `displacement` on `epok::MoveSample` for the gameplay api module.Fielddropped_primitivesExposes `dropped_primitives` on `epok::ResourceSnapshot` for the gameplay api module.Fielddropped_stepsExposes `dropped_steps` on `epok::TimeSnapshot` for the gameplay api module.FieldenabledExposes `enabled` on `epok::FogSettings` for the gameplay api module.Fieldend_distanceExposes `end_distance` on `epok::FogSettings` for the gameplay api module.FielderrorExposes `error` on `epok::MemoryCardSnapshot` for the gameplay api module.Fieldfade_in_msExposes `fade_in_ms` on `epok::GameplayTransitionOptions` for the gameplay api module.Fieldfade_out_msExposes `fade_out_ms` on `epok::GameplayTransitionOptions` for the gameplay api module.FieldfailuresExposes `failures` on `epok::SkeletalQuerySnapshot` for the gameplay api module.Fieldfile_countExposes `file_count` on `epok::MemoryCardSnapshot` for the gameplay api module.Fieldfixed_deltaExposes `fixed_delta` on `epok::TimeSnapshot` for the gameplay api module.FieldfractionExposes `fraction` on `epok::CollisionHitSample` for the gameplay api module.Fieldframe_microsecondsExposes `frame_microseconds` on `epok::TimeSnapshot` for the gameplay api module.Fieldframe_scanlinesExposes `frame_scanlines` on `epok::ResourceSnapshot` for the gameplay api module.FieldfromExposes `from` on `epok::GameplayVector3TweenState` for the gameplay api module.FieldgreenExposes `green` on `epok::FogSettings` for the gameplay api module.FieldgreenExposes `green` on `epok::GameplayTransitionOptions` for the gameplay api module.FieldgroundedExposes `grounded` on `epok::MoveSample` for the gameplay api module.FieldhitExposes `hit` on `epok::CollisionHitSample` for the gameplay api module.Fieldlast_rejectionExposes `last_rejection` on `epok::MemoryCardSnapshot` for the gameplay api module.FieldloadingExposes `loading` on `epok::SceneSnapshot` for the gameplay api module.FieldmaximumExposes `maximum` on `epok::GameplayAabb` for the gameplay api module.Fieldmesh_trianglesExposes `mesh_triangles` on `epok::ResourceSnapshot` for the gameplay api module.FieldminimumExposes `minimum` on `epok::GameplayAabb` for the gameplay api module.Fieldname_hashExposes `name_hash` on `epok::CardFileSample` for the gameplay api module.FieldnormalExposes `normal` on `epok::CollisionHitSample` for the gameplay api module.FieldnormalExposes `normal` on `epok::MoveSample` for the gameplay api module.FieldopacityExposes `opacity` on `epok::GameplayTransitionSnapshot` for the gameplay api module.FieldoperationExposes `operation` on `epok::MemoryCardSnapshot` for the gameplay api module.Fieldparticle_droppedExposes `particle_dropped` on `epok::ResourceSnapshot` for the gameplay api module.Fieldparticle_peakExposes `particle_peak` on `epok::ResourceSnapshot` for the gameplay api module.FieldparticlesExposes `particles` on `epok::ResourceSnapshot` for the gameplay api module.FieldpausedExposes `paused` on `epok::TimeSnapshot` for the gameplay api module.Fieldpayload_bytesExposes `payload_bytes` on `epok::MemoryCardSnapshot` for the gameplay api module.FieldphaseExposes `phase` on `epok::GameplayTransitionSnapshot` for the gameplay api module.FieldpointExposes `point` on `epok::CollisionHitSample` for the gameplay api module.FieldpositionExposes `position` on `epok::GameplayCamera2D` for the gameplay api module.FieldpresentedExposes `presented` on `epok::GameplayTransitionSnapshot` for the gameplay api module.FieldredExposes `red` on `epok::FogSettings` for the gameplay api module.FieldredExposes `red` on `epok::GameplayTransitionOptions` for the gameplay api module.FieldrejectedExposes `rejected` on `epok::SceneSnapshot` for the gameplay api module.FieldrequestExposes `request` on `epok::MemoryCardSnapshot` for the gameplay api module.Fieldresident_texture_bytesExposes `resident_texture_bytes` on `epok::ResourceSnapshot` for the gameplay api module.FieldresultExposes `result` on `epok::GameplayPlaybackSnapshot` for the gameplay api module.FieldrevisionExposes `revision` on `epok::GameplayPlaybackSnapshot` for the gameplay api module.FieldrotationExposes `rotation` on `epok::GameplayCamera2D` for the gameplay api module.Fieldscene_banksExposes `scene_banks` on `epok::ResourceSnapshot` for the gameplay api module.Fieldsimulation_ticksExposes `simulation_ticks` on `epok::TimeSnapshot` for the gameplay api module.Fieldslot_capacityExposes `slot_capacity` on `epok::ResourceSnapshot` for the gameplay api module.Fieldsprite_trianglesExposes `sprite_triangles` on `epok::ResourceSnapshot` for the gameplay api module.Fieldstart_distanceExposes `start_distance` on `epok::FogSettings` for the gameplay api module.Fieldstarted_insideExposes `started_inside` on `epok::CollisionHitSample` for the gameplay api module.FieldstateExposes `state` on `epok::MemoryCardSnapshot` for the gameplay api module.FieldstateExposes `state` on `epok::Vector3TweenAdvanceSample` for the gameplay api module.FieldstrengthExposes `strength` on `epok::MovementIntent` for the gameplay api module.FieldsuccessExposes `success` on `epok::ProjectedPoint` for the gameplay api module.FieldtexturesExposes `textures` on `epok::ResourceSnapshot` for the gameplay api module.FieldtimingExposes `timing` on `epok::GameplayVector3TweenState` for the gameplay api module.FieldtoExposes `to` on `epok::GameplayVector3TweenState` for the gameplay api module.FieldtransitionsExposes `transitions` on `epok::SceneSnapshot` for the gameplay api module.Fieldunresolved_overlapExposes `unresolved_overlap` on `epok::MoveSample` for the gameplay api module.FieldvalidExposes `valid` on `epok::CardFileSample` for the gameplay api module.FieldvalidExposes `valid` on `epok::MoveSample` for the gameplay api module.FieldvalueExposes `value` on `epok::InputAxisSample` for the gameplay api module.FieldvalueExposes `value` on `epok::Vector3TweenAdvanceSample` for the gameplay api module.FieldverticesExposes `vertices` on `epok::SkeletalQuerySnapshot` for the gameplay api module.Fieldviewport_heightExposes `viewport_height` on `epok::GameplayCamera2D` for the gameplay api module.Fieldviewport_widthExposes `viewport_width` on `epok::GameplayCamera2D` for the gameplay api module.Fieldviewport_xExposes `viewport_x` on `epok::GameplayCamera2D` for the gameplay api module.Fieldviewport_yExposes `viewport_y` on `epok::GameplayCamera2D` for the gameplay api module.FieldwaitingExposes `waiting` on `epok::SceneSnapshot` for the gameplay api module.Fieldword0Exposes `word0` on `epok::SavePayload8` for the gameplay api module.Fieldword1Exposes `word1` on `epok::SavePayload8` for the gameplay api module.Fieldword2Exposes `word2` on `epok::SavePayload8` for the gameplay api module.Fieldword3Exposes `word3` on `epok::SavePayload8` for the gameplay api module.Fieldword4Exposes `word4` on `epok::SavePayload8` for the gameplay api module.Fieldword5Exposes `word5` on `epok::SavePayload8` for the gameplay api module.Fieldword6Exposes `word6` on `epok::SavePayload8` for the gameplay api module.Fieldword7Exposes `word7` on `epok::SavePayload8` for the gameplay api module.FieldxExposes `x` on `epok::GameplayVector2` for the gameplay api module.FieldxExposes `x` on `epok::GameplayVector3` for the gameplay api module.FieldxExposes `x` on `epok::MovementIntent` for the gameplay api module.FieldxExposes `x` on `epok::ProjectedPoint` for the gameplay api module.FieldyExposes `y` on `epok::GameplayVector2` for the gameplay api module.FieldyExposes `y` on `epok::GameplayVector3` for the gameplay api module.FieldyExposes `y` on `epok::MovementIntent` for the gameplay api module.FieldyExposes `y` on `epok::ProjectedPoint` for the gameplay api module.FieldzExposes `z` on `epok::GameplayVector3` for the gameplay api module.FieldzoomExposes `zoom` on `epok::GameplayCamera2D` for the gameplay api module.Field