the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 25 lines 638 B view raw
1#pragma once 2 3#include "Particle.h" 4 5class Entity; 6 7class CritParticle : public Particle 8{ 9private: 10 shared_ptr<Entity> entity; 11 int life; 12 int lifeTime; 13 ePARTICLE_TYPE particleName; 14 15 void _init(Level *level, shared_ptr<Entity> entity, ePARTICLE_TYPE type); 16 17public: 18 virtual eINSTANCEOF GetType() { return eType_CRITPARTICLE; } 19 CritParticle(Level *level, shared_ptr<Entity> entity); 20 CritParticle(Level *level, shared_ptr<Entity> entity, ePARTICLE_TYPE type); 21 void CritParticlePostConstructor(void); 22 void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2); 23 void tick(); 24 int getParticleTexture(); 25};