From 1e6676c35ce4990981e8cda389ba39108437d66d Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 20 Jan 2016 08:42:46 -0500 Subject: WIP save/load --- src/inventory.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index b6819d1..108051c 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -29,6 +29,10 @@ void initInventorySprites(void){ Mix_Volume(2,100); } +void destroyInventory(void){ + Mix_FreeChunk(swordSwing); +} + char *getItemTexturePath(ITEM_ID id){ return item[id].textureLoc; } -- cgit v1.2.3