first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#pragma once
#include "Bush.h"
class Random;
class Mushroom : public Bush
{
friend class Tile;
private:
wstring texture;
protected:
Mushroom(int id, const wstring &texture);
public:
virtual void updateDefaultShape(); // 4J Added override
virtual void tick(Level *level, int x, int y, int z, Random *random);
virtual bool mayPlace(Level *level, int x, int y, int z);
protected:
virtual bool mayPlaceOn(int tile);
public:
virtual bool canSurvive(Level *level, int x, int y, int z);
bool growTree(Level *level, int x, int y, int z, Random *random);
void registerIcons(IconRegister *iconRegister);
};