include/battle/stubs.h
The battle module's stub calls: running a battle, its camera and background, and how its units move.
Included by battle_effect_internal.h, field_engine_internal.h, main_routine.c, menu_internal.h, screens_internal.h and window_internal.h.
Functions
| Name | Description | |
|---|---|---|
void | btDebugBattleRunMenuStub (void) | |
void | btObjectSpawnObjectsForListStub (Sint16 *unitIds, Sint32 refreshPoses) | |
void | btCameraSetViewStub (Sint32 x, Sint32 depth, Sint32 y, Sint32 zoom) | |
void | btCameraSetViewAtPairMidpointStub (Sint32 firstUnitId, Sint32 secondUnitId, Sint32 zoom) | |
void | btBackgroundSetModeStub (Sint32 mode, Sint32 unusedResource, Sint32 fade) | |
void | btBackgroundLoadStub (Sint32 mode, Sint32 resourceId, Sint32 level) | |
void | btBackgroundSetPaletteLevelStub (Sint32 unused, Sint32 level) | |
Sint32 | btSpriteHasHeavyImpactStub (Sint32 index) | |
Sint32 | btUnitGetEffectHeightStub (Sint32 unitId) | |
void | btMotionApproachTargetStub (Sint32 unitId, Sint32 targetId, Sint32 ticks, Sint32 initVelocityY) | |
void | btMotionApplyKnockbackStub (Sint32 unitId, Sint32 variant) | |
Sint32 | btUnitListIdsStub (Sint32 sideMask, Uint16 *unitIds) | |
struct BATTLE_OBJECT * | btObjectGetStub (Sint32 unitId) | Returns a unit's battle object, or null for a unit with no place (btObjectGet); the battle effects find the sprites they move through it. |
Sint32 | btRunStub (Sint32 enemyGroup) | |
Sint32 | btMotionProjectPosStub (Sint32 unitId, Sint32 *projected) | |
Sint32 | btMotionProjectScaledPosStub (Sint32 unitId, Sint32 *projected) | |
Sint32 | btMotionProjectCursorPointStub (Sint32 unitId, struct SCREEN_POINT *projected) | Projects the point above a unit, where the target cursor points, onto the screen. |
Sint32 | btPartyPrepareMembersStub (Uint16 *unitIds) | |
void | btCameraSetCommandViewStub (Sint32 verticalOffset) | |
void * | btActorGetSpriteStub (struct ACTOR *actor, Sint32 recordIndex) | |
void | btHighlightSetModesStub (Uint16 *selectedUnits, Sint32 mode) | |
void | btPlaybackStartStub (Sint32 sound) | |
Sint32 | btGraphicsScaleRGB555ClampedStub (Uint16 *src, Uint16 *dest, Sint32 scale, Sint32 count) | |
Sint32 | btDjinnRecoveryCountDownStub (void) | |
Sint32 | btObjectGetPaletteStub (Sint32 id) | |
Sint32 | btDjinnRecoverAllStub (void) | |
Sint32 | btDebugParamSetLoadStub (Sint32 set) | |
void | btObjectPutStub (void) | |
UNREAD_RESULT | btMessageWaitForAdvanceAtStub (Sint32 x, Sint32 y) | |
Sint32 | btDjinnCountStandbyStub (Uint32 unitId, Uint8 *counts) |
Description
The battle module's stub calls: running a battle, its camera and background, and how its units move.
Functions in detail
btDebugBattleRunMenuStub
void btDebugBattleRunMenuStub(void)
Definition at line 13 of file stubs.h.
btObjectSpawnObjectsForListStub
void btObjectSpawnObjectsForListStub(Sint16 *unitIds, Sint32 refreshPoses)
Referenced by btEffectShowLivingTargets().
Definition at line 14 of file stubs.h.
btCameraSetViewStub
void btCameraSetViewStub(Sint32 x, Sint32 depth, Sint32 y, Sint32 zoom)
Referenced by btEffectOpenCanvasLayer(), btEffectRunDragonCloud(), btEffectRunFire(), btEffectRunShatteringOpening() and btEffectStartCanvasLayer().
Definition at line 15 of file stubs.h.
btCameraSetViewAtPairMidpointStub
void btCameraSetViewAtPairMidpointStub(Sint32 firstUnitId, Sint32 secondUnitId, Sint32 zoom)
Referenced by btEffectRunCriticalHit().
Definition at line 16 of file stubs.h.
btBackgroundSetModeStub
void btBackgroundSetModeStub(Sint32 mode, Sint32 unusedResource, Sint32 fade)
Referenced by btEffectEndCanvasLayer(), btEffectHideBg1AndRestoreBackdrop(), btEffectOpenCanvasLayer(), btEffectRunJudgment(), btEffectRunProcne(), btEffectRunShatteringOpening(), btEffectSetupCanvasTileMap() and btEffectStartCanvasLayer().
Definition at line 19 of file stubs.h.
btBackgroundLoadStub
void btBackgroundLoadStub(Sint32 mode, Sint32 resourceId, Sint32 level)
Referenced by btEffectRunAtalanta(), btEffectRunBoreas(), btEffectRunCondemn(), btEffectRunJudgment(), btEffectRunKirin(), btEffectRunNeptune(), btEffectRunProcne(), btEffectRunRamses(), btEffectRunShatteringOpening(), btEffectRunThor() and btEffectSetupBlendedDisplay().
Definition at line 20 of file stubs.h.
btBackgroundSetPaletteLevelStub
void btBackgroundSetPaletteLevelStub(Sint32 unused, Sint32 level)
Referenced by btEffectEndCanvasLayer() and btEffectRunCriticalHit().
Definition at line 21 of file stubs.h.
btSpriteHasHeavyImpactStub
Sint32 btSpriteHasHeavyImpactStub(Sint32 index)
Referenced by btEffectRunAttackSlash().
Definition at line 22 of file stubs.h.
btUnitGetEffectHeightStub
Sint32 btUnitGetEffectHeightStub(Sint32 unitId)
Referenced by btEffectRunAttackSlash(), btEffectRunBreak(), btEffectRunCastingImpact(), btEffectRunCriticalHit(), btEffectRunDeathPlunge(), btEffectRunDrain(), btEffectRunFire(), btEffectRunFroth(), btEffectRunGatheringLights(), btEffectRunProjectileVolley(), btEffectRunStatBoost() and btUnitProjectToScreen().
Definition at line 23 of file stubs.h.
btMotionApproachTargetStub
void btMotionApproachTargetStub(Sint32 unitId, Sint32 targetId, Sint32 ticks, Sint32 initVelocityY)
Referenced by btEffectRunAnnihilation(), btEffectRunFlashingStrike(), btEffectRunFlurry(), btEffectRunTargetMotes(), btEffectRunThrash(), btEffectRunUnusedSevereBlowLeap() and btEffectRunUnusedTriangleStrike().
Definition at line 24 of file stubs.h.
btMotionApplyKnockbackStub
void btMotionApplyKnockbackStub(Sint32 unitId, Sint32 variant)
Referenced by btEffectRunAnnihilation(), btEffectRunAtalanta(), btEffectRunAttackSlash(), btEffectRunBolt(), btEffectRunBurstShower(), btEffectRunCastingImpact(), btEffectRunCriticalHit(), btEffectRunCybele(), btEffectRunDragonCloud(), btEffectRunDragonFire(), btEffectRunEruption(), btEffectRunFlashingStrike(), btEffectRunFlurry(), btEffectRunFroth(), btEffectRunGaia(), btEffectRunHail(), btEffectRunHelmSplitter(), btEffectRunKirin(), btEffectRunNeptune(), btEffectRunPlanetDiver(), btEffectRunPlasma(), btEffectRunProjectileVolley(), btEffectRunRagnarok(), btEffectRunRamses(), btEffectRunRushingStrike(), btEffectRunSparkGroups(), btEffectRunStreakVolley(), btEffectRunSwirlSwipe(), btEffectRunTargetMotes(), btEffectRunThor(), btEffectRunTitanBlade(), btEffectRunUndeadSword(), btEffectRunVolcano() and btEffectRunWhirlwind().
Definition at line 28 of file stubs.h.
btUnitListIdsStub
Sint32 btUnitListIdsStub(Sint32 sideMask, Uint16 *unitIds)
Referenced by mnBattleCollectPartyCommands() and mnPartyStatusHighlightMembers().
Definition at line 29 of file stubs.h.
btObjectGetStub
struct BATTLE_OBJECT *btObjectGetStub(Sint32 unitId)
Returns a unit's battle object, or null for a unit with no place
(btObjectGet); the battle effects find the sprites they move through it.
Referenced by btEffectHopBackToSpot(), btEffectRunAnnihilation(), btEffectRunAstralBlast(), btEffectRunAttackSlash(), btEffectRunBind(), btEffectRunBreak(), btEffectRunCastingImpact(), btEffectRunCondemn(), btEffectRunCriticalHit(), btEffectRunCybele(), btEffectRunDeathPlunge(), btEffectRunDjinnBeams(), btEffectRunDjinnHeal(), btEffectRunDjinniEntrance(), btEffectRunDrain(), btEffectRunElementPillar(), btEffectRunFire(), btEffectRunFlurry(), btEffectRunFroth(), btEffectRunGatheringLights(), btEffectRunGround(), btEffectRunHaunt(), btEffectRunHealingMotes(), btEffectRunHelmSplitter(), btEffectRunLobbedShells(), btEffectRunMoteFountain(), btEffectRunNereid(), btEffectRunOrbitingSkulls(), btEffectRunPlanetDiver(), btEffectRunProcne(), btEffectRunProjectileVolley(), btEffectRunQuake(), btEffectRunRagnarok(), btEffectRunRushingStrike(), btEffectRunShiningStar(), btEffectRunSleep(), btEffectRunStarfieldFall(), btEffectRunStatBoost(), btEffectRunStatReduction(), btEffectRunStreakVolley(), btEffectRunSwirlSwipe(), btEffectRunTargetBursts(), btEffectRunTargetMotes(), btEffectRunTargetStrike(), btEffectRunUnusedOrbitingSpirals(), btEffectRunUnusedTriangleStrike(), btEffectRunVolcano(), btEffectRunVolleyWithAction(), btEffectSetApproachMotion(), btEffectTintBattler() and 2 more.
Definition at line 32 of file stubs.h.
btRunStub
Sint32 btRunStub(Sint32 enemyGroup)
Referenced by gmMainRoutineRun().
Definition at line 33 of file stubs.h.
btMotionProjectPosStub
Sint32 btMotionProjectPosStub(Sint32 unitId, Sint32 *projected)
Referenced by btProjectionUnit().
Definition at line 34 of file stubs.h.
btMotionProjectScaledPosStub
Sint32 btMotionProjectScaledPosStub(Sint32 unitId, Sint32 *projected)
Referenced by btProjectionScaledUnit() and mnSelectionMenuDraw().
Definition at line 35 of file stubs.h.
btMotionProjectCursorPointStub
Sint32 btMotionProjectCursorPointStub(Sint32 unitId, struct SCREEN_POINT *projected)
Projects the point above a unit, where the target cursor points, onto the screen.
Referenced by mnBattleTargetRunSelection().
Definition at line 38 of file stubs.h.
btPartyPrepareMembersStub
Sint32 btPartyPrepareMembersStub(Uint16 *unitIds)
Referenced by mnPartyStatusBuildLayoutBounds() and mnPartyStatusDraw().
Definition at line 40 of file stubs.h.
btCameraSetCommandViewStub
void btCameraSetCommandViewStub(Sint32 verticalOffset)
Referenced by mnBattleCollectPartyCommands() and mnBattleMenuUpdate().
Definition at line 41 of file stubs.h.
btActorGetSpriteStub
void *btActorGetSpriteStub(struct ACTOR *actor, Sint32 recordIndex)
Referenced by btEffectRunCybele(), btEffectTintBattler() and btUnitProjectToScreen().
Definition at line 42 of file stubs.h.
btHighlightSetModesStub
void btHighlightSetModesStub(Uint16 *selectedUnits, Sint32 mode)
Referenced by mnBattleCollectPartyCommands(), mnBattleTargetRunSelection() and mnClearBattleHighlight().
Definition at line 43 of file stubs.h.
btPlaybackStartStub
void btPlaybackStartStub(Sint32 sound)
Definition at line 44 of file stubs.h.
btGraphicsScaleRGB555ClampedStub
Sint32 btGraphicsScaleRGB555ClampedStub(Uint16 *src, Uint16 *dest, Sint32 scale, Sint32 count)
Referenced by btEffectDarkenBackgroundStep().
Definition at line 45 of file stubs.h.
btDjinnRecoveryCountDownStub
Sint32 btDjinnRecoveryCountDownStub(void)
Referenced by fdUpdateWalking() and mnDjinnMenuSelectDjinn().
Definition at line 49 of file stubs.h.
btObjectGetPaletteStub
Sint32 btObjectGetPaletteStub(Sint32 id)
Referenced by btEffectTintBattler().
Definition at line 50 of file stubs.h.
btDjinnRecoverAllStub
Sint32 btDjinnRecoverAllStub(void)
Definition at line 51 of file stubs.h.
btDebugParamSetLoadStub
Sint32 btDebugParamSetLoadStub(Sint32 set)
Definition at line 52 of file stubs.h.
btObjectPutStub
void btObjectPutStub(void)
Referenced by btEffectRunStarfieldFall().
Definition at line 53 of file stubs.h.
btMessageWaitForAdvanceAtStub
UNREAD_RESULT btMessageWaitForAdvanceAtStub(Sint32 x, Sint32 y)
Referenced by mnBattleCommandRowRun().
Definition at line 54 of file stubs.h.
btDjinnCountStandbyStub
Sint32 btDjinnCountStandbyStub(Uint32 unitId, Uint8 *counts)
Referenced by mnBattleCollectPartyCommands(), mnBattleCommandRowRun() and mnPartyStatusDraw().
Definition at line 55 of file stubs.h.