Dustin Carlino
|
0522829d9a
|
draw my own arrows, which don't exceed distance too much... except they
dont work in all cases, so disable
|
2019-01-09 14:59:46 -08:00 |
|
Dustin Carlino
|
34aa0c0d74
|
hide areas by default
|
2019-01-09 12:53:10 -08:00 |
|
Dustin Carlino
|
f8c7ed5ea8
|
woops, turn cycler assumed everything's a traffic signal
|
2019-01-09 12:46:44 -08:00 |
|
Dustin Carlino
|
37c9d01a6f
|
declare extra space needed by modal menus. dont stretch menus to cover
that amount... yet.
|
2019-01-09 12:26:16 -08:00 |
|
Dustin Carlino
|
5ef73ee8eb
|
show legend by default in tutorial mode
|
2019-01-01 14:56:06 -06:00 |
|
Dustin Carlino
|
71cf5116d6
|
new modal plugin to show a legend for explaining colors of stuff.
partially done.
|
2018-12-26 20:06:51 -06:00 |
|
Dustin Carlino
|
a232d023ff
|
draw signal diagram exactly below modal menu
|
2018-12-26 19:11:03 -06:00 |
|
Dustin Carlino
|
1f60a718de
|
be able to draw signal diagram farther down, as caller demands
|
2018-12-26 18:48:13 -06:00 |
|
Dustin Carlino
|
a0fefc377f
|
draw signal diagram on the right side of the screen
|
2018-12-26 18:39:11 -06:00 |
|
Dustin Carlino
|
ed318f0c9e
|
compute full width needed for signal diagram, including labels
|
2018-12-26 15:08:51 -06:00 |
|
Dustin Carlino
|
976f210b9a
|
stack modal states... also fix the show score plugin drawing a bit
|
2018-12-25 10:27:38 -08:00 |
|
Dustin Carlino
|
972a0d2fa2
|
hide debug top menu when appropriate
|
2018-12-24 19:32:56 -08:00 |
|
Dustin Carlino
|
e91b6c1064
|
move debug objects plugin to... well, debug control set
|
2018-12-24 19:24:01 -08:00 |
|
Dustin Carlino
|
92c0af2f41
|
solved the mystery of the spurious recompiles -- editor_state and color_scheme need to live outside the crate root, so modtimes are nice
|
2018-12-24 19:16:38 -08:00 |
|
Dustin Carlino
|
0bcda36380
|
teardown the wretched UIState trait
|
2018-12-24 19:13:36 -08:00 |
|
Dustin Carlino
|
8708bc750b
|
now we can make PluginCtx just once
|
2018-12-24 18:54:46 -08:00 |
|
Dustin Carlino
|
8913ea44e3
|
brief interruption to plumb primary_plugins to plugins that need it in a different way outside the ctx, to avoid annoying borrow issues
|
2018-12-24 18:51:51 -08:00 |
|
Dustin Carlino
|
7aed6fa690
|
disable debug controls in tutorial mode... except for the top menu fixes
|
2018-12-24 18:26:11 -08:00 |
|
Dustin Carlino
|
7766c80f25
|
cam_zoom doesnt need to be repeated in RenderOptions.
|
2018-12-24 18:16:15 -08:00 |
|
Dustin Carlino
|
d56f2fad1c
|
reorg time travel plugin. at last, teardown the old active_plugin cruft.
|
2018-12-24 18:08:52 -08:00 |
|
Dustin Carlino
|
c83c4c4899
|
collapse ViewMode, moving ambient plugins out
|
2018-12-24 17:57:47 -08:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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 |
|