summaryrefslogtreecommitdiff
path: root/src/util/asset_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/asset_manager.h')
-rw-r--r--src/util/asset_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/asset_manager.h b/src/util/asset_manager.h
index 168bfca..1714c21 100644
--- a/src/util/asset_manager.h
+++ b/src/util/asset_manager.h
@@ -29,3 +29,8 @@ void DropAsset(AssetId asset_id, const uint8_t* asset);
// Returns the AssetId for a given asset name, or AssetId::ASSET_LAST_ID if not
// found.
AssetId GetAssetIdByName(const char* name);
+
+#if !defined(STRIP_ALL)
+// Hot-reload: Parse and reload assets from config file (debug only)
+bool ReloadAssetsFromFile(const char* config_path);
+#endif