Trying out Ragel's state machine generation as an alternative to the DinkyFSM style.

This commit is contained in:
Zed A. Shaw 2025-06-14 00:43:40 -04:00
parent 9468990f76
commit 7fc32b0248
10 changed files with 428 additions and 19 deletions

14
gui/dnd_events.hpp Normal file
View 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
};