summaryrefslogtreecommitdiffhomepage
path: root/src/anim-atlas.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-07-16 12:27:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-07-16 12:27:46 +0200
commit47b9691f9bde62ea62f6601503997d93ed7ab64c (patch)
treef0e08b4f37ced066ac18defdf233eec0e91b6cc0 /src/anim-atlas.hpp
parent6aabc74a535da1f2d5cf866346b31939d097cbac (diff)
wa
Diffstat (limited to 'src/anim-atlas.hpp')
-rw-r--r--src/anim-atlas.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/anim-atlas.hpp b/src/anim-atlas.hpp
index 2803566f..cf9937ba 100644
--- a/src/anim-atlas.hpp
+++ b/src/anim-atlas.hpp
@@ -3,6 +3,7 @@
#include "rotation.hpp"
#include "anim.hpp"
#include "src/quads.hpp"
+#include "compat/borrowed-ptr.hpp"
#include <array>
#include <Corrade/Containers/BitArray.h>
#include <Corrade/Containers/String.h>
@@ -12,7 +13,7 @@
namespace floormat {
-class anim_atlas final
+class anim_atlas final : public bptr_base
{
using texcoords = Quads::texcoords;
using quad = Quads::quad;
@@ -31,7 +32,7 @@ class anim_atlas final
public:
anim_atlas() noexcept;
anim_atlas(String name, const ImageView2D& tex, anim_def info);
- ~anim_atlas() noexcept;
+ ~anim_atlas() noexcept override;
anim_atlas(anim_atlas&&) noexcept;
anim_atlas& operator=(anim_atlas&&) noexcept;