the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4#include "..\Minecraft.World\Entity.h"
5#include "..\Minecraft.World\ParticleTypes.h"
6#include "ParticleEngine.h"
7class Tesselator;
8class CompoundTag;
9class Icon;
10
11class Particle : public Entity
12{
13protected:
14 int texX, texY;
15 float uo, vo;
16 int age;
17 int lifetime;
18 float size;
19 float gravity;
20 float rCol, gCol, bCol;
21 float alpha;
22 Icon *tex;
23public:
24 static double xOff, yOff, zOff;
25private:
26 void _init(Level *level, double x, double y, double z);
27protected:
28 Particle(Level *level, double x, double y, double z);
29public:
30 Particle(Level *level, double x, double y, double z, double xa, double ya, double za);
31 virtual shared_ptr<Particle> setPower(float power);
32 virtual shared_ptr<Particle> scale(float scale);
33 void setColor(float r, float g, float b);
34 void setAlpha(float alpha);
35 float getRedCol();
36 float getGreenCol();
37 float getBlueCol();
38 float getAlpha();
39protected:
40 virtual bool makeStepSound();
41 virtual void defineSynchedData();
42public:
43 virtual void tick();
44 virtual void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2);
45 virtual int getParticleTexture();
46 virtual void addAdditonalSaveData(CompoundTag *entityTag);
47 virtual void readAdditionalSaveData(CompoundTag *tag);
48 virtual void setTex(Textures *textures, Icon *icon);
49 virtual void setMiscTex(int slotIndex);
50 virtual void setNextMiscAnimTex();
51 virtual bool isAttackable();
52 virtual wstring toString();
53};