Commit Graph

815 Commits

Author SHA1 Message Date
Dustin Carlino
b618842ad2 WIP woops, found a bug with bike_reached_end 2018-11-18 17:02:30 -08:00
Dustin Carlino
fb298e4706 animate bike parking better 2018-11-18 16:53:11 -08:00
Dustin Carlino
044a25fce2 give up on Sim being Eq; settle for PartialEq, get rid of all of the annoying 'ignore this field' hacks. also getting rid of unnecessary PartialEq impls in map_model 2018-11-18 16:28:43 -08:00
Dustin Carlino
71d4df2e6d save editor view when sim 'gracefully' blows up 2018-11-18 15:16:39 -08:00
Dustin Carlino
99d0d27837 adjust debug logs 2018-11-18 15:03:02 -08:00
Dustin Carlino
a863283571 different parser for ticks from filenames 2018-11-18 14:54:36 -08:00
Dustin Carlino
0df92bab75 debug from the most recent but relevant savestate 2018-11-17 20:10:00 -08:00
Dustin Carlino
889214ccdf splitting off just the scheduling portion of spawn. no more
recalculating paths!
2018-11-17 18:41:53 -08:00
Dustin Carlino
6dbdfcb18b proper enum for vehicle type 2018-11-17 17:38:10 -08:00
Dustin Carlino
343aeba3b6 deleted some aging code only used for tests that definitely needs overhaul anyway 2018-11-17 17:28:19 -08:00
Dustin Carlino
9084f0060b PathRequest instead of massive confusing tuples. also can now use bike lanes from spawn layer 2018-11-17 17:12:03 -08:00
Dustin Carlino
0b53b2e44f make bike from border work by adding a bit in spawn 2018-11-17 07:34:06 -08:00
Dustin Carlino
d7efdfc86d rendering bikes differently 2018-11-16 14:51:41 -08:00
Dustin Carlino
3036511c9e another darn bike/parking lane case, unrelated 2018-11-16 14:34:01 -08:00
Dustin Carlino
1e43f33939 render peds preparing bikes 2018-11-16 14:28:36 -08:00
Dustin Carlino
7e571618be deal with unrelated bus/parking lane problem that cropped up 2018-11-16 14:20:41 -08:00
Dustin Carlino
5db8b4edb6 make finished bikes become peds 2018-11-16 14:14:36 -08:00
Dustin Carlino
b9770dc4bd plumbing through the commands in spawn, finally... 2018-11-16 13:40:14 -08:00
Dustin Carlino
705adfcf08 representing the preparing-to-bike state in walking sim 2018-11-16 12:07:26 -08:00
Dustin Carlino
a2a6b16fdc plumbing biking option from scenario all the way down... incomplete 2018-11-16 11:31:27 -08:00
Dustin Carlino
fb2ec0bcd0 plumbing some bits for bikes 2018-11-16 10:38:05 -08:00
Dustin Carlino
ee9f2a0430 make a vehicle type for bikes and introduce a cap speed 2018-11-16 09:44:04 -08:00
Dustin Carlino
952e97d942 starting to write down an enum for the massive FSM revamp. having more
reservations about going this direction.
2018-11-15 18:58:03 -08:00
Dustin Carlino
77a2d72d34 easily swap lanes on a road 2018-11-14 12:22:52 -08:00
Dustin Carlino
504b818800 drawing lanes in synthetic editor 2018-11-14 12:17:58 -08:00
Dustin Carlino
7937586e52 make it easy to prefill a textbox from wizard 2018-11-14 11:56:45 -08:00
Dustin Carlino
ac1272f660 control lanes of synthetic roads 2018-11-14 11:50:04 -08:00
Dustin Carlino
f640bf6435 control synthetic intersection type 2018-11-14 11:19:08 -08:00
Dustin Carlino
febf3a1cad saving and loading synthetic models 2018-11-14 10:54:07 -08:00
Dustin Carlino
7b6f1c4624 refactoring a proper way to draw/use rectangles 2018-11-14 09:57:58 -08:00
Dustin Carlino
99fbde1d4d solidifying synthetic editor: model/ui split, explicit enum of UI state,
standard controls for the 3 objects
2018-11-14 09:43:50 -08:00
Dustin Carlino
c51171fc4c starting a synthetic map editor. need to separate the model from the
controls better.
2018-11-14 08:54:12 -08:00
Dustin Carlino
8f15eccf8d exclude cul-de-sacs 2018-11-13 14:13:41 -08:00
Dustin Carlino
88334d50ca WIP rewriting pathfinding natively in terms of PathSteps 2018-11-13 14:06:52 -08:00
Dustin Carlino
a002e034d7 splitting out physics types 2018-11-13 11:48:35 -08:00
Dustin Carlino
6b5a012038 organizing sim drawing things 2018-11-13 11:38:35 -08:00
Dustin Carlino
11c2bbd11e grouping sim query methods 2018-11-13 11:32:17 -08:00
Dustin Carlino
af7785d6a3 always send along CarState in DrawCarInput, removing an annoying query method 2018-11-13 10:57:28 -08:00
Dustin Carlino
b2e3f25393 moving RNG helpers from sim to abstutil 2018-11-13 10:50:54 -08:00
Dustin Carlino
df5a151f8b rearranging some sim code into make/ 2018-11-13 10:39:42 -08:00
Dustin Carlino
ecae90eb8a refactor scenario instantiate 2018-11-13 10:11:32 -08:00
Dustin Carlino
462539b558 spawning cars at a border 2018-11-13 08:50:12 -08:00
Dustin Carlino
e9352aca40 fix random stuff that stopped building (but not tests) 2018-11-12 21:30:11 -08:00
Dustin Carlino
62182e6736 make cars end at borders properly by slightly extending the protocol for routers 2018-11-12 21:05:50 -08:00
Dustin Carlino
7214cd43d2 model cars finishing at a border... with a hack. :( 2018-11-12 20:51:13 -08:00
Dustin Carlino
98620ece6b sending some peds to border nodes, testing it 2018-11-12 17:20:09 -08:00
Dustin Carlino
7f62537085 oops. border could have been represented in sidewalkspot. merge the madness. 2018-11-12 17:01:49 -08:00
Dustin Carlino
257d051585 update walking model to handle ending at a border 2018-11-12 16:45:33 -08:00
Dustin Carlino
70c1fae4f1 encoding ability to go to a border node in scenarios 2018-11-12 16:02:14 -08:00
Dustin Carlino
8e7021e958 update walking model to handle starting at a border 2018-11-12 15:34:09 -08:00