diff options
| author | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2024-12-04 11:18:57 -0700 |
|---|---|---|
| committer | MegaMech <7255464+MegaMech@users.noreply.github.com> | 2024-12-04 11:18:57 -0700 |
| commit | b0d7f98ff4a3ad3072b7119c63f5c1472b496d8a (patch) | |
| tree | a3a086af5a318faf9aaf1f7f967686850b2eadce /src/engine/World.h | |
| parent | 635556027af81c252cbf4a5cf8ea4b0b2f2e1581 (diff) | |
Reimplement penguins
Diffstat (limited to 'src/engine/World.h')
| -rw-r--r-- | src/engine/World.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/World.h b/src/engine/World.h index a5d9770a5..c339801d9 100644 --- a/src/engine/World.h +++ b/src/engine/World.h @@ -10,6 +10,7 @@ #include "vehicles/Train.h" #include "TrainCrossing.h" #include "vehicles/OThwomp.h" +#include "vehicles/OPenguin.h" #include <memory> #include "Actor.h" @@ -145,6 +146,9 @@ public: std::vector<std::unique_ptr<OThwomp>> Thwomps; void AddThwomp(s16 x, s16 z, s16 direction, f32 scale, s16 behaviour, s16 primAlpha, u16 boundingBoxSize = 7); + std::vector<std::shared_ptr<OPenguin>> Penguins; + std::shared_ptr<OPenguin> AddPenguin(Vec3f pos, u16 direction, OPenguin::PenguinType type, OPenguin::Behaviour behaviour); + TrainCrossing* AddCrossing(Vec3f position, u32 waypointMin, u32 waypointMax, f32 approachRadius, f32 exitRadius); std::vector<std::shared_ptr<TrainCrossing>> Crossings; |
