mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Add FireTexture.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Textures.hpp"
|
||||
#include "client/common/Random.hpp"
|
||||
class Textures; // in case we are being included from Textures. We don't need a complete type
|
||||
|
||||
// Essentially, the way these work is by patching themselves into terrain.png with a
|
||||
@@ -100,3 +101,17 @@ public:
|
||||
float* m_data3;
|
||||
float* m_data4;
|
||||
};
|
||||
|
||||
class FireTexture : public DynamicTexture
|
||||
{
|
||||
public:
|
||||
FireTexture(int);
|
||||
~FireTexture();
|
||||
|
||||
void tick() override;
|
||||
|
||||
public:
|
||||
float* m_data1;
|
||||
float* m_data2;
|
||||
Random m_random;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user