Definition at line 9 of file ObjectObakeBlock.hh.
|
enum class | FallState {
Rest = 0
,
Falling = 1
,
FinishedFalling = 2
} |
|
enum class | eFlags {
Position = 0
,
Rotation = 1
,
Matrix = 2
,
Scale = 3
} |
|
typedef EGG::TBitFlag< u16, eFlags > | Flags |
|
|
void | calcTransform () |
|
void | linkAnims (const std::span< const char * > &names, const std::span< Render::AnmType > types) |
|
void | setMatrixTangentTo (const EGG::Vector3f &up, const EGG::Vector3f &tangent) |
|
void | setMatrixFromOrthonormalBasisAndPos (const EGG::Vector3f &v) |
|
static f32 | CheckPointAgainstLineSegment (const EGG::Vector3f &point, const EGG::Vector3f &a, const EGG::Vector3f &b) |
| Calculates on what side of line segment ab point lies.
|
|
static EGG::Vector3f | RotateXZByYaw (f32 angle, const EGG::Vector3f &v) |
| Rotates a vector around the Y-axis and returns the XZ-plane portion of the vector.
|
|
static EGG::Vector3f | RotateAxisAngle (f32 angle, const EGG::Vector3f &axis, const EGG::Vector3f &v1) |
|
static void | SetRotTangentHorizontal (EGG::Matrix34f &mat, const EGG::Vector3f &up, const EGG::Vector3f &tangent) |
|
static EGG::Matrix34f | OrthonormalBasis (const EGG::Vector3f &v) |
|
static EGG::Matrix34f | RailOrthonormalBasis (const RailInterpolator &railInterpolator) |
|
static EGG::Vector3f | Interpolate (f32 t, const EGG::Vector3f &v0, const EGG::Vector3f &v1) |
|
Render::DrawMdl * | m_drawMdl |
|
Abstract::g3d::ResFile * | m_resFile |
|
ObjectId | m_id |
|
RailInterpolator * | m_railInterpolator |
|
BoxColUnit * | m_boxColUnit |
|
Flags | m_flags |
|
EGG::Vector3f | m_pos |
|
EGG::Vector3f | m_rot |
|
EGG::Vector3f | m_scale |
|
EGG::Matrix34f | m_transform |
|
const System::MapdataGeoObj * | m_mapObj |
|
◆ FallState
enum class Field::ObjectObakeBlock::FallState |
|
strong |
◆ ObjectObakeBlock()
◆ calc()
void Field::ObjectObakeBlock::calc |
( |
| ) |
|
|
overridevirtual0x8080BC64 |
◆ calcCollisionTransform()
void Field::ObjectObakeBlock::calcCollisionTransform |
( |
| ) |
|
|
inlineoverridevirtual0x8080BDD4 |
◆ createCollision()
void Field::ObjectObakeBlock::createCollision |
( |
| ) |
|
|
inlineoverridevirtual0x8080BDDC |
◆ fallFrame()
s32 Field::ObjectObakeBlock::fallFrame |
( |
| ) |
const |
|
inlinenodiscard |
◆ fallState()
FallState Field::ObjectObakeBlock::fallState |
( |
| ) |
const |
|
inlinenodiscard |
◆ load()
void Field::ObjectObakeBlock::load |
( |
| ) |
|
|
inlineoverridevirtual0x8080BDE0 |
◆ setFallState()
void Field::ObjectObakeBlock::setFallState |
( |
FallState | state | ) |
|
|
inline |
◆ m_bbox
◆ m_fallAngVel
◆ m_fallFrame
s32 Field::ObjectObakeBlock::m_fallFrame |
|
private |
Frame the block starts falling, or 0 if it never falls.
Definition at line 54 of file ObjectObakeBlock.hh.
◆ m_fallState
FallState Field::ObjectObakeBlock::m_fallState |
|
private |
◆ m_fallVel
◆ m_framesFallen
s32 Field::ObjectObakeBlock::m_framesFallen |
|
private |
How long the block has been falling for, capped at 256.
Definition at line 50 of file ObjectObakeBlock.hh.
◆ m_initialPos