1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00
Commit graph

40 commits

Author SHA1 Message Date
Rich Dunne
497e0c423f Added new DismissOption for directed vehicles. Refactored for Path object now handling lists of vehicle collection. Dismiss From World now works on uncollected vehicles. 2020-10-17 07:10:47 -06:00
Rich Dunne
51748694d6 Removed more logging for release. 2020-10-16 12:57:43 -06:00
Rich Dunne
7ee307f8e6 Commented out unnecessary logging for release 2020-10-15 14:52:50 -06:00
Rich Dunne
080701b0b1 Removed DismissOption.FromDirect 2020-10-11 15:01:32 -06:00
Rich Dunne
a06a2bbebe Added debug message for collected vehicle properties upon being directed 2020-10-11 14:58:21 -06:00
Rich Dunne
5d1a17ed1f Added new DismissOption enum for when a player enters a collected vehicle. Added null checking when deleting nearby vehicle from world. 2020-10-10 20:08:59 -06:00
Rich Dunne
d36c7fb012 Refactored variable/object references to reflect changes in path creation/edit waypoint menus. 2020-10-10 15:52:48 -06:00
Rich Dunne
a68de1d56a Fixed vehicles being dismissed prematurely when directed from one path to another. 2020-10-10 07:29:39 -06:00
Rich Dunne
0ad0136c3a Vehicle and driver persistence is now set when a vehicle is collected, inside the CollectedVehicle class. 2020-10-08 05:45:42 -06:00
Rich Dunne
5a36a3582a Changed GetNearbyVehicles param value to max for getting nearby driver in directDriver option 2020-10-07 05:06:44 -06:00
Rich Dunne
f0a5fb6d80 Fixed vehicle and driver persistence not being set after dismissal/before recollection 2020-10-07 05:00:29 -06:00
Rich Dunne
4d305aea15 Directed vehicles are now dismissed properly from their paths and re-collected. 2020-10-05 05:49:11 -06:00
Rich Dunne
334ec2358c Organized code into local functions within DeletePath. Deleted duplicate speed zone removal code. collectedVehicle is now dismissed when directed to another path in order to remove them from their current path. 2020-10-04 13:52:52 -06:00
Rich Dunne
7688768d9b Updated check when deleting vehicle to include all occupants, not just driver 2020-09-22 14:40:24 -06:00
Rich Dunne
64c7afed14 Added loop to ensure driver is deleted before the vehicle is deleted upon dismiss from world 2020-09-22 14:24:07 -06:00
Rich Dunne
03d18f621f Added functions to update path blips and path numbers when a single path is deleted. 2020-09-21 11:30:21 -06:00
Rich Dunne
5fe643ea42 Refactored dismiss driver options. "From position" is replaced with "From world" 2020-09-20 12:54:09 -06:00
Rich Dunne
2241e107de Removed GetPaths() method from PathMainMenu and updated references to paths list. 2020-09-15 13:49:10 -06:00
Rich Dunne
d60c9ff105 Refactored menu item initializations, updated Game.LogTrivial calls to Logger.Log, updated public methods to internal 2020-09-14 14:47:37 -06:00
Rich Dunne
480ef8975f Removed unncessary code, updated references. 2020-09-14 12:02:20 -06:00
Rich Dunne
af2476bb2f Extracted Draw3DWaypointOnPlayer method to PathMainMenu for when a new path is created. Removed referencs to DebugGraphics class 2020-09-14 11:30:14 -06:00
Rich Dunne
d6fd840333 Adjusted menu descriptions and colors 2020-09-13 04:49:04 -06:00
Rich Dunne
628120f5f2 Removed IsInCollectedVehicles method. Added code to DeletePath method for vehicles stopped at a waypoint. Refactored directDriver and dismissDriver options. 2020-09-13 02:57:26 -06:00
Rich Dunne
8fb6f33ffb Updated references based on CollectedVehicle refactor. 2020-09-07 20:27:22 -06:00
Rich Dunne
6321fce313 Renamed togglePath checkbox item to disablePath 2020-09-06 14:23:18 -06:00
Rich Dunne
f770a6298f Fixed DismissDriver, attempted to fix emergency vehicle sirens turning on when dismissed 2020-09-06 09:20:34 -06:00
Rich Dunne
801eca2cb2 Refactored reference names, removed unused code. 2020-09-05 14:05:30 -06:00
Rich Dunne
305aa22af2 Added more null checks 2020-09-03 17:49:54 -06:00
Rich Dunne
95f65c792c Refactored collectedVehicles from Dictionary to List 2020-08-27 15:01:57 -06:00
Rich Dunne
e8c5e2ca69 Fixed PathMainMenu not functioning correctly after finishing a path 2020-08-26 19:51:13 -06:00
Rich Dunne
fc76ea1f80 Replaced Path's IsFinished bool with State enum 2020-08-26 04:38:47 -06:00
Rich Dunne
a052aefc8a Removed unused Redirected property 2020-08-25 20:56:15 -06:00
Rich Dunne
82d1e5293c Refactored due to changing when a path is considered "being created" 2020-08-25 20:54:09 -06:00
Rich Dunne
5f3f22d2c4 Updated references based on TrafficPathing refactor 2020-08-25 17:12:05 -06:00
Rich Dunne
a0bf7ef512 Beginning to implement option to direct driver to nearest waypoint or path's first waypoint 2020-08-24 20:15:22 -06:00
Rich Dunne
bee2d44c4a Removed RefreshMenu method, replaced with changing createNewPath.Text value 2020-08-24 10:11:35 -06:00
Rich Dunne
4857ce2095 Renamed local variables 2020-08-24 09:13:34 -06:00
Rich Dunne
c60fc5c032 Changed foreground color of menu options user can select 2020-08-24 07:07:32 -06:00
Rich Dunne
5e26f15e75 Updated references and method calls on CollectedVehicle objects as a result of CollectedVehicle refactor 2020-08-20 19:30:34 -06:00
Rich Dunne
fe72d5daf8 Updated menu references based on MenuManager refactor 2020-08-20 18:57:20 -06:00
Renamed from SceneManager/Menus/TrafficMenu.cs (Browse further)