Commit Graph

26399 Commits (sse-blitter-set-alpha)
 

Author SHA1 Message Date
Peter Nelson 8b989d4999 Fix: Update news window viewport if GUI zoom is changed. 2 years ago
translators 57fa8690df Update: Translations from eints
dutch: 1 change by Bouke
2 years ago
Patric Stout 8ac0ab47b0
Update: to all the friends we have lost and those we have gained (#10000) 2 years ago
Patric Stout 15f4d7c04c
Remove: [GitHub] old configuration file for stale-bot (#9998)
This bot was deactivated months (years?) ago.
2 years ago
frosch 54ac304828
Fix: [NewGRF] Upper 16 random bits should be the same for all station tiles in callback 140. (#9992) 2 years ago
dP c839950791
Cleanup: Remove duplicate command_type.h include (#9986) 2 years ago
frosch 9529703cab
Codechange: When checking industry placement conditions, perform cheap checks first. (#9987)
1. Built-in checks on industry level.
2. Built-in checks on industry tiles.
3. NewGRF-defined checks on industry level.
4. NewGRF-defined checks on industry tiles.
2 years ago
Aaron Katzin 2fe8a257ac
Add: [Actions] Ubuntu Jammy Jellyfish (22.04) build for releases (#9881) 2 years ago
Loïc Guilloux 31668b8f94
Fix #9914, 86818e5: prevent more useless pathfinder run for blocked vehicles (#9917) 2 years ago
Tyler Trahan 788b06fe0f
Change: New player companies use favorite manager face, if saved (#9895) 2 years ago
Joel-Milligan 3937953f72
Fix #9363: Rebuild client list on reinit event (#9929) 2 years ago
Niels Martin Hansen 5a0dd7e322 Fix #9971: Don't assert that time moves forward 2 years ago
Niels Martin Hansen 4253db28fa Fix #9972: Add some missing fill/resize flags on Framerate window widgets 2 years ago
translators db378e746b Update: Translations from eints
korean: 2 changes by telk5093
2 years ago
Niels Martin Hansen e6aab701c9 Fix #9977: Use a deque rather than linked list for console buffer 2 years ago
Niels Martin Hansen aaab0610eb Fix: Only apply debuglevel changes after successful parse 2 years ago
Niels Martin Hansen c6953f13e4 Fix #9940: Print debuglevel parse errors to console when changed from console 2 years ago
translators dcdc8d187c Update: Translations from eints
dutch: 1 change by Bouke
2 years ago
frosch acf9d786f1
Fix: [NewGRF] Default value of RailVehicleInfo::railveh_type was inconsistent with other default properties. (#9967)
If a NewGRF assigned neither "power" nor "dual-headed" properties,
then "railveh_type" defaulted to "singlehead-engine", while "power=0" said "it's a wagon".
2 years ago
glx22 bba6ad1f4e Fix #9935: Use more selectivity when building SSE specific code 2 years ago
translators e9507e7ffa Update: Translations from eints
latvian: 31 changes by lexuslatvia
2 years ago
translators 04911822c1 Update: Translations from eints
indonesian: 1 change by K4smun1
2 years ago
glx22 e3968cdf65 Fix #9974, aa5a8fe: strftime buffer maxsize is off by one
strftime() return value doesn't count NULL character, but buffer size must include it.
2 years ago
translators 882b8f45d9 Update: Translations from eints
hungarian: 31 changes by andrejmoltok
romanian: 27 changes by andrejmoltok
2 years ago
translators 417f9bb48d Update: Translations from eints
french: 1 change by glx22
hindi: 18 changes by baijuch
2 years ago
translators 88a046a76e Update: Translations from eints
korean: 7 changes by telk5093
2 years ago
translators be352ce1b6 Update: Translations from eints
catalan: 11 changes by J0anJosep
2 years ago
translators eb805b77b7 Update: Translations from eints
german: 1 change by SecretIdetity
2 years ago
SamuXarick 374f0c7d11 Fix 6fe445e: Removing rail station parts without ctrl pressed was also removing tracks
The behaviour of holding ctrl key is swapped
2 years ago
translators 6893135fef Update: Translations from eints
english (au): 536 changes by krysclarke
2 years ago
translators 5a404a17ee Update: Translations from eints
korean: 1 change by telk5093
polish: 1 change by pAter-exe
2 years ago
translators 6b4fd01eeb Update: Translations from eints
italian: 1 change by Rivarossi
2 years ago
translators b7462934e2 Update: Translations from eints
dutch: 1 change by Afoklala
2 years ago
translators ccb9d99880 Update: Translations from eints
arabic (egypt): 13 changes by AviationGamerX
persian: 16 changes by pooyana84
finnish: 33 changes by lanurmi
2 years ago
translators e3759931e7 Update: Translations from eints
english (us): 1 change by 2TallTyler
arabic (egypt): 62 changes by AviationGamerX
turkish: 1 change by ahmetlii
2 years ago
translators 97d79c8e52 Update: Translations from eints
spanish (mexican): 1 change by absay
catalan: 1 change by J0anJosep
2 years ago
translators d1d7e47896 Update: Translations from eints
russian: 1 change by Ln-Wolf
portuguese: 1 change by azulcosta
2 years ago
translators 77a8e3b649 Update: Translations from eints
polish: 1 change by pAter-exe
2 years ago
Nicolas Chappe 6d154e72dd Fix #8584: Vehicles with shared orders getting invalid or unexpected start dates 2 years ago
translators 67608350b6 Update: Translations from eints
finnish: 45 changes by lanurmi
portuguese (brazilian): 29 changes by rodigu
2 years ago
Jonathan G Rennison 67331fe946
Fix #9951: Scenario editor random industries button and persistent storage (#9952)
BasePersistentStorageArray::SwitchMode was not called
2 years ago
translators 8f772352ce Update: Translations from eints
italian: 1 change by Rivarossi
2 years ago
translators b199779ad4 Update: Translations from eints
chinese (simplified): 26 changes by ZZY2357
korean: 1 change by telk5093
2 years ago
Patric Stout 77a85e9b4c
Fix: CmdSetAutoReplace didn't validate group type and engine type match (#9950)
Basically, you could setup an auto-replace in a group for trains
to replace a ship with another ship.

Most of the code is surprisingly okay with this, it is only the
group statistics that doesn't like this.
2 years ago
Patric Stout 979704271b
Fix: reverse train direction command did not validate the given vehicle properly (#9947)
You could give a wagon in the chain to reverse (which makes no
functional sense ofc). In result, only parts of the vehicle were
reversing, leading to weird crashes.
2 years ago
Patric Stout 055121df80
Fix: depot-related commands did not validate depot tiles properly (#9948)
The bug comes in two slices:

1) the functions never actually checked if "tile" was a depot tile.
   This allowed executing the function on tile 0, where are the
   things like shadows of aircrafts are.
2) BuildDepotVehicleList() first checked if a vehicle is in a depot
   before checking if it was a primary vehicle. This is invalid
   for aircraft.

Fixing the first hides the second, and fixing the second makes the
first non-exploitable. But, fixing both felt like the best thing
to do.
2 years ago
Patric Stout 100aca1848
Fix: CmdRemoveRoadStop didn't validate the height property properly (#9945)
Height was a unsigned 32bit integer, where TileAddWrap uses a
signed 32bit integer for the height. In result, there was an
implicit cast from unsigned to signed, messing things up.

But looking at it from a functional perspective, allowing such
large values is not sensible. In fact, width is restricted to
just a 8bit integer. By changing height to a 8bit integer too,
the implicit cast will never make a positive value negative anymore.
2 years ago
Patric Stout 9957675a66
Fix: autoreplace command did not validate the vehicle argument properly (#9946)
It first checked if the vehicle was in the depot, which for some types
is only a valid action for the primary vehicle. Afterwards, it checked
if the vehicle was a primary vehicle.
2 years ago
Patric Stout 4651ad94fe
Fix: commands with a RoadType in their arguments were not validated properly (#9944)
Although it was checked that RoadType was not 63 (INVALID_ROADTYPE),
and all values lower than 63 are fine, it also allowed values higher
than 63. As the RoadType is a "byte", it could contain values up
to 255.
2 years ago
Patric Stout 6810d09c1b
Fix: commands with Axis in their arguments were not validated properly (#9943)
When you don't type an Enum, it is a signed value. To validate
if an Axis is valid, it is checked to be lower than AXIS_END. Which
is the case for any value below 0.
2 years ago