|
SpaghettiKart
|
#include <Boos.h>
Public Member Functions | |
| OBoos (const SpawnParams ¶ms) | |
| ~OBoos () | |
| virtual void | SetSpawnParams (SpawnParams ¶ms) override |
| virtual void | Tick () override |
| virtual void | Draw (s32 cameraId) override |
| virtual void | DrawEditorProperties () override |
| void | func_800523B8 (s32 objectIndex, s32 arg1, u32 arg2) |
| void | func_8007CA70 (void) |
| void | func_8007C5B4 (s32 objectIndex) |
| void | func_8007C684 (s32 objectIndex) |
| void | func_8007C4A4 (s32 objectIndex) |
| s32 | func_8007C9F8 (void) |
| void | BooStart (s32 someIndex, s32 arg1) |
| void | BooExit (s32 someIndex) |
| void | func_8007C550 (s32 objectIndex) |
Public Member Functions inherited from OObject | |
| virtual | ~OObject ()=default |
| OObject () | |
| OObject (SpawnParams params) | |
| virtual void | Tick60fps () |
| virtual void | Expire () |
| virtual void | Destroy () |
| virtual void | Reset () |
| FVector | GetLocation () const |
| IRotator | GetRotation () const |
| FVector | GetScale () const |
| virtual void | Translate (FVector pos) |
| void | Rotate (IRotator rot) |
| void | SetScale (FVector scale) |
Static Public Member Functions | |
| static OBoos * | Spawn (size_t numBoos, const IPathSpan &leftBoundary, const IPathSpan &triggerBoundary, const IPathSpan &rightBoundary) |
| static size_t | GetCount () |
Data Fields | |
| IPathSpan | LeftTrigger |
| IPathSpan | ActiveZone |
| IPathSpan | RightTrigger |
Data Fields inherited from OObject | |
| uint8_t | uuid [16] |
| Object | o |
| const char * | Name = "" |
| const char * | ResourceName = "" |
| bool | bPendingDestroy = false |
| s32 | _objectIndex = -1 |
| const char * | Model = "" |
| FVector | SpawnPos = {0.0f, 0.0f, 0.0f} |
| IRotator | SpawnRot = {0, 0, 0} |
| FVector | SpawnScale = {1.0f, 1.0f, 1.0f} |
| float | Speed = 0.0f |
| std::vector< Triangle > | Triangles |
Private Attributes | |
| FVector | _pos |
| size_t | _idx |
| std::vector< s32 > | _indices |
| size_t | _numBoos |
| bool | _isActive = false |
| s32 | _playerId = 0 |
Static Private Attributes | |
| static size_t | _count = 0 |
Args use path indices or path points. Recommended to use a span of 10 for each IPathSpan as that's how the original game did it. Ex. IPathSpan(10, 20)
Once boos are active, they do not deactivate until the player drives into leftBoundary or rightBoundary. leftBoundary is really only used to deactivate the boos when the player is driving in the reverse direction.
|
explicit |
|
inline |
| void OBoos::BooExit | ( | s32 | someIndex | ) |
| void OBoos::BooStart | ( | s32 | someIndex, |
| s32 | arg1 ) |
|
overridevirtual |
|
overridevirtual |
Reimplemented from OObject.
| void OBoos::func_800523B8 | ( | s32 | objectIndex, |
| s32 | arg1, | ||
| u32 | arg2 ) |
| void OBoos::func_8007C4A4 | ( | s32 | objectIndex | ) |
| void OBoos::func_8007C550 | ( | s32 | objectIndex | ) |
| void OBoos::func_8007C5B4 | ( | s32 | objectIndex | ) |
| void OBoos::func_8007C684 | ( | s32 | objectIndex | ) |
| s32 OBoos::func_8007C9F8 | ( | void | ) |
| void OBoos::func_8007CA70 | ( | void | ) |
|
inlinestatic |
|
overridevirtual |
|
inlinestatic |
|
overridevirtual |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| IPathSpan OBoos::ActiveZone |
| IPathSpan OBoos::LeftTrigger |
| IPathSpan OBoos::RightTrigger |