Commit Graph

51147 Commits (b3044cc482b3114b0a428a0e8b320b880d9c04a2)
 

Author SHA1 Message Date
Andreas Schmitt b3044cc482 Improve performance 3 years ago
Andreas Schmitt 953be43301 Prevent numeric overflow 3 years ago
Andreas Schmitt af29085e42 Only build bridges over water 3 years ago
Andreas Schmitt 8d584990aa Remove unused hash functions and start the road building from the map center 3 years ago
Andreas Schmitt 4542410b41 Revert "Replace original algorithm with a simpler one"
This reverts commit 8cb3d80402f626034c08a162b8956dce03eb79f6.
3 years ago
Andreas Schmitt 9d6d41e457 Update src/lang/english.txt
Co-authored-by: stormcone <48624099+stormcone@users.noreply.github.com>
3 years ago
Andreas Schmitt 35ebeff874 Remove low performance containers with standard library ones 3 years ago
Andreas Schmitt 83ea6e9fd8 Replace original algorithm with a simpler one 3 years ago
Andreas Schmitt 150e502cf9 Add generation of public roads linking towns 3 years ago
Andreas Schmitt d718ba62ef Add option to sort tracks by category and speed (#282) 3 years ago
Jonathan G Rennison 24ad8759db Viewport map: Improve handling of sloped tile rendering 3 years ago
Jonathan G Rennison c4cb700738 Viewport map: Don't double draw north tile of bridge/tunnel 3 years ago
Jonathan G Rennison 65bd6eee11 Do not allow RV curves/reversing to override lower max speed 3 years ago
Andreas Schmitt ec40677fdc Add a setting to turn off road vehicle slowdown in curves
Prior to this change, road vehicles would always slowdown in curves. This forces the player to build grid like roads. With new height levels and more mountainous maps and in the absense of diagonal roads this causes unnecessary pain. It should be an option to turn this off, so mountainous maps and curvy roads are not punishing the player unnecessarily. Nobody wants to build grid like roads outside of towns.
3 years ago
Andreas Schmitt 7555da1642 Move subsettings always to the top of parent setting (#279) 3 years ago
Jonathan G Rennison 1e64ee4f6b Disable town noise limits in indifferent town tolerance mode
Instead of setting noise limit to 0
3 years ago
Jonathan G Rennison af89056824 Don't show demolish confirm dialog when shift pressed 3 years ago
Jonathan G Rennison 0b80461cd4 Merge branch 'pr-270' into jgrpp
# Conflicts:
#	src/lang/english.txt
#	src/settings_type.h
#	src/table/settings.ini
3 years ago
Jonathan G Rennison f042ca7f63 Add scope info logging to command change settings 3 years ago
Jonathan G Rennison eeece0928c Include setting name in command log for setting change commands 3 years ago
Jonathan G Rennison 696fb746b7 Add setting for demolition confirmation mode 3 years ago
Jonathan G Rennison a8ce0ac787 Fix crash when clearing tunnel where only near end is reserved with realistic braking 3 years ago
Jonathan G Rennison a49d91fa39 Use CommandContainer for demolish area callback state storage 3 years ago
Jonathan G Rennison 3392d25aa3 Merge PR #274 into jgrpp 3 years ago
Jonathan G Rennison 1cc8053003 Add setting to control station rating tooltip detail level
Default to simple
3 years ago
Jonathan G Rennison e7909b4bee Use {PLUS_NUM} in station rating tooltip strings 3 years ago
Jonathan G Rennison 8485ed724b Add {PLUS_NUM} string code which includes leading + for positive values 3 years ago
Jonathan G Rennison 2b8775fb4a Avoid hard-coded percentage values in station rating tooltip strings 3 years ago
Jonathan G Rennison 2cd1740c01 Merge PR #268 into jgrpp 3 years ago
Jonathan G Rennison fd4b5cc083 Add buttons to cargo payment graph to select x-axis
Save in misc settings
3 years ago
Jonathan G Rennison f438daa0bc Use localised units for payment graph X axis
Match quantities in graph title
3 years ago
Jonathan G Rennison f786b372c0 Add function for speed unit conversion to unit values 3 years ago
Jonathan G Rennison 8e27202524 Add strings for velocity unit names 3 years ago
Jonathan G Rennison 229f856327 Merge PR #275 into jgrpp 3 years ago
Andreas Schmitt da4de2c959 Improve lake generation
Prior to this change, lakes could be very small and could also not be deactivated.

This change allows the deactivation of lake creation and the lake size is now the set size +- 25% instead of anything between 0 and lake_size.
3 years ago
Andreas Schmitt 99e32488f2 Add creation of wide rivers 3 years ago
Andreas Schmitt 92dad745c9 Fix a small bug 3 years ago
Andreas Schmitt ae31da8c82 Correct maximum ratings in strings 3 years ago
Andreas Schmitt c4c2fedbb1 Refactor station rating and tooltip - multiply vehicle age check by 10 3 years ago
Andreas Schmitt edf0e8eddd Remove unused code an cleanup more 3 years ago
Andreas Schmitt 2801527895 Cleanup the code a bit 3 years ago
Andreas Schmitt 120149cf99 Add initial implementation from Joker's patch 3 years ago
Jonathan G Rennison 384e8cca89 Fix infra signal total when moving signalled tunnel/bridge to other company
When signal spacing setting differs
3 years ago
Jonathan G Rennison ad0e085ec7 Fix off by one error in Packet::CanWriteToPacket 3 years ago
Jonathan G Rennison e5696e6b5a Fix owner legend colours when gui.starting_colour setting used 3 years ago
Jonathan G Rennison 99d11c482a Merge PR #271 into jgrpp 3 years ago
Jonathan G Rennison 1002c6d9d2 Fix various compiler warnings
See: #267
3 years ago
Andreas Schmitt 758d71716e
Merge pull request #1 from JGRennison/jgrpp
Synchronize with forked repository
3 years ago
Andreas Schmitt 5e3a244198 Add topography and industries screenshot types 3 years ago
Andreas Schmitt 184ade43eb Query before destroying important structures (rail stations and industries)
Prior to this change, the use of NewObjects often lead to the problem of players trying to clear those and accidentally destroying a rail station or (when using magic bulldozer) an industry. This action cannot be undone.

This change shows a query making sure the player actually wants to destroy the station or industry.

NOTE: The switch to a std::function no longer allows for the inequality check in ShowQuery in misc_gui. If this was required a different solution has to be found.
3 years ago