the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 18 lines 625 B view raw
1#pragma once 2#include "Particle.h" 3class Tile; 4 5class TerrainParticle : public Particle 6{ 7public: 8 virtual eINSTANCEOF GetType() { return eType_TERRAINPARTICLE; } 9private: 10 Tile *tile; 11 12public: 13 TerrainParticle(Level *level, double x, double y, double z, double xa, double ya, double za, Tile *tile, int face, int data, Textures *textures); 14 shared_ptr<TerrainParticle> init(int x, int y, int z, int data); // 4J - added data parameter 15 shared_ptr<TerrainParticle> init(int data); 16 virtual int getParticleTexture(); 17 virtual void render(Tesselator *t, float a, float xa, float ya, float za, float xa2, float za2); 18};