mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 01:04:19 +00:00
28 lines
770 B
C++
28 lines
770 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <vector>
|
|
|
|
#include "minecraft/client/model/geom/Model.h"
|
|
#include "minecraft/client/model/geom/ModelPart.h"
|
|
|
|
class Entity;
|
|
class ModelPart;
|
|
|
|
class SkiModel : public Model {
|
|
public:
|
|
std::vector<ModelPart*> cubes;
|
|
|
|
private:
|
|
bool leftSki;
|
|
|
|
public:
|
|
SkiModel(); // 4J added
|
|
SkiModel(bool leftSki);
|
|
void _init(bool leftSki); // 4J added
|
|
virtual void render(std::shared_ptr<Entity> entity, float time, float r,
|
|
float bob, float yRot, float xRot, float scale,
|
|
bool usecompiled);
|
|
virtual void setupAnim(float time, float r, float bob, float yRot,
|
|
float xRot, float scale,
|
|
std::shared_ptr<Entity> entity);
|
|
}; |