the whole game

This commit is contained in:
Kolyah35 2026-03-02 22:04:18 +03:00
parent 816e9060b4
commit f0617a5d22
2069 changed files with 581500 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__TallGrass_H__
#define NET_MINECRAFT_WORLD_LEVEL_TILE__TallGrass_H__
#include "Bush.h"
class Pos;
class TallGrass : public Bush {
public:
typedef Bush super;
public:
static const int DEAD_SHRUB = 0;
static const int TALL_GRASS = 1;
static const int FERN = 3;
TallGrass(int id, int tex);
int getTexture(int face, int data);
int getColor();
int getColor(int auxData);
int getColor(LevelSource* level, int x, int y, int z);
int getResource(int data, Random* random);
void playerDestroy(Level* level, Player* player, int x, int y, int z, int data);
};
#endif /* NET_MINECRAFT_WORLD_LEVEL_TILE__TallGrass_H__ */