From fc0341d9ad0ff82615184aa342d8386eab593018 Mon Sep 17 00:00:00 2001 From: Marto Date: Wed, 29 Apr 2026 21:48:35 +0200 Subject: [PATCH] Adjusted variables and comments --- src/common/constants.zig | 5 +---- src/common/structures.zig | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/common/constants.zig b/src/common/constants.zig index 1a08460..adb435b 100644 --- a/src/common/constants.zig +++ b/src/common/constants.zig @@ -22,7 +22,4 @@ pub const ROAD_SIZE = 20; /// Regular road colour pub const ROAD_COLOUR = clr.black; /// Colour of the road that is highlighted -pub const ROAD_HIGHLIGHTED_COLOUR = clr.green; - -pub const TEXT_SIZE = 50; -pub const TEXT_COLOUR = clr.black; \ No newline at end of file +pub const ROAD_HIGHLIGHTED_COLOUR = clr.green; \ No newline at end of file diff --git a/src/common/structures.zig b/src/common/structures.zig index 39f9f0a..3feeba5 100644 --- a/src/common/structures.zig +++ b/src/common/structures.zig @@ -1,6 +1,7 @@ const Road = @import("../infrastructure/road.zig").Road; const Node = @import("../infrastructure/node.zig").Node; +/// Can point to either entity type (node, road, etc.) pub const Entity = union(enum) { node: *Node, road: *Road,