aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;