mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-04 19:01:31 -04:00
Game.cpp and World.cpp Cleanup (#159)
* Remove CProperties and delete dup Properties from World.h * Improvement * Fix compile * Cleanup * Document gRaceState * wip cleanup * compile * Impl PlayerBombKart * Rename CourseManager_ to CM_ * Finish renames m_ to CM_ * cleanup * Remove extra printf --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -76,10 +76,6 @@ ATrain::ATrain(ATrain::TenderStatus tender, size_t numCarriages, f32 speed, uint
|
||||
|
||||
AnotherSmokeTimer = 0;
|
||||
|
||||
_count++;
|
||||
}
|
||||
|
||||
void ATrain::Spawn() {
|
||||
TrainCarStuff* tempLocomotive;
|
||||
TrainCarStuff* tempTender;
|
||||
TrainCarStuff* tempPassengerCar;
|
||||
@@ -128,9 +124,12 @@ void ATrain::Spawn() {
|
||||
ACTOR_TRAIN_PASSENGER_CAR);
|
||||
}
|
||||
}
|
||||
|
||||
_count++;
|
||||
}
|
||||
|
||||
void ATrain::BeginPlay() {
|
||||
bool ATrain::IsMod() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ATrain::SyncComponents(TrainCarStuff* trainCar, s16 orientationY) {
|
||||
@@ -223,7 +222,7 @@ void ATrain::Tick() {
|
||||
}
|
||||
}
|
||||
|
||||
void ATrain::Collision(s32 playerId, Player* player) {
|
||||
void ATrain::VehicleCollision(s32 playerId, Player* player) {
|
||||
TrainCarStuff* trainCar;
|
||||
f32 playerPosX;
|
||||
f32 playerPosZ;
|
||||
@@ -274,7 +273,7 @@ void ATrain::Collision(s32 playerId, Player* player) {
|
||||
}
|
||||
|
||||
|
||||
void ATrain::Draw(s32 playerId) {
|
||||
void ATrain::Draw(Camera* camera) {
|
||||
}
|
||||
|
||||
s32 ATrain::AddSmoke(s32 trainIndex, Vec3f pos, f32 velocity) {
|
||||
|
||||
Reference in New Issue
Block a user