aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-12-09 08:00:34 +0000
committernathan <nathansmith@disroot.org>2025-12-09 08:00:34 +0000
commit0cddd5649838c0d37c0e4b12786d040ffdb01c97 (patch)
tree8901c97fc892068363062dea6e891bb2cca194e3
parent65ce16ba67cbaf3d65d42c03103397be1f05b947 (diff)
downloadFindThings-0cddd5649838c0d37c0e4b12786d040ffdb01c97.tar.gz
FindThings-0cddd5649838c0d37c0e4b12786d040ffdb01c97.tar.bz2
FindThings-0cddd5649838c0d37c0e4b12786d040ffdb01c97.zip
meow
-rw-r--r--src/map.c3
-rw-r--r--src/map.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index cf0715c..63125ac 100644
--- a/src/map.c
+++ b/src/map.c
@@ -64,7 +64,8 @@ void renderMapUtilityPoleLines(Image* map, const World* world)
end.x *= WORLD_IMAGE_WIDTH / world->size.x;
end.z *= WORLD_IMAGE_HEIGHT / world->size.z;
- ImageDrawLine(map, start.x, start.z, end.x, end.z, BLACK);
+ ImageDrawLine(map, start.x, start.z, end.x, end.z,
+ MAP_UTILITY_POLE_LINE_COLOR);
// Draw pole markers.
ImageDrawCircle(map, start.x, start.z, 1, BROWN);
diff --git a/src/map.h b/src/map.h
index 052762c..30a182c 100644
--- a/src/map.h
+++ b/src/map.h
@@ -11,6 +11,8 @@
#define BLACKOUT_HEIGHT 100
#define BLACKOUT_AREA 18.0
+#define MAP_UTILITY_POLE_LINE_COLOR (Color){0, 0, 0, 127}
+
typedef struct {
Rectangle rect;
RenderTexture render;