aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force/blueforce_ui.h
diff options
context:
space:
mode:
authorPaul Gilbert2011-09-04 19:11:59 +1000
committerPaul Gilbert2011-09-04 19:11:59 +1000
commitb893f9f93f58413bd45daec5d4b88a0ca4bb5db1 (patch)
tree4260042a43c56bdcf2d851b639bc0c9ab449c46b /engines/tsage/blue_force/blueforce_ui.h
parent7f5f9c9f91eb8cd52ebcffe208d0e778f8ff6448 (diff)
downloadscummvm-rg350-b893f9f93f58413bd45daec5d4b88a0ca4bb5db1.tar.gz
scummvm-rg350-b893f9f93f58413bd45daec5d4b88a0ca4bb5db1.tar.bz2
scummvm-rg350-b893f9f93f58413bd45daec5d4b88a0ca4bb5db1.zip
TSAGE: Implemented missing interface functionality, including gun loading dialog
Diffstat (limited to 'engines/tsage/blue_force/blueforce_ui.h')
-rw-r--r--engines/tsage/blue_force/blueforce_ui.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/tsage/blue_force/blueforce_ui.h b/engines/tsage/blue_force/blueforce_ui.h
index 809701f83e..766f7dd6e5 100644
--- a/engines/tsage/blue_force/blueforce_ui.h
+++ b/engines/tsage/blue_force/blueforce_ui.h
@@ -69,8 +69,11 @@ public:
};
class UIInventorySlot: public UIElement {
+private:
+ void showAmmoBelt();
public:
int _objIndex;
+ InvObject *_object;
UIInventorySlot();
virtual Common::String getClassName() { return "UIInventorySlot"; }
@@ -96,7 +99,7 @@ public:
Rect _bounds;
bool _visible;
bool _clearScreen;
- int _field4E;
+ bool _cursorChanged;
Common::Array<UIElement *> _objList;
UICollection();
@@ -110,7 +113,6 @@ public:
class UIElements: public UICollection {
private:
void add(UIElement *obj);
- void updateInventory();
void updateInvList();
public:
UIElement _object1;
@@ -122,11 +124,14 @@ public:
int _itemCount, _slotStart, _scoreValue;
bool _active;
Common::Array<int> _itemList;
+ Visage _cursorVisage;
+ UIElements();
virtual void postInit(SceneObjectList *OwnerList = NULL) { error("Wrong init() called"); }
virtual void process(Event &event);
void setup(const Common::Point &pt);
+ void updateInventory();
};
} // End of namespace BlueForce