Trying out Ragel's state machine generation as an alternative to the DinkyFSM style.
This commit is contained in:
parent
9468990f76
commit
7fc32b0248
10 changed files with 428 additions and 19 deletions
14
gui/dnd_events.hpp
Normal file
14
gui/dnd_events.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
enum class DNDEvent {
|
||||
STARTED=0,
|
||||
LOOT_OPEN=14,
|
||||
LOOT_ITEM=15,
|
||||
LOOT_SELECT=16,
|
||||
INV_SELECT=17,
|
||||
MOUSE_CLICK=19,
|
||||
MOUSE_MOVE=20,
|
||||
MOUSE_DRAG=21,
|
||||
MOUSE_DRAG_START=22,
|
||||
MOUSE_DROP=23
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue