Commit Graph

47595 Commits (7ff252c58d9df24da9cff980b1b4f5cf132966bc)
 

Author SHA1 Message Date
Jonathan G Rennison 7ff252c58d Merge branch 'master' into jgrpp
# Conflicts:
#	Makefile.src.in
#	findversion.sh
#	projects/determineversion.vbs
#	src/aircraft_cmd.cpp
#	src/lang/dutch.txt
#	src/linkgraph/linkgraph_gui.cpp
#	src/linkgraph/linkgraph_gui.h
#	src/order_cmd.cpp
#	src/settings_gui.cpp
#	src/smallmap_gui.cpp
#	src/town_cmd.cpp
#	src/viewport.cpp
#	src/water_map.h
5 years ago
Jonathan G Rennison ac54a2c28c Log type/length of text param in DoCommand/DoCommandP scope info 5 years ago
Jonathan G Rennison 1340392497 Verify length of binary data in CmdBuildVehicle and CmdAddPlanLine 5 years ago
Jonathan G Rennison b0284c8d9e Improve type and length safety of commands taking binary data 5 years ago
PeterN ebc3934ee6
Fix #7043, Fix #7274: Delete town owned bridge based on adjacent tile ownership, not nearest town. (#7284)
This only affects failed town generation, as towns do not delete bridges under any other circumstances.

The existing test performed badly with a large number of towns due to having to calculate the
nearest town, and also by its nature assumed a bridge was built by the nearest town, leading
to bridges of nearby large towns be removed incorrectly.

If we gain the ability to quickly retrieve the correct town (which is _not_ the nearest town) from the bridge, this change should be reviewed.
5 years ago
Johannes E. Krause 3c94bddbc2 Change: make crash chance at short runway independent of plane crash rate setting (there's a cheat for this) 5 years ago
Peter Nelson 3f327116db Change: Don't apply forbid 90 deg turn settings to ships. 5 years ago
frosch a67ee02529
Change: Heading for 1.10 now (#7319) 5 years ago
Patric Stout eb46a89855 Fix: [AzurePipelines] also trigger CI on release branches 5 years ago
frosch 39cda89e85
Add: Detect stable tags automatically, and set the 'stable' flag in '_openttd_newgrf_version' accordingly. (#7317) 5 years ago
translators 8016b8b3e9 Update: Translations from eints
catalan: 62 changes by juanjo
french: 11 changes by glx
5 years ago
Charles Pigott 4ac81b3ebb Fix #7308: SDL linker flags were not added on MinGW 5 years ago
Charles Pigott d9b4ada7e9 Fix 95ccddd6: SDL static library flags was not updated to use pkg-config format 5 years ago
Charles Pigott 1a663d9efc Fix: Wrong variable was used in zlib detection 5 years ago
peter1138 93a6fd42d1 Fix 23960d0f2c: Company livery window shows incorrect groups when opened from group window in multiplayer. 5 years ago
Niels Martin Hansen c61acc7fc1 Fix #7280: Save in the right location on desync and server timeout 5 years ago
Peter Nelson c91e0058c2 Change: Allow vehicle group names to be non-unique.
Group names are visual identifiers, and do not need to be unique.
Group sorting already falls back to group ID if names are the same, so that sorted
list position is stable.
5 years ago
Peter Nelson 5a5944867d Add: Add parent_group_id parameter to CreateGroup() 5 years ago
Peter Nelson 5d3ccae6c5 Add: AI function to get current usage of a group. 5 years ago
Peter Nelson e0c2ad1b65 Add: AI functions to get/set company colours. 5 years ago
Peter Nelson 3c047b124e Add: AI functions to get current and last year profit of a group. 5 years ago
Peter Nelson b62452903a Add: AI functions to set/get vehicle group parent. 5 years ago
Eddi-z 8139b14e9c Change: Synchronize introduction date and reliability randomness across vehicles with the same base introduction date (#7147) 5 years ago
Johannes E. Krause 5e40338543 Doc: table alignment when viewing README.md as a monospace textfile 5 years ago
translators 90a4737bf6 Update: Translations from eints
croatian: 6 changes by VoyagerOne
5 years ago
Eddi-z b242a04c7d Fix #7307: Add WaterClass to MP_TREES, set when trees are on coast tiles (#7309)
This allows allows NewGRF object/industry placement rules to treat trees on coast tiles the same as regular bare coast.
5 years ago
Jonathan G Rennison 42b7e1f70b Fix mass change rail waypoint order 5 years ago
Samu 780593ae60 Fix #6633: Cargo monitor industry delivery now accounts for which IndustryID the cargo was delivered to 5 years ago
PeterN cbaf52fbe1
Codechange: Sort and filter sign names directly rather than through string system. (#7304)
This provides a notable performance benefit in the Sign List window when there are many signs.
5 years ago
Charles Pigott c3bc7d657e Codechange: Remove ability for SDL to be dynamically loaded on Windows 5 years ago
Qwerty Asd b797a08df6 Add Japanese translations from: Qwerty Asd 5 years ago
PeterN 63fe6c6598
Codechange: Make std::stack use std::vector container in string formatting/drawing. (#7305)
This is a very minor performance increase which can add up during operations such
as sorting. Performance impact my be platform/compiler dependent.
5 years ago
translators 7ecfae8f7f Update: Translations from eints
turkish: 4 changes by DarkSapling
danish: 10 changes by Deb622
norwegian (bokmal): 11 changes by Leifbk
portuguese: 11 changes by vesgo
5 years ago
Jonathan G Rennison f34f329a53 Check that tile area is valid in CmdBuildRailStation 5 years ago
Jonathan G Rennison 9b07287303 Add scope info logging to ScriptObject::DoCommand 5 years ago
Jonathan G Rennison de79d64837 Disallow ordering ordinary road vehicles to tram depots and vice versa 5 years ago
Eddi-z 1447661d20 Cleanup: spurious TODOs in newgrf.cpp (#7297) 5 years ago
PeterN 9ad5112628
Change: [AzurePipelines] Add freetype dependency for OSX. (#7299) 5 years ago
translators 76f983a8e7 Update: Translations from eints
dutch: 80 changes by JanWillem
5 years ago
SamuXarick 50a0cf1915 Change: Allow towns to build bridges over rails and one-way roads. (#7291) 5 years ago
SamuXarick 03264059e4 Change: Decrease minimum permitted value for script_max_opcode_till_suspend setting (#7243) 5 years ago
translators adb50cebcc Update: Translations from eints
romanian: 7 changes by alexmerlin1985
5 years ago
Samu 9b99b95955 Fix #6574: Remove go to hangar orders when rebuilding airport
When replacing an airport with another, cancel current orders of type 'go to depot' from aircraft still heading to it if the rebuilt airport doesn't have a hangar (helicopter vs heliport), or if the airplane can't land on the rebuilt airport (airplane vs helistation).

Removes 'go to hangar' orders from all aircraft when replacing an airport with hangar with another without hangar (heliport).
5 years ago
peter1138 7ac17f5ae4 Fix #7281: Unable to select last group in open livery window on group creation. 5 years ago
Jonathan G Rennison 705fc18b08 Add company setting to advance order when cloning/copying/sharing
Advance order if current depot is in order list
5 years ago
Jonathan G Rennison 7b8db50fd5 Add UI setting for whether to open new vehicle GUI when share-cloning 5 years ago
Jonathan G Rennison f1a6f1161d Link graph schedule: Adjust debug logging 5 years ago
peter1138 c2e4a8c9bf Fix 195fd0dc60: Sprite cache must still be cleared when using bitmap fonts. 5 years ago
translators 93c6398810 Update: Translations from eints
dutch: 68 changes by JanWillem
danish: 17 changes by nielsmh
hungarian: 3 changes by Brumi
5 years ago
Jonathan G Rennison b3a7a04cf2 Linkgraph: Pause game on load if a link graph join is immediately due 5 years ago