36 lines
1.1 KiB
Zig
36 lines
1.1 KiB
Zig
const clr = @import("raylib").Color;
|
|
|
|
/// Screen Width
|
|
pub const WIDTH = 1920;
|
|
/// Screen Height
|
|
pub const HEIGHT = 1080;
|
|
pub const BACKGROUND_COLOR = clr.light_gray;
|
|
|
|
/// Base node radius
|
|
pub const NODE_RADIUS = 20;
|
|
/// The radius around node center where no new node gets created but rather it snaps onto existing one
|
|
pub const NODE_SNAP_RADIUS = 3 * NODE_RADIUS;
|
|
/// Regular (finished) node colour
|
|
pub const NODE_COLOUR = clr.brown;
|
|
/// Temporary node colour - currently being pulled from
|
|
pub const NODE_TEMP_COLOUR = clr.orange;
|
|
/// The colour of the node being at the cursor
|
|
pub const NODE_CURSOR_COLOUR = clr.blue;
|
|
pub const NODE_RELATED_COLOUR = clr.purple;
|
|
|
|
/// Road (line) size
|
|
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;
|
|
|
|
/// Regular text size
|
|
pub const TEXT_SIZE = 50;
|
|
/// Text size that is used for displaying entity IDs
|
|
pub const ENTITY_DATA_TEXT_SIZE = TEXT_SIZE / 2;
|
|
/// Text colour in which entity IDs are displayed if toggled
|
|
pub const ENTITY_DATA_TEXT_COLOUR = clr.orange;
|
|
|
|
pub const CAR_SIZE = 20;
|