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

18 commits

Author SHA1 Message Date
Rich
8bc4de3528
Merge V2.1.1 release (#3)
* Mouse can now be used to fully navigate menus

* Added check for driver's current vehicle when releasing from Stop waypoint in case the ped is not in a vehicle.

* Lines are now only drawn between waypoint markers under the same conditions that waypoint markers are drawn

* Updated marker position to be player's mouse position

* Version update

* Added logic to update waypoint position during driving task if the waypoint position was changed before the driver arrived.

* Removed unused usings.  Refactored debug statements to use Game.LogTrivial instead of Logger.Log

* Removed class

* Removed Logger class

* Consolidated all custom enums to this class.  Added default waypoint settings from .ini

* Modified a hint message

* Fixed collector options not being enabled/disabled when Collector box is checked

* Refactored AITasking into CollectedVehicle.

* Updated reference to vehicle tasking based on AITasking refactor.  Fixed speed zone radius not updating correctly.

* Version update

* Refactored AITasking into CollectedVehicle

* Added check for CollectorRadius being more than SpeedZoneRadius.  Added debug messages when values are reset to default.

* Added hint message if player tries to edit waypoints while 3D waypoints are disabled

* Fixed a bug where a 3D waypoint marker would be drawn even if 3D waypoints were disabled

* Removed unnecessary property setting when a vehicle is being removed from a path.

* Added a check for if the driver loses their task and reassigns it.

* Fixed a bug where the 3D line between waypoints was still being drawn even though 3D waypoints were disabled in the settings menu.

* Updated version

* Added console command to show info about collected vehicles.

* Added ConsoleCommand class, removed AITasking class.

* Removed class after refactoring into CollectedVehicle

* Update README.md

* Update README.md

* Added ini setting for Advanced Barrier Options.  Added enum for TrafficLight state.  Added debug message for invalid barriers.

* Updated version

* Added MousePositionInWorld and RNUIMouseInputHandler classes

* Fixed a crash when a collected ped is arrested.

* Refactored to implement RNUIMouseInputHandler class.

* Removed unused method.

* Updated version

* Disabled deletion/creation of shadow barrier and re-enabled updating position based on mouse position.

* Added check for Driver's current vehicle in driving loop in case the Driver exited Vehicle at some point.  Adjusted some guard clause logic and log messages.

* Removed unused variable

* Renamed some methods to improve clarity

* Updated version.
2020-11-26 07:41:22 -07:00
Rich Dunne
68b2fc46b7 Re-ordered IsValidForCollection check for possible optimization 2020-10-19 06:12:40 -06:00
Rich Dunne
ead8b3b759 Moved waypoint collection code to Path object 2020-10-18 19:38:49 -06:00
Rich Dunne
072d19d643 Path object now has it's own list of collected vehicles. 2020-10-17 07:11: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
e173d9da0c Updated methods from public to internal 2020-09-14 13:19:28 -06:00
Rich Dunne
02a603ad15 Removed unnecessary code and updated references. 2020-09-14 12:15:34 -06:00
Rich Dunne
435fce3c15 Added DrawLinesBetweenWaypoints method. 2020-09-13 03:00:07 -06:00
Rich Dunne
beddfe4223 Moved State enum to Settings class. Added checks for blip opacity based on whether map blips are enabled in settings 2020-09-06 14:26:42 -06:00
Rich Dunne
57d998b606 Refactored for better encapsulation 2020-09-06 09:21:45 -06:00
Rich Dunne
9a18c529cc Changed PathNum to Number 2020-09-05 14:06:38 -06:00
Rich Dunne
97314a2cde Removed unused code. Fixed blip opacity not being restored to normal when the path is re-enabled 2020-09-03 17:50:57 -06:00
Rich Dunne
028c80035a Removed SetPathStatus 2020-08-26 18:36:16 -06:00
Rich Dunne
773f76a7de Updated code to reference Path State enum based on recent refactor 2020-08-26 16:16:31 -06:00
Rich Dunne
fc76ea1f80 Replaced Path's IsFinished bool with State enum 2020-08-26 04:38:47 -06:00
Rich Dunne
56a801df92 Updated methods related to path status 2020-08-23 15:41:09 -06:00
Rich Dunne
42acd1c56a Refactored fields and properties, extracted relevant functions from other classes and consolidated them here 2020-08-20 16:27:50 -06:00
Rich Dunne
f4c1c0c693 Mid-refactor 2020-08-18 19:00:29 -06:00