Dustin Carlino
|
939f2fefdd
|
adding hands to the bikes
|
2019-05-06 18:33:01 -07:00 |
|
Dustin Carlino
|
95b664e394
|
one fixed bike length. makes rendering easier, and having different lengths is pretty useless
|
2019-05-06 18:06:49 -07:00 |
|
Dustin Carlino
|
6a66276606
|
every day the pedestrians are shuffling
|
2019-05-06 17:40:59 -07:00 |
|
Dustin Carlino
|
c034040b27
|
a start to drawing bikes with more personality
|
2019-05-06 13:20:57 -07:00 |
|
Dustin Carlino
|
b0ca4429ad
|
make turn blinkers work even when sim is paused
|
2019-05-06 12:56:19 -07:00 |
|
Dustin Carlino
|
b060a3ecc2
|
giving pedestrians more shape
|
2019-05-06 12:45:52 -07:00 |
|
Dustin Carlino
|
103e7f28ca
|
combine TripLeg::Bike and ::Drive, fixing a bug and simplifying some cases
|
2019-05-06 11:21:29 -07:00 |
|
Dustin Carlino
|
3ba56a76fb
|
fix a panic with bike parking
|
2019-05-06 11:00:41 -07:00 |
|
Dustin Carlino
|
f31f46e483
|
draw peds on one side of the sidewalk
|
2019-05-05 23:18:24 -07:00 |
|
Dustin Carlino
|
26ee29ff62
|
actually do need to throttle redraws on loading screen
|
2019-05-05 19:07:54 -07:00 |
|
Dustin Carlino
|
272503873c
|
avoid menu flickering and incorrect entries by sending a NoOp after used events
|
2019-05-05 18:23:36 -07:00 |
|
Dustin Carlino
|
08282186a7
|
only keep so many lines in the loading screen logger
|
2019-05-05 09:47:57 -07:00 |
|
Dustin Carlino
|
b398bfc026
|
fix reprinting
|
2019-05-05 08:58:32 -07:00 |
|
Dustin Carlino
|
af30d93ba8
|
also reprint Timer lines -- has a bug, but this is a start
|
2019-05-04 17:47:02 -07:00 |
|
Dustin Carlino
|
73f32854be
|
fix up other ezgui apps, run clippy
|
2019-05-04 17:25:05 -07:00 |
|
Dustin Carlino
|
a921469da9
|
dont special-case having a loading screen during make_gui. pass in EventCtx to make_gui to undo some hacks
|
2019-05-04 17:19:45 -07:00 |
|
Dustin Carlino
|
798a7b5354
|
be able to trigger a loading screen anywhere
|
2019-05-04 17:07:07 -07:00 |
|
Dustin Carlino
|
eed33931de
|
proof-of-concept for gluing Timer to loading screen. hacky and not
featurefull yet.
|
2019-05-04 16:41:01 -07:00 |
|
Dustin Carlino
|
951e2f37ce
|
flush text to display immediately, not at the end. prerequisite to drawing scaled text better
|
2019-05-04 15:36:40 -07:00 |
|
Dustin Carlino
|
cca6f4b5ec
|
displaying names for more roads
|
2019-05-04 13:56:40 -07:00 |
|
Dustin Carlino
|
71be19163d
|
highlight object after warping
|
2019-05-04 10:16:01 -07:00 |
|
Dustin Carlino
|
67d34413fd
|
erase sim at strategic state-changing times
|
2019-05-04 09:56:36 -07:00 |
|
Dustin Carlino
|
2f66c8ca5c
|
remember if modal menus are hidden or not
|
2019-05-04 09:30:44 -07:00 |
|
Dustin Carlino
|
625d9890d7
|
dont allow dupe keys in menus
|
2019-05-03 14:55:40 -07:00 |
|
Dustin Carlino
|
10240aa478
|
trigger CommonState actions from a bunch of modal menus
|
2019-05-03 14:47:31 -07:00 |
|
Dustin Carlino
|
6f4252fcae
|
also draw OSD in some modes that dont use CommonState
|
2019-05-03 14:27:34 -07:00 |
|
Dustin Carlino
|
3db78d1ddd
|
hacky way of showing context menu hotkeys in OSD
|
2019-05-03 14:21:43 -07:00 |
|
Dustin Carlino
|
4b4e6f17a0
|
start a really basic OSD
|
2019-05-02 12:38:12 -05:00 |
|
Dustin Carlino
|
08e1d3f353
|
place the context menu onscreen, be smart about going OOB
|
2019-05-02 12:02:15 -05:00 |
|
Dustin Carlino
|
96c3907655
|
combo calls to update prompt for ModalMenu
|
2019-05-01 21:45:34 -05:00 |
|
Dustin Carlino
|
e25af2e450
|
remove sim's dependency on ezgui and hopefully speed up draw_unzoomed in the process
|
2019-05-01 19:32:39 -07:00 |
|
Dustin Carlino
|
a0b69db71e
|
recalculate modal menu when resizing, hiding, updating prompt...
|
2019-05-01 17:00:23 -07:00 |
|
Dustin Carlino
|
bc3b883e2f
|
optional modal menu keys
|
2019-05-01 16:22:14 -07:00 |
|
Dustin Carlino
|
3b6ecbf4af
|
draw everything from ezgui in screencap mode
|
2019-05-01 16:14:15 -07:00 |
|
Dustin Carlino
|
913ec8d4c7
|
remove top menu from ezgui. unused right now, can restore it later if needed
|
2019-05-01 16:06:40 -07:00 |
|
Dustin Carlino
|
e767a704d3
|
remove old modal menu stuff from ezgui
|
2019-05-01 16:02:50 -07:00 |
|
Dustin Carlino
|
2915af1b7c
|
converting last things to NewModalMenu
|
2019-05-01 15:55:38 -07:00 |
|
Dustin Carlino
|
36df2e7908
|
convert more to NewModalMenu
|
2019-05-01 14:55:47 -07:00 |
|
Dustin Carlino
|
d10cbd9b7c
|
manage the ModalMenu directly in each state, not in ezgui. convert 2
uses of it to start.
|
2019-05-01 14:00:46 -07:00 |
|
Dustin Carlino
|
1eb1b0ea40
|
slightly refactoring Text creation
|
2019-05-01 11:46:22 -07:00 |
|
Dustin Carlino
|
b2b7d0767c
|
use a modal menu for tutorial mode
|
2019-05-01 11:37:19 -07:00 |
|
Dustin Carlino
|
c904e9cdcf
|
get rid of set_mode_with_extra; legend plugin is gone
|
2019-05-01 11:27:28 -07:00 |
|
Dustin Carlino
|
b42bba799d
|
ModalMenus can be mostly hidden
|
2019-05-01 11:17:30 -07:00 |
|
Dustin Carlino
|
6e2689f68c
|
a round of adding/removing things from the TODOs
|
2019-04-30 15:59:34 -07:00 |
|
Dustin Carlino
|
a1d1c3d3bc
|
refactor some warping code
|
2019-04-30 14:54:53 -07:00 |
|
Dustin Carlino
|
82627ce927
|
prompt for the cross-street next
|
2019-04-30 14:43:57 -07:00 |
|
Dustin Carlino
|
3b2c1a1d73
|
new warp function that autocompletes street names
|
2019-04-30 12:48:00 -07:00 |
|
Dustin Carlino
|
30db2e7fc2
|
flatten mouseover_something impl
|
2019-04-29 14:44:43 -07:00 |
|
Dustin Carlino
|
5a7c712f55
|
move DrawCtx to render module
|
2019-04-29 14:42:25 -07:00 |
|
Dustin Carlino
|
096dbd99f7
|
replace RenderOptions with DrawOptions
|
2019-04-29 14:39:08 -07:00 |
|