* 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
* 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>
This re-introduces the possibility of resetting/regenerating station names automatically
by using an empty station name. Previously, our re-implementation (C++ code) inadvertently
removed this option.
* Add more logging in case of errors
* Retry hook installation, as it can fail in some circumstances
This can happen on some versions of wine which would fail on
WriteProcessMemory calls with specific addresses. Skipping to next entry
works just fine.
* Add change log entry for hook reinstallation
Occasionally, new players assume OpenLoco has working multiplayer functionality,
while it's been broken since the first release. This change hides the toggle button
from the title menu, while still making it easy to re-enable.
* Add entity tweening
* Add hook to remove entities from tweening
* Rebase
* Decouple window rendering from updating
* Tween only bodies and bogies in the vehicle list
* Adhere code style
* Update CHANGELOG.md
* Move tick interrupt into a function
* Get around null dereference warning
* Fix#914. Actually fix correctly this time.
Wrong size of height variable caused truncation at high water levels
which caused docks to not be marked as occupied. Which caused a crash
when trying to unoccupy the dock when removing a boat.
* Update changelog
* Fix capacity string showing incorrect data
If a vehicle does not carry any cargo (e.g. is a train engine) the previous items capacity string (or anything else) would be shown as the capcity. This is because a global variable is being used that has not been correctly intialised.
* Add changelog entry
* Use simplified vector implementations with resolution translation
* Add compile time check of vector size
* Fix z not being passed for audio
* Apply refactor suggestions
* Narrow conversation from int to T in Vector
* Remove unused operators
* Update CHANGELOG.md
* Fix rebase