mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-23 02:49:48 +00:00
Added Rendering and Dynamic texture for Fire and it's behaviour
This commit is contained in:
parent
cbd81b47ce
commit
109bbcfdb1
7 changed files with 414 additions and 18 deletions
|
|
@ -56,4 +56,21 @@ public:
|
|||
void tick();
|
||||
};
|
||||
|
||||
class FireTexture: public DynamicTexture
|
||||
{
|
||||
typedef DynamicTexture super;
|
||||
int _tick;
|
||||
int _frame;
|
||||
|
||||
float* current;
|
||||
float* next;
|
||||
float* heat;
|
||||
float* heata;
|
||||
|
||||
public:
|
||||
FireTexture();
|
||||
~FireTexture();
|
||||
|
||||
void tick();
|
||||
};
|
||||
#endif /*NET_MINECRAFT_CLIENT_RENDERER_PTEXTURE__DynamicTexture_H__*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue