diff options
| author | nathan <nathansmith@disroot.org> | 2025-12-22 08:34:40 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-12-22 08:34:40 +0000 |
| commit | 08c502d813b11b1f9dd7b7143a0987454c76ea32 (patch) | |
| tree | 8caa319d59ab991a270495f5b9f9c263eb2de74f /src/entity.h | |
| parent | db04bfb989a5ebbd1f57e9983a2bb819c3ce4d67 (diff) | |
| download | FindThings-08c502d813b11b1f9dd7b7143a0987454c76ea32.tar.gz FindThings-08c502d813b11b1f9dd7b7143a0987454c76ea32.tar.bz2 FindThings-08c502d813b11b1f9dd7b7143a0987454c76ea32.zip | |
Menu item selection
Diffstat (limited to 'src/entity.h')
| -rw-r--r-- | src/entity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h index bdb0967..9d6bf9a 100644 --- a/src/entity.h +++ b/src/entity.h @@ -54,6 +54,7 @@ enum InteractionCommand { }; enum Selection { + SELECTION_NONE = -1, SELECTION_INTERACT, SELECTION_NEXT_MESSAGE, SELECTION_MENU_ITEM, // +x to select any given menu entry @@ -98,6 +99,7 @@ float getEntityDistance(Entity entity, Vector3 position); InteractionCommand interactWithEntity(Entity* entity, Game* game, Selection selection); +int getInteractionMenuIndex(Selection selection); BoundingBox entityBoxFromScale(float scale, float width, float height); |
