Files
odin-base-road-network/common/constants.odin

37 lines
997 B
Odin

package common
import rl "vendor:raylib"
// Screen Width
WIDTH :: 1920
// Screen Height
HEIGHT :: 1080
// Default Monitor
MONITOR :: 0
// Thickness of the road being drawn
ROAD_SIZE :: 20
// Radius of the node
NODE_RADIUS :: 20
// Size of designated radius that determines when position is within node's 'sphere'
NODE_SNAP_RADIUS :: 3
// Default text size
TEXT_SIZE :: 50
// Default road colour
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 colour while node is being built
NODE_BUILD_COLOUR :: rl.ORANGE
// Node colour while being able to start building but not doing that yet
NODE_CURSOR_COLOUR :: rl.BLUE
// The colour of the overlay displaying the snap radius
NODE_SNAP_COLOUR :: rl.PINK
// The default colour of the text displayed
TEXT_COLOUR :: rl.BLACK
// Background Colour
BACKGROUND_COLOUR :: rl.LIGHTGRAY