summaryrefslogtreecommitdiff
path: root/asset.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-29 23:28:00 +1100
committerquou <quou@disroot.org>2024-12-29 23:28:00 +1100
commite25b20717523e579bb6f1e0d17b635c71bad6fab (patch)
treedd7839c247b81554d0ea2f5207df0f52f0484637 /asset.hpp
parent39fc0b5af67aa2dc0763394b0727e919840f9f57 (diff)
resource names
Diffstat (limited to 'asset.hpp')
-rw-r--r--asset.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/asset.hpp b/asset.hpp
index c149e0a..63ea047 100644
--- a/asset.hpp
+++ b/asset.hpp
@@ -11,7 +11,12 @@ struct Asset {
};
struct Asset_Loader {
- virtual Asset* load(Arena* a, Arena* s, Pack_File* f) = 0;
+ virtual Asset* load(
+ Arena* a,
+ Arena* s,
+ const char* filename,
+ Pack_File* f
+ ) = 0;
virtual void unload(Asset* a) = 0;
};