mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-21 17:23:56 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
25 lines
619 B
C++
25 lines
619 B
C++
#pragma once
|
|
#include "Model.h"
|
|
#include "ModelPart.h"
|
|
|
|
class BoatModel : public Model
|
|
{
|
|
public:
|
|
ModelPart *bottom;
|
|
ModelPart *back;
|
|
ModelPart *front;
|
|
ModelPart *right;
|
|
ModelPart *left;
|
|
ModelPart *paddleLeft;
|
|
ModelPart *paddleRight;
|
|
ModelPart *waterPatch;
|
|
|
|
BoatModel();
|
|
virtual void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
|
|
void renderWaterPatch(float scale, bool usecompiled);
|
|
|
|
private:
|
|
ModelPart *makePaddle(bool isLeft);
|
|
void animatePaddle(ModelPart *paddle, float rowingTime, int side, float scale, bool usecompiled);
|
|
};
|