#include <KartJump.hh>
Manages trick inputs and state.
Definition at line 30 of file KartJump.hh.
Classes | |
| struct | AngleProperties |
| struct | TrickProperties |
Public Member Functions | |
| KartJump (KartMove *move) | |
| virtual void | calcRot () |
| void | setupProperties () |
| void | reset () |
| void | tryStart (const EGG::Vector3f &left) |
| void | calc () |
| bool | someFlagCheck () |
| void | calcInput () |
| void | end () |
| void | setAngle (const EGG::Vector3f &left) |
Setters | |
| void | setBoostRampEnabled (bool isSet) |
Getters | |
| bool | isBoostRampEnabled () const |
| TrickType | type () const |
| SurfaceVariant | variant () const |
| s16 | cooldown () const |
Protected Member Functions | |
| virtual void | start (const EGG::Vector3f &left) |
| virtual void | init () |
Protected Member Functions inherited from Kart::KartObjectProxy | |
| void | apply (size_t idx) |
| 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 |
| const EGG::Vector3f & | wheelPos (u16 idx) const |
| const EGG::Vector3f & | wheelEdgePos (u16 idx) const |
Protected Attributes | |
| TrickType | m_type |
| SurfaceVariant | m_variant |
| System::Trick | m_nextTrick |
| f32 | m_rotSign |
| TrickProperties | m_properties |
| f32 | m_angle |
| f32 | m_angleDelta |
| f32 | m_angleDeltaFactor |
| f32 | m_angleDeltaFactorDec |
| f32 | m_finalAngle |
| s16 | m_cooldown |
| EGG::Quatf | m_rot |
| KartMove * | m_move |
Private Attributes | |
| s16 | m_nextAllowTimer |
| bool | m_boostRampEnabled |
Additional Inherited Members | |
Static Protected Member Functions inherited from Kart::KartObjectProxy | |
| static std::list< KartObjectProxy * > & | proxyList () |
|
0x80575A44 |
Definition at line 16 of file KartJump.cc.
|
0x805763E4 |
Definition at line 113 of file KartJump.cc.
|
0x80575B38 |
Definition at line 129 of file KartJump.cc.
|
virtual0x805764FC |
Reimplemented in Kart::KartJumpBike.
Definition at line 27 of file KartJump.cc.
|
inlinenodiscard |
Definition at line 76 of file KartJump.hh.
|
0x805766B8 |
Definition at line 161 of file KartJump.cc.
|
protectedvirtual0x8057616C |
Definition at line 225 of file KartJump.cc.
|
inlinenodiscard |
Definition at line 66 of file KartJump.hh.
|
0x80575AE8 |
Definition at line 83 of file KartJump.cc.
|
0x80576230 |
Definition at line 173 of file KartJump.cc.
|
inline |
Definition at line 60 of file KartJump.hh.
|
0x80576460 |
Definition at line 51 of file KartJump.cc.
| bool Kart::KartJump::someFlagCheck | ( | ) |
Definition at line 123 of file KartJump.cc.
|
protectedvirtual0x80575EE8 |
Definition at line 217 of file KartJump.cc.
|
0x80575D7C |
Definition at line 88 of file KartJump.cc.
|
inlinenodiscard |
Definition at line 70 of file KartJump.hh.
|
inlinenodiscard |
Definition at line 73 of file KartJump.hh.
|
protected |
Definition at line 90 of file KartJump.hh.
|
protected |
Definition at line 91 of file KartJump.hh.
|
protected |
Definition at line 92 of file KartJump.hh.
|
protected |
Definition at line 93 of file KartJump.hh.
|
private |
Definition at line 101 of file KartJump.hh.
|
protected |
Definition at line 95 of file KartJump.hh.
|
protected |
Definition at line 94 of file KartJump.hh.
|
protected |
Definition at line 97 of file KartJump.hh.
|
private |
Definition at line 100 of file KartJump.hh.
|
protected |
Definition at line 87 of file KartJump.hh.
|
protected |
Definition at line 89 of file KartJump.hh.
|
protected |
Definition at line 96 of file KartJump.hh.
|
protected |
Definition at line 88 of file KartJump.hh.
|
protected |
Definition at line 85 of file KartJump.hh.
|
protected |
Definition at line 86 of file KartJump.hh.