From e96c8910ff9e9c17b0c708d18b0efe018dd8c978 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 25 Nov 2024 16:05:26 +0100 Subject: close #10 --- src/include/ui/colors.h | 4 ++++ src/include/world.h | 1 + 2 files changed, 5 insertions(+) (limited to 'src/include') diff --git a/src/include/ui/colors.h b/src/include/ui/colors.h index f8a7f91..20a36e8 100644 --- a/src/include/ui/colors.h +++ b/src/include/ui/colors.h @@ -13,6 +13,9 @@ #define COLOR_INSPECT_ACTIVE_JOB_LINE_CONNECTION rgb(40,40,40) #define COLOR_DOT_HOVERED rgb(100,220,100) +#define COLOR_CONNECTION_BETWEEN_LOCATION_ACCESSIBLE rgb(220,220,220) +#define COLOR_CONNECTION_BETWEEN_LOCATION_INACCESSIBLE rgb(30, 30, 30) + #define COLOR_TEXT_NEGATIVE rgb(226,86,86) #define COLOR_TITLE rgb(8, 10, 12) #define COLOR_TEXT_SHADOW rgb(24,24,24) @@ -29,6 +32,7 @@ #define COLOR_BUTTON_HIGHLIGHTED_ACTIVE rgb(92, 60, 56) #define COLOR_BUTTON_DISABLED rgb(27, 26, 25) +#define COLOR_LOCATION_DOT_UNACCESSIBLE rgb(60, 60, 60) #define COLOR_LOCATION_DOT_UNOWNED rgb(220,220,220) #define COLOR_LOCATION_DOT_OWNED rgb(220,100,100) diff --git a/src/include/world.h b/src/include/world.h index d2e9bfc..2c32581 100644 --- a/src/include/world.h +++ b/src/include/world.h @@ -251,6 +251,7 @@ typedef struct t_world_location // Dynamic array connections; bool is_hovered; + bool is_accessible; u32 id; } world_location; -- cgit v1.2.3-70-g09d2