Ignore:
Timestamp:
10/24/09 06:17:27 (10 years ago)
Author:
b0rland_parpg
Message:

Ticket #107: patch by b0rland

  • Wrote initial version of the inventory storage class
  • Added some useful utility functions into container class and its derivatives
  • Created several combined classes for carryable containers
  • Extended tests and of course made new ones
  • Renamed old Inventory class to be InventoryGUI

Note: InventoryGUI still works the old way and doesn't use Inventory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/hud.py

    r326 r346  
    2323from scripts.filebrowser import FileBrowser 
    2424from scripts.context_menu import ContextMenu 
    25 from scripts import inventory 
     25from scripts import inventorygui 
    2626from scripts.popups import ExaminePopup, ContainerGUI 
    2727from scripts.dialoguegui import DialogueGUI 
     
    5454        } 
    5555 
    56         self.inventory = inventory.Inventory(self.engine, \ 
    57                                              inv_model, inv_callbacks) 
     56 
     57        self.inventory = inventorygui.InventoryGUI(self.engine, \ 
     58                                                   inv_model, inv_callbacks) 
     59 
    5860        self.refreshReadyImages() 
    5961 
Note: See TracChangeset for help on using the changeset viewer.