Dustin Carlino
fc15b28826
lift the special case search plugin out of simmode.
2018-12-24 17:47:41 -08:00
Dustin Carlino
d06f80e918
lift warp plugin out of simmode. and categorize display logs as view,
...
just to organize the directory more.
2018-12-24 17:31:21 -08:00
Dustin Carlino
597828ce28
revamp toggleable layers plugin, and get rid of debug mode
2018-12-24 17:22:52 -08:00
Dustin Carlino
ad3ef954eb
revamping hider plugin
2018-12-24 16:30:45 -08:00
Dustin Carlino
46b3e85bd3
flatten some DebugMode stuff that actually doesnt need to be permap, since it's exclusive blocking
2018-12-24 12:38:51 -08:00
Dustin Carlino
a626f5c542
remove steepness plugin; it's annoying and useless
2018-12-24 12:32:39 -08:00
Dustin Carlino
3b372dd9ce
move DisplayLogs into exclusive_blocking_plugin
2018-12-24 12:26:02 -08:00
Dustin Carlino
7b8b9fdbe6
flatten SimMode into DefaultUIState
2018-12-24 12:19:16 -08:00
Dustin Carlino
39c3e2917e
flatten EditMode into DefaultUIState
2018-12-24 10:39:24 -08:00
Dustin Carlino
d989e2fb09
convert object hider into a modal menu
2018-12-24 08:17:23 -08:00
Dustin Carlino
567ded85de
stop drawing weird time left box. update the text in the diagram instead.
2018-12-23 21:31:37 -08:00
Dustin Carlino
ae6f8d5e16
show entire signal diagram when hovering
2018-12-23 21:11:30 -08:00
Dustin Carlino
e05d4be34b
draw blinkers in the front and back, increase size, tweak color
2018-12-23 09:20:18 -08:00
Dustin Carlino
8202698daa
start text box with cursor at the end of prefilled
2018-12-23 09:05:39 -08:00
Dustin Carlino
551a8ef63a
aw yeah, unicode arrow key descriptions. and tweaking some wording from filip's feedback
2018-12-22 23:20:21 -08:00
Dustin Carlino
92ce83dfdd
cant start dragging on top of covered area
2018-12-22 22:21:05 -08:00
Dustin Carlino
5d28acd1af
traffic signal editor left bar should be drawn below top menu
2018-12-22 22:18:03 -08:00
Dustin Carlino
0edded5725
trying out a quick way to mark parts of the screen unavailable for map-space mouseover. oh hey, it works great.
2018-12-22 20:03:12 -08:00
Dustin Carlino
2d7034e9cb
canvas wont serve up map-space cursor when it's out of the window
2018-12-22 17:12:30 -08:00
Dustin Carlino
b7dfa3effc
make neighborhood editor work with synthetic maps, so i stop thinking the plugin is broken
2018-12-22 16:53:50 -08:00
Dustin Carlino
0aece4944d
prep for disabling mouseover by changing canvas API. fix neighborhood
...
plugin to handle out-of-bounds points while we're there.
2018-12-22 16:49:47 -08:00
Dustin Carlino
099fd288fe
all arrows are rounded
2018-12-22 14:02:42 -08:00
Dustin Carlino
1d9f3320fa
implementing draw_line and draw_rounded_line directly
2018-12-22 13:58:45 -08:00
Dustin Carlino
88ef720f16
dont overdraw turns in turn cycler, and fix colors when cycling through individual turns
2018-12-22 13:40:33 -08:00
Dustin Carlino
ce45b5469b
highlight turn icon circle, not arrow, so we can keep seeing the current priority. draw the big turn differently too.
2018-12-22 13:31:08 -08:00
Dustin Carlino
9b6725fc7d
back to adjusting GUI colors
2018-12-22 13:12:10 -08:00
Dustin Carlino
9d32ef8b83
use const functions to construct constant colors in many cases, now that rust 2018 is here
2018-12-22 12:39:17 -08:00
Dustin Carlino
0f62da0f63
centralize and adjust constants for text colors. also clean up places
...
unnecessarilly passing in RGB values for constants
2018-12-22 12:26:34 -08:00
Dustin Carlino
dfc08bfe97
figure out longest line for text dims by actual rendered width
2018-12-22 12:04:17 -08:00
Dustin Carlino
44c3fab9f6
working on text alignment again
2018-12-22 11:54:49 -08:00
Dustin Carlino
ac31da777f
more cleaned up notes on map model
2018-12-21 22:09:11 -08:00
Dustin Carlino
2510625efc
removing piston window size type from canvas, meaning piston deps are now very narrowly isolated to part of ezgui
2018-12-21 10:00:45 -08:00
Dustin Carlino
bec3e58563
actually clear out line in test results
2018-12-21 09:28:02 -08:00
Dustin Carlino
3a05df662c
oops, intersection merging skipped over adjacently ID'd short roads.
...
this exposed more bugs with tiny loop roads that get created. those
are... sort of dealt with now, but they have pretty bad geometry.
disable intersection merging completely, since it's so broken.
2018-12-20 15:10:20 -08:00
Dustin Carlino
07ae4737ae
avoid composite turns that loop around
2018-12-20 14:00:24 -08:00
Dustin Carlino
31ddbd0e61
draw stop sign line closer to the intersection
2018-12-20 12:32:59 -08:00
Dustin Carlino
c27015223c
distinguish intersection types by color, even when zoomed out
2018-12-20 12:03:44 -08:00
Dustin Carlino
0c2a389f96
dont draw complicated stop sign depiction when hovering. simplify lots of the rendering hints, also fixing up traffic signal crosswalk depiction.
2018-12-20 11:28:42 -08:00
Dustin Carlino
f0250b4571
always depict traffic signals, not just when hovering with turn cycler.
...
partly broken right now.
2018-12-20 11:00:50 -08:00
Dustin Carlino
7b9a24f99f
draw traffic signal timer box in the intersection, not the corner of the screen
2018-12-20 10:42:17 -08:00
Dustin Carlino
999c4e6975
follow build.rs output rules better... even though spurious recompiles
...
still happen. :(
2018-12-20 10:21:52 -08:00
Dustin Carlino
e51a8efbc3
start writing proper docs on the map model and conversion
2018-12-20 09:54:14 -08:00
Dustin Carlino
c7e7f6ae75
oops, dont allow unselecting a key-controlled menu
2018-12-19 11:52:58 -08:00
Dustin Carlino
ad497ac698
make menus handle window resizing
2018-12-19 11:48:35 -08:00
Dustin Carlino
b7f31cc8f4
make canvas know initial screen size, so centering on map pt initially does work
2018-12-18 15:37:44 -08:00
Dustin Carlino
78f3107d8a
oh, piston has a helper for rendering a line of text. use it.
2018-12-18 15:02:51 -08:00
Dustin Carlino
887a8a7fcb
dont show intersection stuff when zoomed out
2018-12-18 13:50:31 -08:00
Dustin Carlino
a0160f6be0
render highlighted lines with full width when it makes sense
2018-12-18 12:42:29 -08:00
Dustin Carlino
64e5bcc8f8
draw turn blinkers on cars
2018-12-18 12:24:37 -08:00
Dustin Carlino
0a18d2afd2
fix broken top menu hotkeys when a submenu is present
2018-12-18 11:50:23 -08:00