Jonathan G Rennison
724474e435
Use MayTownBuildBridgeType/BSCF_NOT_AVAILABLE_TOWN for bridge type check
3 years ago
Jonathan G Rennison
96bfcd587b
Fix signedness mismatch warning in tunnel length check
3 years ago
Andreas Schmitt
a3d1b916d1
Limit tunnel length at the proper place
3 years ago
Andreas Schmitt
3e771dc18d
Revert bug inducing change
3 years ago
Andreas Schmitt
b175203d54
Add comment
3 years ago
Andreas Schmitt
a73cb99695
Do not build bridges with additional specs
...
Prior to this change, additional bridge sets like modular bridges would be used.
Those might not be suitable for public roads. Those bridges should be left to the player.
3 years ago
Andreas Schmitt
198ef11a2b
Force the pathfinder to build serpentine roads
3 years ago
Jonathan G Rennison
bd41cb618a
Allow using and building trivial foundations
...
(3 corners raised and 2 opposite corners raised)
3 years ago
Jonathan G Rennison
0f336bba57
Give bridges over the sea a more generous length limit
3 years ago
Jonathan G Rennison
bfdabf4cb2
Allow building on coast tiles
3 years ago
Jonathan G Rennison
63534f97bd
Make bridges and tunnels significantly more costly
3 years ago
Jonathan G Rennison
a6f7478873
Adjust comment for BASE_COST_PER_TILE
3 years ago
Jonathan G Rennison
d182b0b138
Remove "using namespace std"
3 years ago
Jonathan G Rennison
1647f9a616
Avoid redundant calls to DistanceManhattan in town_network_distance
3 years ago
Jonathan G Rennison
e95447edac
Avoid unnecessarily converting lambda to std::function
3 years ago
Jonathan G Rennison
e46fb1aa99
Fix loading of build public roads setting from JokerPP savegames
3 years ago
Jonathan G Rennison
1732e0a366
Remove trailing whitespace
3 years ago
Andreas Schmitt
ac8da77d0b
Fixing a stupid error
3 years ago
Andreas Schmitt
35a98fae7d
Try and fix another assertion failure
3 years ago
Andreas Schmitt
a6dae1426c
Re-implement the cost function
3 years ago
Andreas Schmitt
5d51909c36
Reorganize file
3 years ago
Andreas Schmitt
2b1d73cb3d
Fix tunnel glitch
3 years ago
Andreas Schmitt
7601720ff7
landscape.cpp fixes
3 years ago
Andreas Schmitt
44fe1ca00b
Tweak the bridge generation
3 years ago
Andreas Schmitt
a1df69be87
Check for overlaps and intersections of planned bridges and tunnels
3 years ago
Andreas Schmitt
1899b1877d
Improve performance even more
3 years ago
Andreas Schmitt
7b7b74e21e
Adjust values
3 years ago
Andreas Schmitt
b89afbdff3
Reintroduce base cost to make A* admissible
3 years ago
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