Mario Kart 64
|
#include <Train.h>
Public Types | |
enum | TenderStatus { NO_TENDER , HAS_TENDER } |
Public Member Functions | |
ATrain (ATrain::TenderStatus tender, size_t numCarriages, f32 speed, uint32_t waypoint) | |
~ATrain () | |
virtual void | Tick () override |
virtual void | Draw (Camera *camera) override |
virtual void | VehicleCollision (s32 playerId, Player *player) override |
virtual bool | IsMod () override |
s32 | AddSmoke (s32 trainIndex, Vec3f pos, f32 velocity) |
void | SyncComponents (TrainCarStuff *trainCar, s16 orientationY) |
![]() | |
virtual | ~AActor ()=default |
AActor () | |
virtual void | Collision (Player *player, AActor *actor) |
void | SetLocation (FVector pos) |
FVector | GetLocation () const |
virtual void | Destroy () |
Static Public Member Functions | |
static size_t | GetCount () |
Data Fields | |
TrainCarStuff | Locomotive |
TrainCarStuff | Tender |
std::vector< TrainCarStuff > | PassengerCars |
f32 | Speed |
s32 | SomeFlags |
f32 | SomeMultiplier |
size_t | NumCars |
const char * | Type = "mk:train" |
size_t | Index |
int32_t | SmokeParticles [128] |
int32_t | NextParticlePtr = 0 |
int16_t | AnotherSmokeTimer = 0 |
int16_t | SmokeTimer = 0 |
![]() | |
s16 | Type = 0 |
s16 | Flags |
s16 | Unk_04 |
s16 | State |
f32 | Unk_08 |
f32 | BoundingBoxSize |
Vec3s | Rot = {0, 0, 0} |
s16 | Unk_16 |
Vec3f | Pos |
Vec3f | Velocity = {0, 0, 0} |
Collision | Unk30 |
uint8_t | uuid [16] |
const char * | Name = "" |
FVector | Scale = {1, 1, 1} |
Gfx * | Model = NULL |
Static Private Attributes | |
static size_t | _count = 0 |
Note that you can only remove the tender if there are no carriages
enum ATrain::TenderStatus |
|
explicit |
|
inline |
s32 ATrain::AddSmoke | ( | s32 | trainIndex, |
Vec3f | pos, | ||
f32 | velocity ) |
|
inlinestatic |
|
overridevirtual |
Reimplemented from AActor.
void ATrain::SyncComponents | ( | TrainCarStuff * | trainCar, |
s16 | orientationY ) |
|
overridevirtual |
|
overridevirtual |
|
staticprivate |
int16_t ATrain::AnotherSmokeTimer = 0 |
size_t ATrain::Index |
TrainCarStuff ATrain::Locomotive |
int32_t ATrain::NextParticlePtr = 0 |
size_t ATrain::NumCars |
std::vector<TrainCarStuff> ATrain::PassengerCars |
int32_t ATrain::SmokeParticles[128] |
int16_t ATrain::SmokeTimer = 0 |
s32 ATrain::SomeFlags |
f32 ATrain::SomeMultiplier |
f32 ATrain::Speed |
TrainCarStuff ATrain::Tender |
const char* ATrain::Type = "mk:train" |