include/battle/battle_actor.h
BATTLE_ACTOR, the view of ACTOR one battle function gives a unit its sprites through.
#include "edition.h"#include "static_assert.h"#include "types.h"#include "battle/battle_action.h"
Included by battle_internal.h and battle_effect_internal.h.
Structures
| Name | Description | |
|---|---|---|
struct | BATTLE_ACTOR | ACTOR, field for field, as btObjectSpawnObjectsForList sees a battle unit's actor while it gives it its sprites: the sprite word untyped (void *), and the cursor, wait and userValue unsigned. |
Macros
| Name | Description | |
|---|---|---|
#define | BATTLE_UNIT_GRAVITY (toFIXED(67) / 100) | The gravity a battle unit falls under, about 0.67 pixels a tick per tick in 16.16: btMotionReturnToSpot sets it whenever a unit goes back to its spot, and effects that change a unit's gravity for a leap or a lift give it this one back. |
Description
BATTLE_ACTOR, the view of ACTOR one battle function gives a unit its sprites
through.
Macros in detail
BATTLE_UNIT_GRAVITY
#define BATTLE_UNIT_GRAVITY (toFIXED(67) / 100)
The gravity a battle unit falls under, about 0.67 pixels a tick per tick in
16.16: btMotionReturnToSpot sets it whenever a unit goes back to its spot,
and effects that change a unit's gravity for a leap or a lift give it this
one back.
Referenced by btEffectHopBackToSpot(), btEffectRunAstralBlast(), btEffectRunCondemn(), btEffectRunCybele(), btEffectRunDeathPlunge(), btEffectRunNereid(), btEffectRunPlanetDiver(), btEffectRunProcne(), btEffectRunQuake(), btEffectSetApproachMotion(), btMotionApproachTarget(), btMotionLeapToward(), btMotionReturnObjectToSpot() and btMotionReturnToSpot().
Definition at line 70 of file battle_actor.h.