Definition at line 25 of file KartAction.hh.
Classes | |
| struct | ActionParams |
| Parameters specific to an action ID. More... | |
| struct | RotationParams |
Public Types | |
| enum class | eFlags { Landing = 0 , Rotating = 3 , LandingFromFlip = 5 } |
| typedef EGG::TBitFlag< u32, eFlags > | Flags |
Public Member Functions | |
| void | init () |
| void | calc () |
| void | calcVehicleSpeed () |
| bool | start (Action action) |
| Starts an action. | |
| void | startRotation (size_t idx) |
| Initializes rotation parameters. | |
| void | setHitDepth (const EGG::Vector3f &hitDepth) |
| void | setTranslation (const EGG::Vector3f &v) |
| const Flags & | flags () const |
Private Types | |
| typedef void(KartAction::*) | StartActionFunc() |
| typedef bool(KartAction::*) | CalcActionFunc() |
| typedef void(KartAction::*) | EndActionFunc(bool arg) |
Private Member Functions | |
| void | calcSideFromHitDepth () |
| void | calcSideFromHitDepthAndTranslation () |
| void | end () |
| bool | calcCurrentAction () |
| Executes a frame of the current action. | |
| void | calcEndAction (bool endArg) |
| bool | calcRotation () |
| void | calcUp () |
| void | calcLanding () |
| void | startLaunch (f32 extVelScalar, f32 extVelKart, f32 extVelBike, f32 numRotations, u32 param6) |
| void | activateCrush (u16 timer) |
| void | applyStartSpeed () |
| void | setRotation (size_t idx) |
| void | startStub () |
| void | startAction1 () |
| void | startAction2 () |
| void | startAction3 () |
| void | startAction5 () |
| void | startLargeFlipAction () |
| void | startAction9 () |
| void | startLongPressAction () |
| void | startShortPressAction () |
| bool | calcStub () |
| bool | calcAction1 () |
| bool | calcLaunchAction () |
| bool | calcLargeFlipAction () |
| bool | calcPressAction () |
| void | endStub (bool arg) |
| void | endAction1 (bool arg) |
| void | endLaunchAction (bool arg) |
Private Member Functions inherited from Kart::KartObjectProxy | |
| void | setPos (const EGG::Vector3f &pos) |
| void | setRot (const EGG::Quatf &q) |
| void | setInertiaScale (const EGG::Vector3f &scale) |
| KartAction * | action () |
| const KartAction * | action () const |
| KartBody * | body () |
| const KartBody * | body () const |
| KartCollide * | collide () |
| const KartCollide * | collide () const |
| CollisionGroup * | collisionGroup () |
| const CollisionGroup * | collisionGroup () const |
| KartMove * | move () |
| const KartMove * | move () const |
| KartHalfPipe * | halfPipe () |
| const KartHalfPipe * | halfPipe () const |
| KartScale * | kartScale () |
| const KartScale * | kartScale () const |
| KartJump * | jump () |
| const KartJump * | jump () const |
| KartParam * | param () |
| const KartParam * | param () const |
| const BSP & | bsp () const |
| KartPhysics * | physics () |
| const KartPhysics * | physics () const |
| KartDynamics * | dynamics () |
| const KartDynamics * | dynamics () const |
| KartState * | state () |
| const KartState * | state () const |
| KartSub * | sub () |
| const KartSub * | sub () const |
| KartSuspension * | suspension (u16 suspIdx) |
| const KartSuspension * | suspension (u16 suspIdx) const |
| KartSuspensionPhysics * | suspensionPhysics (u16 suspIdx) |
| const KartSuspensionPhysics * | suspensionPhysics (u16 suspIdx) const |
| KartTire * | tire (u16 tireIdx) |
| const KartTire * | tire (u16 tireIdx) const |
| WheelPhysics * | tirePhysics (u16 tireIdx) |
| const WheelPhysics * | tirePhysics (u16 tireIdx) const |
| CollisionData & | collisionData () |
| const CollisionData & | collisionData () const |
| CollisionData & | collisionData (u16 tireIdx) |
| const CollisionData & | collisionData (u16 tireIdx) const |
| const System::KPad * | inputs () const |
| Render::KartModel * | model () |
| const Render::KartModel * | model () const |
| Field::ObjectCollisionKart * | objectCollisionKart () |
| const Field::ObjectCollisionKart * | objectCollisionKart () const |
| Field::BoxColUnit * | boxColUnit () |
| const Field::BoxColUnit * | boxColUnit () const |
| const EGG::Vector3f & | scale () const |
| const EGG::Matrix34f & | pose () const |
| EGG::Vector3f | bodyFront () const |
| Returns the third column of the rotation matrix, which is the facing vector. | |
| EGG::Vector3f | bodyForward () const |
| Returns the first column of the rotation matrix, which is the "right" direction. | |
| EGG::Vector3f | bodyUp () const |
| Returns the second column of the rotation matrix, which is the "up" direction. | |
| const EGG::Vector3f & | componentXAxis () const |
| const EGG::Vector3f & | componentYAxis () const |
| const EGG::Vector3f & | componentZAxis () const |
| const EGG::Vector3f & | pos () const |
| const EGG::Vector3f & | prevPos () const |
| const EGG::Quatf & | fullRot () const |
| const EGG::Vector3f & | extVel () const |
| const EGG::Vector3f & | intVel () const |
| const EGG::Vector3f & | velocity () const |
| f32 | speed () const |
| f32 | acceleration () const |
| f32 | softSpeedLimit () const |
| const EGG::Quatf & | mainRot () const |
| const EGG::Vector3f & | angVel2 () const |
| bool | isBike () const |
| u16 | suspCount () const |
| u16 | tireCount () const |
| bool | hasFloorCollision (const WheelPhysics *wheelPhysics) const |
| std::pair< EGG::Vector3f, EGG::Vector3f > | getCannonPosRot () |
| f32 | speedRatio () const |
| f32 | speedRatioCapped () const |
| bool | isInRespawn () const |
| Field::KCLTypeMask | wallKclType () const |
| u32 | wallKclVariant () const |
| Status & | status () |
| const Status & | status () const |
| void | apply (size_t idx) |
Private Attributes | |
| EGG::Vector3f | m_side |
| Action | m_currentAction |
| f32 | m_rotationDirection |
| f32 | m_targetRot |
| EGG::Vector3f | m_hitDepth |
| EGG::Vector3f | m_rotAxis |
| EGG::Vector3f | m_translation |
| f32 | m_velPitch |
| f32 | m_pitch |
| f32 | m_deltaPitch |
| f32 | m_flipPhase |
| StartActionFunc | m_onStart |
| CalcActionFunc | m_onCalc |
| EndActionFunc | m_onEnd |
| EGG::Quatf | m_rotation |
| const ActionParams * | m_actionParams |
| u32 | m_frame |
| u32 | m_crushTimer |
| Flags | m_flags |
| f32 | m_currentAngle |
| f32 | m_angleIncrement |
| f32 | m_multiplier |
| f32 | m_multiplierDecrement |
| f32 | m_finalAngle |
| const RotationParams * | m_rotationParams |
| EGG::Vector3f | m_up |
| u16 | m_framesFlipping |
| s16 | m_priority |
Static Private Attributes | |
| static constexpr size_t | MAX_ACTION = static_cast<size_t>(Action::Max) |
| static const std::array< ActionParams, MAX_ACTION > | s_actionParams |
| static const std::array< RotationParams, 5 > | s_rotationParams |
| static const std::array< StartActionFunc, MAX_ACTION > | s_onStart |
| static const std::array< CalcActionFunc, MAX_ACTION > | s_onCalc |
| static const std::array< EndActionFunc, MAX_ACTION > | s_onEnd |
Additional Inherited Members | |
Static Private Member Functions inherited from Kart::KartObjectProxy | |
| static std::list< KartObjectProxy * > & | proxyList () |
|
private |
Definition at line 74 of file KartAction.hh.
|
private |
Definition at line 75 of file KartAction.hh.
| EGG::TBitFlag<u32, eFlags> Kart::KartAction::Flags |
Definition at line 32 of file KartAction.hh.
|
private |
Definition at line 73 of file KartAction.hh.
|
strong |
Definition at line 27 of file KartAction.hh.
|
0x805672CC |
Definition at line 15 of file KartAction.cc.
|
private0x805696CC |
Definition at line 248 of file KartAction.cc.
|
private0x80567C68 |
Definition at line 254 of file KartAction.cc.
|
0x805673B0 |
Definition at line 30 of file KartAction.cc.
|
private0x80568204 |
Definition at line 365 of file KartAction.cc.
|
private0x80567A54 |
Executes a frame of the current action.
Definition at line 157 of file KartAction.cc.
|
private0x80567A88 |
Definition at line 163 of file KartAction.cc.
|
private |
Definition at line 208 of file KartAction.cc.
|
private0x805692B4 |
Definition at line 398 of file KartAction.cc.
|
private0x80568AA8 |
Definition at line 375 of file KartAction.cc.
|
private0x80569A1C |
Definition at line 481 of file KartAction.cc.
|
private0x80569DFC |
Definition at line 175 of file KartAction.cc.
|
private0x80569AE8 |
Definition at line 116 of file KartAction.cc.
|
private0x80569B94 |
Definition at line 126 of file KartAction.cc.
|
private |
Definition at line 360 of file KartAction.cc.
|
private0x80569E9C |
Definition at line 203 of file KartAction.cc.
|
0x80567CE4 |
Definition at line 41 of file KartAction.cc.
|
private0x80567B98 |
Definition at line 145 of file KartAction.cc.
|
private0x8056837C |
Definition at line 496 of file KartAction.cc.
|
private0x80568C7C0x805686DC |
Definition at line 503 of file KartAction.cc.
|
private |
Definition at line 493 of file KartAction.cc.
|
inlinenodiscard |
Definition at line 51 of file KartAction.hh.
|
0x8056739C |
Definition at line 24 of file KartAction.cc.
|
inline |
Definition at line 43 of file KartAction.hh.
|
private0x80569DB4 |
Definition at line 262 of file KartAction.cc.
|
inline |
Definition at line 47 of file KartAction.hh.
|
0x805675DC |
Starts an action.
| action | The action to start. |
Definition at line 49 of file KartAction.cc.
|
private0x80567FB4 |
Definition at line 280 of file KartAction.cc.
|
private0x8056865C |
Definition at line 285 of file KartAction.cc.
|
private0x80568718 |
Definition at line 295 of file KartAction.cc.
|
private0x80568FA4 |
Definition at line 306 of file KartAction.cc.
|
private0x80568000 |
Definition at line 334 of file KartAction.cc.
|
private0x805690A0 |
Definition at line 316 of file KartAction.cc.
|
private0x80568794 |
Definition at line 223 of file KartAction.cc.
|
private0x80569774 |
Definition at line 339 of file KartAction.cc.
|
0x80567D3C |
Initializes rotation parameters.
| idx | The index for the rotation parameters. |
Definition at line 102 of file KartAction.cc.
|
private0x80569978 |
Definition at line 348 of file KartAction.cc.
|
private |
Definition at line 277 of file KartAction.cc.
|
private |
Definition at line 144 of file KartAction.hh.
|
private |
Definition at line 149 of file KartAction.hh.
|
private |
Definition at line 146 of file KartAction.hh.
|
private |
Definition at line 127 of file KartAction.hh.
|
private |
Definition at line 148 of file KartAction.hh.
|
private |
Definition at line 136 of file KartAction.hh.
|
private |
Definition at line 152 of file KartAction.hh.
|
private |
Definition at line 147 of file KartAction.hh.
|
private |
Definition at line 137 of file KartAction.hh.
|
private |
Definition at line 145 of file KartAction.hh.
|
private |
Definition at line 155 of file KartAction.hh.
|
private |
Definition at line 130 of file KartAction.hh.
|
private |
Definition at line 150 of file KartAction.hh.
|
private |
Definition at line 151 of file KartAction.hh.
|
private |
Definition at line 140 of file KartAction.hh.
|
private |
Definition at line 141 of file KartAction.hh.
|
private |
Definition at line 139 of file KartAction.hh.
|
private |
Definition at line 135 of file KartAction.hh.
|
private |
Definition at line 156 of file KartAction.hh.
|
private |
Definition at line 143 of file KartAction.hh.
|
private |
Definition at line 128 of file KartAction.hh.
|
private |
Definition at line 153 of file KartAction.hh.
|
private |
Definition at line 131 of file KartAction.hh.
|
private |
Definition at line 126 of file KartAction.hh.
|
private |
Definition at line 129 of file KartAction.hh.
|
private |
Definition at line 132 of file KartAction.hh.
|
private |
Definition at line 154 of file KartAction.hh.
|
private |
Definition at line 134 of file KartAction.hh.
|
staticconstexprprivate |
Definition at line 158 of file KartAction.hh.
|
staticprivate |
Definition at line 160 of file KartAction.hh.
|
staticprivate |
Definition at line 164 of file KartAction.hh.
|
staticprivate |
Definition at line 165 of file KartAction.hh.
|
staticprivate |
Definition at line 163 of file KartAction.hh.
|
staticprivate |
Definition at line 161 of file KartAction.hh.