* Add FireTexture.

This commit is contained in:
iProgramInCpp
2023-08-09 12:41:27 +03:00
parent 476d519eee
commit a2a33e7988
8 changed files with 113 additions and 16 deletions

View File

@@ -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;
};