a711960 / ragnarok-tbrpg

Automatically exported from code.google.com/p/ragnarok-tbrpg
0 stars 0 forks source link

Inventory #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Who Coded This: Cipher

Inventory system is being re-hauled as it was using vectors for it all. Which 
is ridiculous, and there were a lot of problems because of it. New Inventory 
system needs to be completed.   

Sample Source Code.
Item * Sword = new Item("Sword of Awesomeness", 0, 0, 0, 0, 0, 0, 0);
Game::Overlord.entity_list.at(0).give_item(Sword);
Game::Overlord.entity_list.at(0).display_inventory();

What is the expected output? What do you see instead?
Void of use

Please use labels and text to provide additional information.

Original issue reported on code.google.com by rpg.ragnarok.game@gmail.com on 9 Aug 2010 at 5:32

GoogleCodeExporter commented 8 years ago
Now using item class, need to implement maps for easy access to items now. 

Original comment by rpg.ragnarok.game@gmail.com on 15 Aug 2010 at 9:17