* Start Implementing track tool update
* Further work
* Finish function
* Fix bugs
* Fix view issue
* Extract out common function
* Implement road tool update
My previous PR, #1118, removed the hooks to the prompt browse window. This was working fine for all except saving games!
Turns out the toolbar menu was still calling the vanilla function, thereby relying on the hook.
Replacing this call revealed a bug in hiding with the save prompt being initialised to the wrong save path.
This has been addressed as well.
* Create new helper struct for trackdirection
* Split up into clear road or track
* Try name offsets where possible
* Update with knowledge from track branch
* Implement airport toolDown
* Implement dock toolDown
* Tidy up
* Refactor and use alternative simpler search
* Implement roadStation toolDown
* Implement trainStation toolDown
* Revert vehicle body changes as no longer required
* Include correct headers
* Fix off by one error
Add workflow_dispatch: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
Remove unneeded brackets and shell.
Windows:
Opt out of PowerShell telemetry.
Use default ErrorView.
Simplify vswhere commands.
Add -m to msbuild.
Fix typos in artifact steps.
upload-artifact:
Use v2.
Use runner.os in name.
Use -B instead of mkdir where applicable.
upload-artifact:
Remove unneeded quotation marks.
Add if-no-files-found: error
mac:
Add name.
Require check-code-formatting like other jobs.
Remove unneeded shell.
Add names to steps.
Make dependency version into variable.
Don't hardcode job number.
Use tar instead of zip.
* Fix: #366. Implement deliver cargo to nearby stations
Original game had a bug where it would write to bad memory and end up
delivering cargo to stations that it shouldn't
* Add note and break
* Update changelog
* Adjust variable name
* Minor refactor to use isPlayerCompany
* Implement CompanyManager::reset (add hook?)
* Replace instances of second getOwnerStatus signature
* Implement CompanyManager::getOwnerStatus
* Start implementing toolUpdate signal
* Implement getSide and finish signal tool update
* Implement signal toolDown
* Actually name the game command
* Use correct global address
* Split up two functions
* Rename and split off duplications
* Reorg and label
* Extract out function
* Reintroduce code back from function
* Split out function
* Remove dead code
* Integrate function into base code
* Split out into function
* Refactor track similarly
* Consolidate into one templated function
* Pass by ref
* Fix compile error
* Add missing static
* Change: tree clusters now cost money outside editor
* Query viability before executing placement command
* Fix error title for cluster tools
* Only play sound if tree planting was successful
* Refactor the tree cluster tool to use one templated func
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
* Implement Wall toolUpdate Down
* Start implementation of tree tool Update Down
* Continue
* Finish scatter down
* Refactor trig function into Math file
* Implement second cluster tool function
* Name tree flags where possible
* Add land object flags
* Try alternative constant
* Add missing error titles and widget checks
* Add missing error title from industrylist
* Clang format
* Simplify sine wave