Partial implementation of road deletion
This commit is contained in:
@@ -19,15 +19,19 @@ NODE_SNAP_RADIUS :: 3
|
||||
TEXT_SIZE :: 50
|
||||
|
||||
// Default road colour
|
||||
ROAD_COLOUR :: rl.BLACK
|
||||
ROAD_COLOUR :: rl.BLACK
|
||||
// Highlighted road colour
|
||||
ROAD_HIGHLIGHT_COLOUR :: rl.GREEN
|
||||
// Node colour once it's fully built
|
||||
NODE_DONE_COLOUR :: rl.BROWN
|
||||
NODE_DONE_COLOUR :: rl.BROWN
|
||||
// Node colour while node is being built
|
||||
NODE_BUILD_COLOUR :: rl.GOLD
|
||||
NODE_BUILD_COLOUR :: rl.ORANGE
|
||||
// Node colour while being able to start building but not doing that yet
|
||||
NODE_CURSOR_COLOUR :: rl.BLUE
|
||||
NODE_CURSOR_COLOUR :: rl.BLUE
|
||||
// The colour of the overlay displaying the snap radius
|
||||
NODE_SNAP_COLOUR :: rl.PINK
|
||||
NODE_SNAP_COLOUR :: rl.PINK
|
||||
// The default colour of the text displayed
|
||||
TEXT_COLOUR :: rl.BLACK
|
||||
|
||||
// Background Colour
|
||||
BACKGROUND_COLOUR :: rl.LIGHTGRAY
|
||||
@@ -8,4 +8,9 @@ Intersection_Data :: struct {
|
||||
road: u32,
|
||||
// The exact point of intersection
|
||||
point: rl.Vector2,
|
||||
}
|
||||
|
||||
Entity :: enum {
|
||||
Node,
|
||||
Road,
|
||||
}
|
||||
Reference in New Issue
Block a user