mirror of
https://github.com/edubart/otclient.git
synced 2025-10-24 00:05:02 +02:00
Restore support for animated png files
* Rework resource manager * Add missing files * Improve some graphics classes
This commit is contained in:
@@ -35,10 +35,10 @@ public:
|
||||
|
||||
void bind();
|
||||
void copyFromScreen(const Rect& screenRect);
|
||||
bool buildHardwareMipmaps();
|
||||
virtual bool buildHardwareMipmaps();
|
||||
|
||||
void setSmooth(bool smooth);
|
||||
void setRepeat(bool repeat);
|
||||
virtual void setSmooth(bool smooth);
|
||||
virtual void setRepeat(bool repeat);
|
||||
void setUpsideDown(bool upsideDown);
|
||||
|
||||
uint getId() { return m_id; }
|
||||
@@ -50,6 +50,7 @@ public:
|
||||
bool isEmpty() { return m_id == 0; }
|
||||
bool hasRepeat() { return m_repeat; }
|
||||
bool hasMipmaps() { return m_hasMipmaps; }
|
||||
virtual bool isAnimatedTexture() { return false; }
|
||||
|
||||
protected:
|
||||
void createTexture();
|
||||
|
||||
Reference in New Issue
Block a user