Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay highlighting #363

Merged
merged 19 commits into from
Oct 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ data/system/prebaked_results
data/system/scenarios

importer.json

.idea/
10 changes: 10 additions & 0 deletions game/src/colors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ pub struct ColorScheme {
pub signal_spinner: Color,
pub signal_turn_block_bg: Color,

// Timeline delay highlighting
pub very_slow_intersection: Color,
pub slow_intersection: Color,
pub normal_slow_intersection: Color,

// Other static elements
pub void_background: Color,
pub map_background: Fill,
Expand Down Expand Up @@ -210,6 +215,11 @@ impl ColorScheme {
signal_spinner: hex("#F2994A"),
signal_turn_block_bg: Color::grey(0.6),

// Timeline delay highlighting
very_slow_intersection: Color::RED,
slow_intersection: Color::YELLOW,
normal_slow_intersection: Color::GREEN,

// Other static elements
void_background: Color::BLACK,
map_background: Color::grey(0.87).into(),
Expand Down
Loading