Have a separate container vs. item loot for the different situations where you're pick items out of a container vs. an item on the ground.
This commit is contained in:
parent
7db64b73c5
commit
af933c827a
4 changed files with 30 additions and 23 deletions
22
events.hpp
22
events.hpp
|
@ -2,10 +2,11 @@
|
|||
|
||||
namespace Events {
|
||||
enum GUI {
|
||||
START, COMBAT, LOOT, DEATH, STAIRS_UP, STAIRS_DOWN, TRAP,
|
||||
START, COMBAT, DEATH, STAIRS_UP, STAIRS_DOWN, TRAP,
|
||||
COMBAT_START, NO_NEIGHBORS, HP_STATUS,
|
||||
ATTACK, BLOCK, EVADE, NEW_RITUAL,
|
||||
UPDATE_SPRITE, ENEMY_SPAWN, NOOP,
|
||||
LOOT_ITEM, LOOT_CONTAINER,
|
||||
LOOT_CLOSE, LOOT_SELECT, INV_SELECT, AIM_CLICK
|
||||
};
|
||||
|
||||
|
@ -32,14 +33,15 @@ namespace gui {
|
|||
STOP_COMBAT = 12,
|
||||
STAIRS_DOWN = 13,
|
||||
LOOT_OPEN=14,
|
||||
LOOT_SELECT=15,
|
||||
INV_SELECT=16,
|
||||
QUIT = 17,
|
||||
MOUSE_CLICK=18,
|
||||
MOUSE_MOVE=19,
|
||||
MOUSE_DRAG=20,
|
||||
MOUSE_DRAG_START=21,
|
||||
MOUSE_DROP=22,
|
||||
KEY_PRESS=23
|
||||
LOOT_ITEM=15,
|
||||
LOOT_SELECT=16,
|
||||
INV_SELECT=17,
|
||||
QUIT = 18,
|
||||
MOUSE_CLICK=19,
|
||||
MOUSE_MOVE=20,
|
||||
MOUSE_DRAG=21,
|
||||
MOUSE_DRAG_START=22,
|
||||
MOUSE_DROP=23,
|
||||
KEY_PRESS=24
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue