Commit Graph

22469 Commits (5108a71240454c3fbd47edf218cf4ccf8135ba7f)
 

Author SHA1 Message Date
Jonathan G Rennison 381d11096f Bin no_trees_on_this_level, use exp. decay away from snow line.
Probability of placing an arctic tree is now an exponential decay
function of height distance from the snow line, instead of the previous
50% blocks.
This results in a more gradual thinning out of arctic trees in
each direction.
The algorithm is: p = exp(-3 * distance / range_setting),
using a rather crude approximation of the exponential function.

The no_trees_on_this_level setting is not really useful, and its
dual behaviour to disallow discrete height levels and turn on the
snow line behaviour is unintuitive.
Replace it with a simple on/off setting.
9 years ago
Jonathan G Rennison 3b120c6cbd Merge branch 'save_ext' into everest_treeline-sx 9 years ago
Jonathan G Rennison efe85200f0 Import Everest treeline patch 9 years ago
frosch 8c389a2a96 (svn r27389) -Fix: There are two different availability conditions for fdatasync in the manpage. Use them both, since at least on some MinGW versions one is not enough. 9 years ago
translators 8f36c49ffa (svn r27388) -Update from WebTranslator v3.0:
dutch - 4 changes by TheTycoonist
9 years ago
Jonathan G Rennison f2d0c3a441 Merge branch 'tracerestrict-sx' into jgrpp
Conflicts:
	src/gfxinit.cpp
	src/rail_cmd.cpp
	src/table/sprites.h
9 years ago
Jonathan G Rennison 6643d0a661 Merge branch 'tracerestrict' into tracerestrict-sx 9 years ago
Jonathan G Rennison 46817994bf Include GRFs in bundle output. 9 years ago
Jonathan G Rennison 8faead7e7a Graphically indicate restricted signals by recolouring the signal post.
Recolour signal posts from grey to blue for restricted signals which
are not semaphores and are not custom sprites.
9 years ago
Jonathan G Rennison 88d45e5e2c Clear rail ageing data on load. 9 years ago
Jonathan G Rennison 96ccd9333a Clear PAX stations/signals and traffic lights on load.
This clears the tracerestrict bit if there are no mappings on a tile.
9 years ago
Jonathan G Rennison 614b3d8ab5 Trace restrict: Handle removing mapping from refcount 2 empty program.
Instead of leaving the other mapping pointing to an empty unshared
program, find and delete it.
9 years ago
translators 284c9dd342 (svn r27387) -Update from WebTranslator v3.0:
dutch - 2 changes by TheTycoonist
9 years ago
Jonathan G Rennison ba8d8d99b8 Add support for loading SpringPP savegame versions 221 and 222.
These correspond to versions from v2.1.108 and v2.1.147.
The oil rig airport type bug is fixed as of version 221.
The oil rig type has been moved, but this is not a problem as
the afterload code already remaps it to the correct value.
The cost scaling issue also seems to have been mostly fixed
as of version 221.
9 years ago
Jonathan G Rennison 279eac6e57 Reject SpringPP games with huge airports or helis approaching oil rigs.
Huge airports are not supported.
Annoyingly SpringPP has a bug where it uses the same ID for
AT_INTERCONTINENTAL2 and AT_OILRIG.
Consequently any aircraft approaching an oil rig in an SPP game
will be using the wrong aircraft movement data, and this will go
badly wrong as soon as the game is unpaused.
9 years ago
Jonathan G Rennison b5c453b21e Add generic mechanism to cross-ref settings at load time.
This is useful for loading settings from legacy/special versions,
where the corresponding setting is somewhere else and/or a PATX setting,
with duplicating all the info.
Use this to load SpringPP settings which have a corresponding setting.
9 years ago
Jonathan G Rennison d3bab84374 Apply rename/typo fix of XSLFI_IMPROVED_BREAKDOWNS. 9 years ago
Jonathan G Rennison 01c938e1e9 Include GRFs in bundle output. 9 years ago
Jonathan G Rennison 55af40c456 Merge branch 'signal_tunnels_bridges-sx' into jgrpp 9 years ago
Jonathan G Rennison 6d5833dfe8 Merge branch 'house_placing' into jgrpp 9 years ago
Jonathan G Rennison 74e5d97fcb Merge branch 'save_ext' into signal_tunnels_bridges-sx 9 years ago
Jonathan G Rennison a5f00c1df5 Merge branch 'signal_tunnels_bridges' into signal_tunnels_bridges-sx 9 years ago
Jonathan G Rennison 20f1f48983 Fix add/removing signals on bridges/tunnels not checking train occupancy.
Fix compiler warning.
9 years ago
Jonathan G Rennison 3e8611fca1 House placing: Fix uninitialised variable. 9 years ago
Jonathan G Rennison 880d455ea9 Merge branch 'progsig-sx' into jgrpp 9 years ago
Jonathan G Rennison 0693d3678a Progsig: Fix some benign compiler warnings and whitespace issues. 9 years ago
Jonathan G Rennison 9283ae38df Merge branch 'save_ext' into progsig-sx 9 years ago
Jonathan G Rennison 034279c0e8 Merge branch 'save_ext' into jgrpp 9 years ago
Jonathan G Rennison a8cc81d054 Initialiser list fixes for legacy compilers. 9 years ago
Jonathan G Rennison ef5ecdb2c7 Merge branch 'git_findversion_fix' into save_ext 9 years ago
Jonathan G Rennison 01482ba6b4 Fix findversion.sh using descendant instead of ancestor tags for the version string. 9 years ago
Jonathan G Rennison 0f88bcf380 Merge branch 'improved_breakdowns-sx' into jgrpp 9 years ago
Jonathan G Rennison 1ead315e42 Merge branch 'improved_breakdowns' into improved_breakdowns-sx 9 years ago
Jonathan G Rennison 0650568aee Improved breakdowns: Fix setting string being in the middle of a string range.
Looking at or selecting the gui.stop_location setting triggered
an assertion failure.
Move the string out of the setting range.
9 years ago
Jonathan G Rennison 6d695a1426 Merge branch 'master' into improved_breakdowns 9 years ago
Jonathan G Rennison 9716026809 Merge branch 'jgrpp' into save_ext_spp 9 years ago
Jonathan G Rennison bcdae2ff21 Merge branch 'tracerestrict-sx' into jgrpp 9 years ago
Jonathan G Rennison 6088c7fc24 Merge branch 'tracerestrict' into tracerestrict-sx 9 years ago
Jonathan G Rennison 29c4f244f3 Merge branch 'master' into tracerestrict
Conflicts:
	src/pathfinder/yapf/yapf_costrail.hpp
9 years ago
translators 8cfc1e9d23 (svn r27386) -Update from WebTranslator v3.0:
dutch - 3 changes by TheTycoonist
9 years ago
rubidium 3b8aabdd9e (svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library 9 years ago
translators 70322bce59 (svn r27384) -Update from WebTranslator v3.0:
catalan - 35 changes by juanjo
9 years ago
rubidium 8f711aca53 (svn r27383) -Fix: win32 sound driver would not catch the exception due to constness difference 9 years ago
Jonathan G Rennison 671151474b Merge branch 'auto_timetables-sx' into jgrpp
Conflicts:
	src/settings_gui.cpp
9 years ago
Jonathan G Rennison 87c8bb74bd Merge branch 'service_autorenew' into jgrpp 9 years ago
Jonathan G Rennison 19764bb4fb Merge branch 'enhanced_viewport_overlay-sx' into jgrpp 9 years ago
Jonathan G Rennison 88c150abf7 Merge branch 'enhanced_viewport_overlay' into enhanced_viewport_overlay-sx 9 years ago
Jonathan G Rennison 388dab7390 Merge branch 'master' into enhanced_viewport_overlay
Conflicts:
	src/road_gui.cpp
	src/widgets/dropdown.cpp
9 years ago
Jonathan G Rennison dd2805da8c Servicing: send vehicles which need auto-renewing due to age for servicing,
even if breakdowns are off and no servicing if no breakdowns is on.
9 years ago
Jonathan G Rennison 25bc8eb1e2 Save/load changes for timetable_separation_rate setting. 9 years ago