ScummVM API documentation
scalpel_inventory.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef SHERLOCK_SCALPEL_INVENTORY_H
23 #define SHERLOCK_SCALPEL_INVENTORY_H
24 
25 #include "sherlock/inventory.h"
26 
27 namespace Sherlock {
28 
29 namespace Scalpel {
30 
31 class ScalpelInventory : public Inventory {
32 public:
34  ~ScalpelInventory() override;
35 
36  Common::String _fixedTextExit;
37  Common::String _fixedTextLook;
38  Common::String _fixedTextUse;
39  Common::String _fixedTextGive;
40 
41  byte _hotkeyExit;
42  byte _hotkeyLook;
43  byte _hotkeyUse;
44  byte _hotkeyGive;
45 
46  byte _hotkeysIndexed[8];
47 
51  void drawInventory(InvNewMode flag);
52 
57  void invCommands(bool slamIt);
58 
62  void highlight(int index, byte color);
63 
67  void refreshInv();
68 
72  void putInv(InvSlamMode slamIt);
73 
78  void loadInv() override;
79 
83  int identifyUserButton(int key);
84 };
85 
86 } // End of namespace Scalpel
87 
88 } // End of namespace Sherlock
89 
90 #endif
Definition: scalpel_inventory.h:31
Definition: str.h:59
void putInv(InvSlamMode slamIt)
Definition: inventory.h:78
Definition: animation.h:29
Definition: sherlock.h:76
void drawInventory(InvNewMode flag)
void highlight(int index, byte color)