23#ifndef HADESCH_HEROBELT_H
24#define HADESCH_HEROBELT_H
26#include "common/array.h"
27#include "audio/audiostream.h"
28#include "audio/mixer.h"
29#include "common/rect.h"
30#include "common/ptr.h"
31#include "hadesch/pod_file.h"
32#include "hadesch/pod_image.h"
33#include "common/hashmap.h"
34#include "common/str.h"
35#include "hadesch/enums.h"
36#include "hadesch/event.h"
51 void computeHotZone(
int time,
Common::Point mousePos,
bool mouseEnabled);
53 void removeFromInventory(InventoryItem item);
54 bool isOverHeroBelt()
const {
59 int getCursor(
int time);
60 bool isHoldingItem()
const;
61 InventoryItem getHoldingItem()
const {
64 const Graphics::Cursor *getHoldingItemCursor(
int cursorAnimationFrame)
const;
66 void setColour(HeroBeltColour colour) {
70 _colour = HeroBelt::kWarm;
71 _selectedPower = kPowerNone;
72 _branchOfLifeFrame = 0;
73 _thunderboltFrame = kLightning1;
75 void setBranchOfLifeFrame(
int frame) {
76 _branchOfLifeFrame = frame;
78 void setThunderboltFrame(HeroBeltFrame frame) {
79 _thunderboltFrame = frame;
81 HeroPower getSelectedStrength() {
82 return _selectedPower;
88 void computeHighlight();
89 void clickPower(HeroPower pwr);
97 PodImage _scrollBgHades[kNumColours];
98 PodImage _scrollTextCrete[kNumColours];
99 PodImage _scrollTextTroyMale[kNumColours];
100 PodImage _scrollTextTroyFemale[kNumColours];
101 PodImage _scrollTextMedusa[kNumColours];
102 PodImage _scrollTextHades[kNumColours];
109 HeroBeltColour _colour;
115 InventoryItem _animateItem;
117 int _animateItemTargetSlot;
118 int _animateItemStartTime;
123 int _branchOfLifeFrame;
124 InventoryItem _holdingItem;
126 int _highlightTextIdx;
128 HeroPower _selectedPower;
129 HeroBeltFrame _thunderboltFrame;
Definition: herobelt.h:39
Definition: pod_image.h:35