Jonathan G Rennison
df6b9d355f
VarAction2: Simplify store, load with bool/invert, ternary sequence in DSE
2 years ago
translators
882b8f45d9
Update: Translations from eints
...
hungarian: 31 changes by andrejmoltok
romanian: 27 changes by andrejmoltok
2 years ago
Jonathan G Rennison
173f867e1a
VarAction2: Save calculated_result in shadow group struct
2 years ago
Jonathan G Rennison
14de8c7f34
VarAction2: Add quick exit case to last-level callback groups if possible
2 years ago
Jonathan G Rennison
35063b2176
VarAction2: Ensure group pruning can't break var 1C via random groups
2 years ago
Jonathan G Rennison
3676b0912d
VarAction2: Fix inference handling when pruning ops prior to RST
2 years ago
Jonathan G Rennison
c60e3fed99
VarAction2: Do not re-assign error group
...
When pruning ranges of group with constant result
2 years ago
Jonathan G Rennison
0bcdaba0f9
VarAction2: Add constructor for AnalyseCallbackOperation
2 years ago
Jonathan G Rennison
a0c894d067
Debug: Add a visual indicator in indent for var 0x7E procedure calls
2 years ago
translators
417f9bb48d
Update: Translations from eints
...
french: 1 change by glx22
hindi: 18 changes by baijuch
2 years ago
Jonathan G Rennison
680e074a5f
Debug: Fix sprite dumping of top level default group
2 years ago
Jonathan G Rennison
8688840e24
Viewport route step markers are now variable size to match font/text
...
See: #410
2 years ago
Jonathan G Rennison
8c0eca28a8
Recalculated route step sprite sizes when changing zoom levels
2 years ago
translators
88a046a76e
Update: Translations from eints
...
korean: 7 changes by telk5093
2 years ago
Jonathan G Rennison
84da7ad7b6
Add setting to show group hierarchy in vehicle names
...
See: #405
2 years ago
Jonathan G Rennison
e335c86e77
VarAction2: Elide group ranges as cast to bool when result is already bool
2 years ago
Jonathan G Rennison
b04d1295cd
VarAction2: Infer that unsigned mod 2 results in 0 or 1
2 years ago
Jonathan G Rennison
ad00f5032a
Add a setting to show the introduction year for train wagons
2 years ago
Jonathan G Rennison
ad9e1a8fb3
Increase value of MAX_SL_OPS constant
2 years ago
Jonathan G Rennison
e584ef7bba
Move NewGRF analysis to separate files
2 years ago
Jonathan G Rennison
9c18835bd0
Move ProcessDeterministicSpriteGroupRanges into newgrf.cpp
2 years ago
Jonathan G Rennison
0f8dc86120
Remove setting string now unused since 309f1b47
2 years ago
Jonathan G Rennison
309f1b47d2
Only apply sprite_zoom_min setting when suitable zoom levels are available
...
Only discard sprite zoom levels when a suitable higher zoom level is
defined in the same colour mode
See: https://github.com/OpenTTD/OpenTTD/issues/9804
2 years ago
Jonathan G Rennison
27316f70ec
Create enum for sprite cache control flag bits
2 years ago
Jonathan G Rennison
4e5e85e7aa
Debug: Allow inspecting industry specs before industry is built
...
Add debug box to industry chains window
2 years ago
Jonathan G Rennison
c58b94c376
VarAction2: DSE: Allow setting skip on zero flag on skippable procedures
2 years ago
Jonathan G Rennison
4601a1bfc6
Move NewGRF optimiser functions into a separate file
...
Create a new header for shared definitions with newgrf.cpp
2 years ago
Jonathan G Rennison
3d59c961a6
VarAction2: Avoid group variable tracking coupling through shared procs
...
Output dependencies on a procedure shouldn't propagate into input
dependencies on unrelated call sites in different groups
2 years ago
Jonathan G Rennison
00e32162a1
VarAction2: Allow DSE to remove procedure calls
2 years ago
Jonathan G Rennison
30ecdfe140
VarAction2: Allow jumping over constant stores to special registers
...
Insert suitable store(s) after the end block
2 years ago
Jonathan G Rennison
3a8bd7a589
VarAction2: Allow jumps to skip over procedure calls if possible
2 years ago
Jonathan G Rennison
9ed5b6e65c
Debug: Change sprite group indentation handling
2 years ago
Jonathan G Rennison
41f2e92f5c
VarAction2: Add a NOOP operator
2 years ago
translators
be352ce1b6
Update: Translations from eints
...
catalan: 11 changes by J0anJosep
2 years ago
Jonathan G Rennison
e143ab06d8
VarAction2: Track which temp stores may be overwritten by procedures
...
Instead of treating procedures as an unpredictable store
2 years ago
Jonathan G Rennison
06cc71b6c5
VarAction2: Mark suitable AND ops as jump insertion candidates
2 years ago
translators
eb805b77b7
Update: Translations from eints
...
german: 1 change by SecretIdetity
2 years ago
Jonathan G Rennison
aa49e17e39
Remove road vehicles during load which are uncorrectably invalid
2 years ago
Jonathan G Rennison
bf618a3584
Debug: Add more stats to dump map and veh stats console commands
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
Jonathan G Rennison
613c90e78f
Fix GetClosestIndustry with invalid industry type when using cache
2 years ago
translators
6893135fef
Update: Translations from eints
...
english (au): 536 changes by krysclarke
2 years ago
Jonathan G Rennison
bc920df63a
Fix excessive braking for slopes with realistic braking
...
Unit conversion issue between potential and kinetic energies
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
Jonathan G Rennison
0bddf96f7f
VarAction2: Set variable for ABS op to avoid unused read from var 0
2 years ago
Jonathan G Rennison
dc69957dcc
VarAction2: Cache industry distances in CBID_INDUSTRY_LOCATION
2 years ago
Jonathan G Rennison
0e1e892ca8
VarAction2: Use masking for sub-parts of industry var 67
...
Ensure that distance and count can't overflow on very large maps
2 years ago
Jonathan G Rennison
0a99440166
Debug: Always use head for vehicle debug window name in caption
2 years ago
translators
b7462934e2
Update: Translations from eints
...
dutch: 1 change by Afoklala
2 years ago
Jonathan G Rennison
dbc55274e2
Debug: Show callback ID names in sprite dump
2 years ago
Jonathan G Rennison
7af568f0f0
VarAction2: Handle case where expensive vars are only conditionally read
...
Within a JZ_LV and in prior DSGAF_SKIP_ON_ZERO op
2 years ago
Jonathan G Rennison
9a4c31b0da
VarAction2: Add last_value variants of JZ/JNZ ops
2 years ago
Jonathan G Rennison
cbc6199542
VarAction2: Add a JNZ op analogous to JZ for OR ops
2 years ago
Jonathan G Rennison
5ec802a3d4
VarAction2: Allow substituting perm store loads through temp store
2 years ago
Jonathan G Rennison
cbabbb6db6
Fix train braking behaviour when lookahead is aspect limited
...
When lookahead end is within the reservation end
2 years ago
Jonathan G Rennison
71b6d7a502
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/arabic_egypt.txt
# src/station_cmd.cpp
# src/station_cmd.h
# src/timetable_cmd.cpp
# src/train_cmd.cpp
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
Jonathan G Rennison
c6817fab6e
Don't use implicit orders for conditional order waiting loops
...
Fixes vehicles never leaving when the only order is an implicit order
(because vehicles were released with no orders)
2 years ago
translators
d1d7e47896
Update: Translations from eints
...
russian: 1 change by Ln-Wolf
portuguese: 1 change by azulcosta
2 years ago
Jonathan G Rennison
70ef4c6d90
Merge pull request #407 from auge8472/lang-de
...
Translated most of the missing strings for German language, stand jgrpp 0.48.0
2 years ago
translators
77a8e3b649
Update: Translations from eints
...
polish: 1 change by pAter-exe
2 years ago
Heiko August
12aa409332
Change: translated most of the missing strings for German language
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
Jonathan G Rennison
0735c4b851
Ensure that disabling infra sharing can't break realistic braking reservations
2 years ago
Jonathan G Rennison
856cea576f
Fix infrastructure sharing checks not being executed when disabling
2 years ago
Jonathan G Rennison
27d4900fde
Fix text colour for infrastructure sharing error messages
2 years ago
Jonathan G Rennison
dc01d0cac4
Handle case where deleting a company removes part of a train's reservation
...
When realistic braking is enabled, which would ordinarily prevent
the track from being removed
2 years ago
Jonathan G Rennison
ed737e1a8f
VarAction2: Do not remove redundant adjusts when this would break var 1C
2 years ago
Jonathan G Rennison
b9c22a0b9e
VarAction2: Do not prune groups when this would break var 1C
2 years ago
Jonathan G Rennison
ae746a1af4
VarAction2: Fix tracking of whether a sprite group needs var 1C
2 years ago
Jonathan G Rennison
e497f0e78d
Fix crash in tooltip window UpdateWidgetSize due to not using saved string
2 years ago
Jonathan G Rennison
cd4a9fba68
Fix viewport map mode bridges/tunnels not appearing dotted at high zoom
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
Michael Lutz
dd93244853
Fix: The first tile in commands received from a client wasn't validated properly.
2 years ago
Jonathan G Rennison
23e057cfac
Don't apply show signals using default graphics settings for custom styles
2 years ago
TELK
f2838768ca
Update: Korean translation up to 0.48.0
2 years ago
TELK
3cace09207
Update: Match the lines of Korean lang. file with english's one
2 years ago
Jonathan G Rennison
96c63ab7fc
Remove incorrect comment
2 years ago
Jonathan G Rennison
752e46dfcb
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/station_cmd.cpp
2 years ago
glx22
44e3b05c50
Fix: Use more selectivity when building SSE specific code
...
See: https://github.com/OpenTTD/OpenTTD/issues/9935
(cherry picked from commit c3f55d53405af04bfe928d9e1a815e06c187ca50)
2 years ago
Jonathan G Rennison
432717b21d
Enabled shared orders and occupancy buttons for competitor order windows
2 years ago
Jonathan G Rennison
4e8a8a5e0a
Add conditional order to test if last/next dispatch slot is first/last
2 years ago
Jonathan G Rennison
116ddf4b35
Fix timetable automation with conditional order sequences
2 years ago
Jonathan G Rennison
da57d75165
Debug: Print lookahead approach speeds for stations (using current order)
2 years ago
Jonathan G Rennison
c6ae82b611
Fix 9ff161e4
boosting lookahead braking stats but not actual brake forces
2 years ago
Jonathan G Rennison
bd28d5a239
Use order state at reservation time for signal mode tracerestrict eval
2 years ago
Jonathan G Rennison
12566f05ca
Add tracerestrict actions used flags for order conditionals present
2 years ago
Jonathan G Rennison
a5fb39b388
Use shunt for combined shunt/normal for routes into a bay with shunt exit
2 years ago
Jonathan G Rennison
f98f5fd291
Fix not being able to build waypoints when custom types no longer present
...
And a custom type was previously selected
2 years ago
Jonathan G Rennison
c19bd4473f
Add signal style flag to require realistic braking
2 years ago
Jonathan G Rennison
bdd97f1aea
Add debug build console command to run tile loop handler on tile
2 years ago
Jonathan G Rennison
e399853f2c
Fix aspect propagation issues with combined shunt/normal signals
2 years ago
Jonathan G Rennison
05c7c528f5
Fix a6e3467d: Don't do cargo consistency checks after overriding cargo
...
This falsely triggers warning messages
2 years ago
Jonathan G Rennison
19af139631
Fix #9937 : Station industries_near incorrect after removing part moved sign
...
RecomputeCatchment was being called before moving the sign tile
instead of afterwards
2 years ago
Jonathan G Rennison
6150edd3b4
Fix Station industries_near incorrect after removing part moved sign
...
RecomputeCatchment was being called before moving the sign tile
instead of afterwards
See: https://github.com/OpenTTD/OpenTTD/issues/9937
2 years ago
Jonathan G Rennison
91e0529a39
Fix train variable 0x63 using wrong rail type on dual rail type tiles
2 years ago
translators
f72b9fa767
Update: Translations from eints
...
italian: 22 changes by Rivarossi
2 years ago
Jonathan G Rennison
e6a6b50675
Include signal combined/normal style mask in aspect cfg hash
2 years ago
Jonathan G Rennison
1422cc871c
Fix signal aspect re-calculation in bidi signal blocks with no junctions
2 years ago
Jonathan G Rennison
e747f96c78
Fix signal aspect re-calculation with combined normal/shunt
2 years ago
Jonathan G Rennison
d48912aa15
Add setting to show full group hierarchy in group names
2 years ago
Jonathan G Rennison
d4a813e92e
Show group name when grouping vehicles by shared orders
...
If all vehicles in shared order set are in the same group
2 years ago
Jonathan G Rennison
6a69a5495f
Add tracerestrict action to set combined normal/shunt signal mode
...
Add associated conditional to get reservation end tile
2 years ago
Jonathan G Rennison
52f28eb5c1
Tracerestrict GUI: Refactor string handling for realistic braking warning
2 years ago
Jonathan G Rennison
ae47b1636a
Add a set of temporary std::strings which can be referenced by StringID
2 years ago
Jonathan G Rennison
4747e1d1d0
Merge PR #403 into jgrpp
2 years ago
Melvin Vermeeren
d48234c81b
Add GUI setting to show order occupancy by default
2 years ago
Jonathan G Rennison
78ae295dfe
Add combined normal and shunt aspect signal style flag
2 years ago
Jonathan G Rennison
a6e3467d58
Fix virtual train consist change callbacks being run before cargotype set
...
When instantiating virtual train from non-buildable template train
See: #402
Also fixes instantiating virtual train from train not refitting leading
vehicle.
2 years ago
Jonathan G Rennison
759b00262e
VarAction2: Allow more than one JZ to end on the same end block adjust
2 years ago
Jonathan G Rennison
9775f468e8
VarAction2: Fix jump insertion moving the end marker for another jump
2 years ago
Jonathan G Rennison
5b5fbaa476
Fix reservation error when a reserve through signal was the last tile
...
When there were no junctions earlier in the reservation
2 years ago
Jonathan G Rennison
a451b76c45
Remove unused extern declaration
2 years ago
Jonathan G Rennison
fa89036a27
Add function to get maximum signal aspect
2 years ago
Jonathan G Rennison
89f66236ff
VarAction2: Fix SHR/SAR mixup in check for merge with prior RST
2 years ago
Jonathan G Rennison
5059054f0a
Sending a vehicle to a depot for sale can now sell immediately
...
If the vehicle is already stopped in a suitable depot
2 years ago
Jonathan G Rennison
85e949a6ba
Fix road/tram type check when moving depot orders to another depot
2 years ago
Jonathan G Rennison
21606df9d3
Fix adding second set of signals to tile not setting signal style
2 years ago
Jonathan G Rennison
8249f3d535
Fix land info window not having strings for no-entry signals
2 years ago
Jonathan G Rennison
04da11b668
Store signal style GRF to local map in savegame
...
Update existing signal style IDs as necessary
2 years ago
Jonathan G Rennison
a73bc141a1
Remove unneeded calls to GetOtherTunnelBridgeEnd in AfterLoadCompanyStats
2 years ago
Jonathan G Rennison
0ed30d0200
Avoid maybe unintialised warning in struct UniscribeRun
...
See: #394
2 years ago
Jonathan G Rennison
96df13a032
Merge pull request #400 from telk5093/jgrpp
...
Update: Korean translation up to 10b415b
2 years ago
Jonathan G Rennison
2f7664fc93
Move signal style mask variables into a single struct
2 years ago
Jonathan G Rennison
c1b54f1c31
Fix missing includes in newgrf_newsignals.h
...
See: #401
2 years ago
TELK
9c81951cef
Update: Korean translation up to 10b415b
2 years ago
Jonathan G Rennison
a311f12615
Add signals_style_lookahead_single_signal_only signal style property
2 years ago
Jonathan G Rennison
24e965061c
Fix limit train lookahead to signal aspect when starting
...
From depot and within signal sighting distance (e.g. reverse)
2 years ago
translators
ffd3c11ba7
Update: Translations from eints
...
italian: 8 changes by Rivarossi
spanish: 19 changes by MontyMontana
2 years ago
Jonathan G Rennison
10b415bf10
Level crossings: Clarify adjacent blocked crossing track status handler
...
Avoid unnecessary adjacent tile checks if crossing is not blocked
2 years ago
translators
68257e0d7d
Update: Translations from eints
...
turkish: 1 change by jnmbk
spanish: 12 changes by MontyMontana
2 years ago
Jonathan G Rennison
fcae909839
Add signal style flag for drawing on the opposite side
2 years ago
Jonathan G Rennison
ff064e06b8
Fix race between network client disconnect and network window deletion
2 years ago
Jonathan G Rennison
ccef4baea6
Remove header prototypes for non-existent functions
2 years ago
Jonathan G Rennison
3a064f127b
Fix SetTrainReservationLookaheadEnd moving end nearer
2 years ago
Jonathan G Rennison
96cf0f95bf
Adjust tunnel/bridge signal spacing to prefer a signal in the middle
2 years ago
Jonathan G Rennison
b5d0c1d493
Debug: Show signalled tunnel/bridge info in debug window
2 years ago
Jonathan G Rennison
229613b06a
VarAction2: Resolve jumps in advance to avoid needing to track nesting
2 years ago
Jonathan G Rennison
b6e099121a
Fix limit train lookahead to signal aspect within signalled tunnel/bridges
2 years ago
translators
f64cf8679d
Update: Translations from eints
...
chinese (traditional): 6 changes by wpi3
italian: 2 changes by Rivarossi
turkish: 1 change by jnmbk
2 years ago
translators
278c1d06cf
Update: Translations from eints
...
italian: 6 changes by Rivarossi
turkish: 37 changes by jnmbk
2 years ago
Jonathan G Rennison
387e646439
VarAction2: Add group flag for whether to run jump insert pass
2 years ago
Jonathan G Rennison
3714fad790
VarAction2: Fix jump insertion using mul with bool as last value
2 years ago
Jonathan G Rennison
4af3022c45
VarAction2: Fix last variable read annotations being incorrect
...
This is because DSE variable substitutions/etc were applied afterwards
This broke jump insertion
2 years ago
translators
79af42e992
Update: Translations from eints
...
czech: 9 changes by LubosKolouch
2 years ago
Jonathan G Rennison
9ff161e453
Boost realistic braking stats of trains affected by the freight multiplier
2 years ago
Jonathan G Rennison
92723d4f5c
Remove tunnel/bridge spacing setting, use usual signal drag spacing
2 years ago
Jonathan G Rennison
191f710c40
Add custom signal style properties to set electric/semaphore enabled types
2 years ago
Jonathan G Rennison
175c5d4d50
Add signal style flag to limit lookahead extra aspect
2 years ago
Jonathan G Rennison
22caac6529
Add game setting to limit train lookahead to signal aspect
...
In realistic braking mode when multi-aspect signalling enabled by GRF
2 years ago
Jonathan G Rennison
bdd73a19a1
Add signal style flag for unconditional reserve through
...
Add map bits for unconditional reserve through
Adjust signal aspect/state handling
2 years ago
Jonathan G Rennison
7ae06124ae
Add signal style flag for no aspect increase behaviour (banner repeater)
2 years ago
Jonathan G Rennison
6e4c4b35e7
Initial implementation of NewGRF custom signal styles
2 years ago
Jonathan G Rennison
4acccc232a
Fix #9925 : Industry tile layout validation for layouts of only one tile
2 years ago
Jonathan G Rennison
098bb74ed2
Fix industry tile layout validation when the layout has only one tile
...
See: https://github.com/OpenTTD/OpenTTD/issues/9925
2 years ago
Jonathan G Rennison
9870f2db3a
Fix #399 : Removing non-rectangular airports clearing non-airport tiles
...
Merge-conflict resolution error in 0b0d1547
2 years ago
Jonathan G Rennison
4d04a757cc
Debug: Add new signals support to GRF debug window
2 years ago
Jonathan G Rennison
41117a52d2
Signals: Add variable for signal context (track, tunnel, bridge, etc)
2 years ago
Jonathan G Rennison
cf5eef515e
Signals: Add GRF restriction info bit for may reverse
2 years ago
Jonathan G Rennison
9cf33efe18
Merge pull request #393 from telk5093/jgrpp
...
Update: Korean translation up to v0.47.3
2 years ago
Jonathan G Rennison
4897fded95
Add hotkey to toggle via state of order
...
See: #398
2 years ago
Jonathan G Rennison
13fcde9ea0
VarAction2: Add a JZ operation, use for ternary style mul masking
2 years ago
Jonathan G Rennison
8687b82dd8
VarAction2: Mark various object variables as expensive
2 years ago
Jonathan G Rennison
77963c5e64
Debug: Add misc_debug bit for extra detail in sprite group dump
2 years ago
Jonathan G Rennison
c0b1f867a3
VarAction2: Prefer tracking store content as clone of another store
2 years ago
Jonathan G Rennison
315f12f1e4
Fix spelling error in comment
2 years ago
Jonathan G Rennison
7bb0de247d
Add GRF feature: New Landscape
...
Custom graphics using actions 1/2/3.
Currently only for rock tiles
2 years ago
Jonathan G Rennison
80281daa23
Fix wrong header guard comment in newgrf_newsignals.h
2 years ago
Jonathan G Rennison
67104b4dc1
Add a simple 32 bit to 32 bit hash function (MurmurHash3)
2 years ago
Jonathan G Rennison
65236bacc7
Debug: Fix crash when dumping null sprite group
2 years ago
Jonathan G Rennison
ba52fbeb91
Signals: Add variable for restriction info, add bit for reserve through
2 years ago
Jonathan G Rennison
28724d651d
Tracerestrict: Add button to highlight all signals using program
2 years ago
Jonathan G Rennison
b37209c3af
Tracerestrict: Programs maintain a list of signals referencing them
2 years ago
Jonathan G Rennison
c06acd3c47
Tracerestrict: Avoid double lookup when setting is restricted map bit
2 years ago
Jonathan G Rennison
ccfcc22c03
Tracerestrict: Return error instead of assert for unknown subcommands
2 years ago
translators
814c61a321
Update: Translations from eints
...
tamil: 20 changes by Aswn
2 years ago
Jonathan G Rennison
02dabad81e
Tracerestrict: Add flag for whether reserve through is always set
2 years ago
Jonathan G Rennison
5a02a13885
VarAction2: Add abs() detection to bool/mul adjust combining
2 years ago
Jonathan G Rennison
e554d7fdfb
VarAction2: Generalise bool/mul adjust combining
2 years ago
Jonathan G Rennison
3e56837ae6
Fix bec2bf7e: Fix (anti-)commutative store/load re-arrangements
2 years ago
Jonathan G Rennison
34cd547325
Debug: Show if action 2s have been modified by action 6 in debug window
2 years ago
Jonathan G Rennison
6214d0d20d
VarAction2: Add an ABS opcode
2 years ago
Jonathan G Rennison
3ca95a63d2
Settings: Fix wrong flags for town max height and min area settings
2 years ago
Jonathan G Rennison
7f1b3a965f
VarAction2: Allow tracking stores as (inverted) clones of previous store
2 years ago
Jonathan G Rennison
8aac0ed639
VarAction2: Shrink size of RandomizedSpriteGroupCompareMode
2 years ago
Jonathan G Rennison
bec2bf7e85
VarAction2: Initial temp store versioning in 1st pass
2 years ago
Jonathan G Rennison
4f3058ee06
VarAction2: Improve handling of variable 7B with a previous constant
2 years ago
Jonathan G Rennison
23e6d861fc
VarAction2: Ensure that store simplification can't break var 7B
2 years ago
Jonathan G Rennison
3bddd55921
VarAction2: Add sprite group flag for if var 1C seen before proc
2 years ago
Niels Martin Hansen
470c902bdc
Fix #9918 : Reset industy last production year on scenario start
2 years ago
Niels Martin Hansen
2cdb0cb084
Codechange: Factor out OnStartScenario function
2 years ago
TELK
08726de24c
Update: Korean translation up to v0.47.3
2 years ago
Jonathan G Rennison
16185e817e
VarAction2: Merge compatible constant operations
2 years ago
Jonathan G Rennison
0343e9d9dd
VarAction2: Replace sequences of the form: (var * flag) + (var * !flag)
2 years ago
Jonathan G Rennison
4553c22cee
Debug: Move DeterministicSpriteGroupAdjust dumping to separate function
2 years ago
Jonathan G Rennison
e5e984d92f
VarAction2: Replace effective SMAX/SMIN sequences in DSE pass
2 years ago
Jonathan G Rennison
0484fbf941
VarAction2: Save/restore inference when going back to previous op with side effects
2 years ago
Jonathan G Rennison
376b434d53
VarAction2: Re-order commutative skip on zero operation sequences
...
Such that less expensive variables can be tested first
2 years ago
Jonathan G Rennison
0409bd88e8
VarAction2: Simplify tracking of sprite group feature
2 years ago
Jonathan G Rennison
caebff85f5
VarAction2: Add helper functions for constant comparison adjust types
2 years ago
Jonathan G Rennison
249a20e47a
VarAction2: Add helper functions for relational comparison ops
2 years ago
Jonathan G Rennison
31e96ff5e7
VarAction2: Add helper functions for anti-commutative ops
2 years ago
Jonathan G Rennison
5db30e559e
VarAction2: Store substitutions can now handle inversions
2 years ago
Jonathan G Rennison
b95116e4fc
VarAction2: Apply XOR bool inversion conversions after DSE
2 years ago
Jonathan G Rennison
2bbfa37730
VarAction2: Replace reversed commutative/sub op via temp storage in DSE pass
2 years ago
Jonathan G Rennison
9a40b9fbb9
Merge PR #390 into jgrpp
2 years ago
Jonathan G Rennison
6f7f80c6cf
Merge branch 'master' into jgrpp
2 years ago
Jonathan G Rennison
45ac1a89aa
VarAction2: Apply XOR with 1 bool logic inversion in more cases
...
Fixes case of DSE-delayed var substitutions
2 years ago
Jonathan G Rennison
45798fa533
Debug: Add scroll to sprite number to debug window
2 years ago
Jonathan G Rennison
1c1e6a1042
VarAction2: Prune deterministic sprite group children again after DSE
2 years ago
Jonathan G Rennison
6e398f9cec
VarAction2: DSE now takes into account DSE results from child groups
2 years ago
Jonathan G Rennison
65407210a6
VarAction2: Allow DSGA_OP_STO_NC to be used with DSGA_TYPE_EQ/NEQ
2 years ago
Jonathan G Rennison
d3dce79d73
VarAction2: Substitute single-use vars through temp storage in DSE pass
2 years ago
Jonathan G Rennison
0310692acf
VarAction2: Only substitute cheap vars through temp storage in 1st pass
2 years ago
Jonathan G Rennison
f54530b1b2
VarAction2: Add checks for vars 7B, 7C when getting previous single load
2 years ago
translators
0d3756818f
Update: Translations from eints
...
korean: 1 change by telk5093
2 years ago
Jonathan G Rennison
a8c0e47dd8
VarAction2: If DSE results in a redundant load, remove it
2 years ago
Jonathan G Rennison
86324e0fda
Debug: Add mode to sprite dump window to show unoptimised
2 years ago
Jonathan G Rennison
22e10462dc
Debug: Redraw debug window content if line change moves scroll position
2 years ago
Jonathan G Rennison
a818157c57
Debug: Add button to duplicate debug window
2 years ago
Jonathan G Rennison
74681f70d9
VarAction2: Replace inverted OR of bools with AND where this makes sense
2 years ago
Jonathan G Rennison
e41a5d2f63
VarAction2: Add flags to skip adjust if value is 0 or LSB set
2 years ago
Jonathan G Rennison
236cbc4e83
VarAction2: Optimise SAR same as SHR on unsigned inputs
2 years ago
Jonathan G Rennison
9d04ebcc90
VarAction2: Remove operations which always do nothing when applied to 0
2 years ago
Jonathan G Rennison
26dd84f931
VarAction2: Optimise OR followed by XOR of same constant
2 years ago
Jonathan G Rennison
3aa0ccb97b
VarAction2: Optimise OR which always produces 1
2 years ago
Jonathan G Rennison
9b0a7ac85e
Debug: Don't unnecessarily show numeric value of adjust operator
2 years ago
Jonathan G Rennison
dc8465dc68
VarAction2: Shrink enum fields of DeterministicSpriteGroupAdjust
2 years ago
Jonathan G Rennison
2663cc3fdc
VarAction2: Adjust masking in GetNearbyTileInformation
2 years ago
Jonathan G Rennison
4b7288902d
VarAction2: Consider industry tile vars 0x60 to 0x62 to be expensive
2 years ago
Jonathan G Rennison
3a5902ff77
VarAction2: Reduce cost of RecursiveDisallowDSEForProcedure
...
Fix disallowing DSE also disallowing store simplification
2 years ago
Jonathan G Rennison
894c8d8b5e
NewGRF: Shrink various flags/enum fields
2 years ago
translators
8cdf303e72
Update: Translations from eints
...
indonesian: 30 changes by indrabagus
2 years ago
Jonathan G Rennison
c342b4219b
NewGRF: Use per-GRF text ID map in GetGRFStringID
2 years ago
Jonathan G Rennison
7a61b5d820
VarAction2: Cache refit capacity callback results which depend only on cargo
2 years ago
Jonathan G Rennison
fcd9137a9f
Change OTTD_PRINTFHEX... defines to uppercase
2 years ago
Jonathan G Rennison
a9ca89d0f8
VarAction2: Move cb_result_found to a flags var in AnalyseCallbackOperation
2 years ago
Jonathan G Rennison
f5f48e89dc
Debug: Show all sprite groups for vehicles in debug window
2 years ago
Jonathan G Rennison
6825ea5e79
Debug: Show name of root sprite group shown in vehicle debug window
2 years ago
Jonathan G Rennison
c3bc05f7b9
VarAction2: Add access to variable 1A to inline/fast path switch
2 years ago
Jonathan G Rennison
3ea1e27fdd
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/german.txt
# src/lang/korean.txt
# src/lang/spanish_MX.txt
# src/lang/traditional_chinese.txt
# src/script/api/script_airport.cpp
# src/script/api/script_rail.cpp
2 years ago
Jonathan G Rennison
b2d8f3ce43
Add setting to disable water animation depending on zoom level
2 years ago
Jonathan G Rennison
5055167c44
Add support for enum client settings
2 years ago
Jonathan G Rennison
1518e4621b
Fix unused function warning in crash logger on Emscripten
2 years ago
Jonathan G Rennison
f05b5163f7
Fix narrowing converison warning
2 years ago
Jonathan G Rennison
cf640cc0cf
Debug: Add sprite group collapsing to sprite group dump window
2 years ago
Jonathan G Rennison
bbc1e28b24
VarAction2: Re-use allocated callback result sprite groups
2 years ago
Jonathan G Rennison
9c86f90bdd
Industry cargoes window: Allow linking only inputs or outputs to smallmap
2 years ago
Jonathan G Rennison
e49d0b3f29
Add console command to set NewGRF optimiser flags
2 years ago
Jonathan G Rennison
e5ef888e80
VarAction2: Add variable/constant copy store simplifification
2 years ago
Jonathan G Rennison
a93b3948b5
VarAction2: Don't change variable masks when disabling procedure DSE
2 years ago
Jonathan G Rennison
3d42e36f89
VarAction2: Avoid pessimising DSE when a procedure returns a callback result
2 years ago
Jonathan G Rennison
9e414a1eab
VarAction2: Move optimiser flags to a separate setting
2 years ago
Jonathan G Rennison
6ff8066d34
VarAction2: Ensure that a temp store var can't reference a clobbered var
2 years ago
Jonathan G Rennison
fe6ab0f19f
VarAction2: Don't track var copies through temporary storage for stations
...
Except for copies of other temporary storage vars
2 years ago
Jonathan G Rennison
db7f29b07c
VarAction2: Deduplicate loads from expensive uncached variables
...
Currently only some vehicle variables
2 years ago
Jonathan G Rennison
6a17f00a27
VarAction2: Ensure dead store elimination doesn't break variable 0x7B
2 years ago
Jonathan G Rennison
813146a78f
VarAction2: Track value inferences through temp storage in more cases
2 years ago
Jonathan G Rennison
ccef3646db
VarAction2: Set value inferences for operations with eq/neq adjust types
2 years ago
Jonathan G Rennison
04a9c73ec2
VarAction2: Combine RST, UMIN sequence to load with neq 0 adjust
2 years ago
Jonathan G Rennison
9116ca6bb0
VarAction2: Track copies of variables through temporary storage
2 years ago
Jonathan G Rennison
263a87f5da
VarAction2: Add adjust types for combined (in)equality with constant
2 years ago
Jonathan G Rennison
1e52e51ce1
VarAction2: Add bounds checks to previous adjust accesses
2 years ago
Jonathan G Rennison
c2fde53495
VarAction2: Remove redundant variable loads
2 years ago
Jonathan G Rennison
4660169b1f
Do not emit screenshots for desync and inconsistency events
2 years ago
Jonathan G Rennison
99ee4b13ce
Realistic braking: Cache train overall z position
...
Refresh cache at a variable rate depending on train length and
weight distribution
2 years ago
Jonathan G Rennison
c238bd5012
Debug: Add temp store highlighting to sprite group dump window
...
Add tooltip
2 years ago
translators
0a3d5f5ff8
Update: Translations from eints
...
italian: 1 change by Rivarossi
2 years ago
Jonathan G Rennison
6d4da8afd4
Add setting to ignore object introduction dates
2 years ago
Jonathan G Rennison
6fce46304a
Add setting to disable object expiry after a given year
2 years ago
Jonathan G Rennison
30f74c5b74
Sprite group: Add getter function for sprite groups
2 years ago
Jonathan G Rennison
d8f9641dc9
VarAction2: Remove redundant UMIN operation on already boolean values
2 years ago
Jonathan G Rennison
3c9201ebd5
VarAction2: Fix dead store elimination through randomised sprite groups
2 years ago
Jonathan G Rennison
ce98daedce
Util: Add a y-combinator template class
2 years ago
Jonathan G Rennison
564d7e5029
Debug: Allow clicking to highlight group in sprite group dump window
2 years ago
Jonathan G Rennison
6d877b5e70
Reduce redundant calls to get current max speed for trains and RVs
...
Between ShowVisualEffect() and UpdateSpeed()
2 years ago
glx22
aeeee9f18e
Fix #9909 , 13528bf: Left-over unused parameter breaks overload resolution
2 years ago
Jonathan G Rennison
af270a63ad
Industry: Apply anim tile masking when loading prior version saves
2 years ago
Jonathan G Rennison
42e20d3d99
Industry: Determine which tiles in industry layouts are not animated
...
Do not set these as animated tiles for new industries
2 years ago
Jonathan G Rennison
220390ed3e
Crashlog: Support gdb read when /dev/null is missing
2 years ago
glx22
675cf7a8ee
Fix 6fe445e: [Script] Respect joining adjacent when building an airport
2 years ago
Jonathan G Rennison
d83f0d0cda
Crashlog: Use a temp file instead of a pipe to read from gdb/lldb
2 years ago
Jonathan G Rennison
4a0fa0cc75
Crashlog: Do not try to read from other executables if /dev/null is missing
2 years ago
Jonathan G Rennison
9d0e3e22b7
Fix being able to add/remove/modify tunnel/bridge signals when occupied
2 years ago
translators
9fca8af586
Update: Translations from eints
...
spanish (mexican): 7 changes by absay
2 years ago
Jonathan G Rennison
304f88dc40
VarAction2: Fix callback result detection in AnalyseEngineCallbacks
2 years ago
Jonathan G Rennison
e0581db2a1
VarAction2: Remove dead stores and redundant adjusts in more cases
2 years ago
Jonathan G Rennison
541294e845
Debug: Add misc debug bit for animated tile zoning overlay
2 years ago
Jonathan G Rennison
8eb86fa6c7
GRF: Use access mask when evaluating get nearby tile information variable
2 years ago
Jonathan G Rennison
7207c9330c
Tile loop: Add snow line check fast path for tiles well above snow line
2 years ago
Jonathan G Rennison
d71e38446e
Improve performance of string lookup in AddGRFString
2 years ago
translators
a59c19c6c2
Update: Translations from eints
...
chinese (traditional): 24 changes by Tetrapod1206
italian: 6 changes by Rivarossi
2 years ago
Jonathan G Rennison
9a131a90ca
Debug: Fix crash when inspecting train with realistic braking disabled
...
When realistic braking is otherwise enabled
2 years ago
Jonathan G Rennison
994dc683a2
VarAction2: Fix calculated result groups being incorrectly pruned
2 years ago
Jonathan G Rennison
d6015194c1
Allow ctrl-clicking other company trains on own track to start/stop
...
See: #392
2 years ago
Jonathan G Rennison
74eaa77538
Debug: Add sprite dump button to industry/station tile debug windows
2 years ago
Jonathan G Rennison
b102e912b3
VarAction2: Allow temp store dead store elmination with industries
2 years ago
Jonathan G Rennison
b74873a2fb
Debug: Show industry production sprite group registers/values
2 years ago
Jonathan G Rennison
4687a8c2a4
VarAction2: Prune group ranges for constant values
...
Add chicken bit to control pruning
2 years ago
Jonathan G Rennison
c894d5a86d
VarAction2: Add temp store dead store elimination
2 years ago
Jonathan G Rennison
d9358efc3d
VarAction2: Handle zero adjusts simple case in callback analyser
2 years ago
Jonathan G Rennison
c38d0d0458
Debug: Show tile layout sprite group register flags/values
2 years ago
Jonathan G Rennison
4a8b2df108
Util: Add a non-dynamic arena allocator based on DynUniformArenaAllocator
2 years ago
Niels Martin Hansen
5587e439a9
Fix: Industry layouts with zero regular tiles should be invalid
2 years ago
Jonathan G Rennison
a8eb52f061
VarAction2: Simplify handling of first adjustment
2 years ago
Jonathan G Rennison
a5f5be2dff
VarAction2: Detect ops on previous constants which become loads
2 years ago
Jonathan G Rennison
1fec7d6ddb
VarAction2: Detect and replace reversed commutative op via temp storage
2 years ago
Jonathan G Rennison
762cfb3df7
VarAction2: Track temp store loads with respect to stores
2 years ago
Jonathan G Rennison
862d955320
Debug: Include var 7E procedures in sprite dump output
2 years ago
Jonathan G Rennison
6953150898
VarAction2: Move optimisation pass to separate function
...
Simplify logic slightly
2 years ago
Jonathan G Rennison
57c0ce1270
Fix public roads when traversing level crossings and other non-normal road
2 years ago
translators
578bb6638f
Update: Translations from eints
...
chinese (traditional): 120 changes by wpi3
vietnamese: 2 changes by KhoiCanDev
2 years ago
translators
e3a4524133
Update: Translations from eints
...
chinese (traditional): 130 changes by Tetrapod1206, 10 changes by wpi3
italian: 6 changes by Rivarossi
2 years ago
glx22
ed1457dca3
Fix 55170ae: [Script] Building two-way signals could end up one-way
2 years ago
Jonathan G Rennison
145536e1fd
VarAction2: Detect and replace reverse subtract via temp storage
2 years ago
Jonathan G Rennison
381aa04660
Debug: Add sprite dump button to industry debug window
2 years ago
Jonathan G Rennison
dd2e1fe956
Add chicken bit to disable varact2 optimisation
2 years ago
Jonathan G Rennison
72e2ee882e
Fix 1a38cbde7: Ship viewport hash not updated on rotation
2 years ago
Jonathan G Rennison
f0a0b2e200
VarAction2: Flatten constant operations on constants in more cases
2 years ago
Jonathan G Rennison
2360b3e93e
VarAction2: Detect and replace scaled reads of train/RV/ship current speed
2 years ago
translators
992c72c0cb
Update: Translations from eints
...
chinese (traditional): 365 changes by wpi3
2 years ago
Jonathan G Rennison
730b84e262
Fix load check of a savegame with realistic braking enabled triggering signal checks on current game
2 years ago
Jonathan G Rennison
13cdef2a2d
VarAction2: Remove redundant and with 1 when value is already bool
2 years ago
Jonathan G Rennison
2f09eff404
VarAction2: Convert boolean, invert sequence to ternary
2 years ago
Jonathan G Rennison
90a2aa57fc
VarAction2: Detect and replace signed relational comparisons
2 years ago
Jonathan G Rennison
e732042785
VarAction2: Remove redundant constant loads
2 years ago
Jonathan G Rennison
74e1a40f7c
VarAction2: Remove trivially resolvable deterministic sprite groups
2 years ago
Jonathan G Rennison
3b5eede3fc
VarAction2: Detect and replace operations which always produce 0
2 years ago
translators
57230c559b
Update: Translations from eints
...
swedish: 18 changes by joeax910
vietnamese: 26 changes by KhoiCanDev
2 years ago
Jonathan G Rennison
a21ae12c90
VarAction2: Remove redundant temp store loads after stores
2 years ago
Jonathan G Rennison
db5be4f92e
VarAction2: Remove constant parameter redirection via variable 7B
2 years ago
Jonathan G Rennison
08b83352bf
Fix truncation of variable mapping A2VM->VPRM params wider than 8 bits
...
And remapped variables via variable 7B
2 years ago
Jonathan G Rennison
da629e4cfa
VarAction2: Replace divs of powers of 2 with shifts where possible
2 years ago
Jonathan G Rennison
fad5973161
VarAction2: Reduce shift right and mask ops into adjust shift/mask
2 years ago
Jonathan G Rennison
012d73ef34
VarAction2: Detect equality comparisons
...
Remove redundant equality with 0 comparison before ternary
2 years ago
Jonathan G Rennison
7283825638
VarAction2: Detect and replace ternary operator pattern
2 years ago
Jonathan G Rennison
e3df522111
VarAction2: Delete provably zero adjustment operations
2 years ago
Jonathan G Rennison
502980ba61
Support railtype-dependant GRF train speed limits with realistic braking
...
See: #389
2 years ago
Jonathan G Rennison
aeac77e012
Fix engine callbacks not being analysed in newly generated games
2 years ago
translators
d89e7484c8
Update: Translations from eints
...
swedish: 15 changes by joeax910
2 years ago
translators
59f16b1a38
Update: Translations from eints
...
korean: 5 changes by telk5093
russian: 12 changes by Ln-Wolf
2 years ago
Jonathan G Rennison
1a38cbde74
Fix ships not always updating in viewport map mode
...
Adjust sprite_seq_bounds to plausible value matching current rotation
to fix viewport update region missing vehicle tile
2 years ago
Jonathan G Rennison
cf3ea7b6af
Debug: Include x_offs/y_offs in vehicle debug window
2 years ago
Jonathan G Rennison
0ac96a0da3
Show vehicle inspect window when ctrl-shift clicking in group list window
2 years ago
TELK
7ec5d7b8de
Update: Korean translation up to 6107aa9
2 years ago
translators
8d8f45f0dd
Update: Translations from eints
...
russian: 25 changes by Ln-Wolf
2 years ago
translators
3a2c0531b6
Update: Translations from eints
...
italian: 1 change by Rivarossi
polish: 2 changes by pAter-exe
2 years ago
translators
b1e24a0ae3
Update: Translations from eints
...
italian: 22 changes by Rivarossi
2 years ago
Jonathan G Rennison
6107aa9e5c
Render an overlay of the measurement tool area in viewport map mode
...
See: #388
2 years ago
Jonathan G Rennison
981104e308
Add a functor fill mode to GfxFillPolygon
2 years ago
Jonathan G Rennison
9fddfdeccf
Fix viewport map scrolling box blend over vehicles on animated blitters
2 years ago
Jonathan G Rennison
a9caeaa7f1
Fix viewport map scrolling box blend on emscripten
2 years ago
Jonathan G Rennison
b92ae644c4
Add a Blitter::SetPixel32 function
2 years ago
Jonathan G Rennison
b464c589af
Reduce blitter MoveTo calls when drawing viewport map scrolling box blend
2 years ago
translators
9d979a6d23
Update: Translations from eints
...
spanish (mexican): 1 change by absay
german: 25 changes by SecretIdetity
2 years ago
Jonathan G Rennison
16259e9619
Allow measurement tool in viewport map mode
...
See: #388
2 years ago
Jonathan G Rennison
4991309018
Fix timetable autofill activation when scheduled dispatch is active
2 years ago
translators
9842e8b762
Update: Translations from eints
...
spanish (mexican): 8 changes by absay
czech: 18 changes by adamek0202
russian: 1 change by Ln-Wolf
catalan: 5 changes by J0anJosep
2 years ago
Jonathan G Rennison
ad47275d53
Disabling timetable automation without ctrl no longer clears timetable
2 years ago
translators
f8c6034b93
Update: Translations from eints
...
spanish (mexican): 21 changes by absay
italian: 1 change by Rivarossi
russian: 12 changes by Ln-Wolf
2 years ago
translators
fd1aa154f4
Update: Translations from eints
...
italian: 1 change by Rivarossi
russian: 16 changes by Ln-Wolf
2 years ago
Jonathan G Rennison
5b7db9d849
Merge branch 'master' into jgrpp
...
# Conflicts:
# .github/workflows/ci-build.yml
# .github/workflows/commit-checker.yml
# src/command.cpp
# src/company_cmd.cpp
# src/company_gui.cpp
# src/crashlog.cpp
# src/economy.cpp
# src/lang/english.txt
# src/lang/german.txt
# src/lang/korean.txt
# src/misc_gui.cpp
# src/newgrf_config.cpp
# src/openttd.cpp
# src/settings_gui.cpp
# src/ship_cmd.cpp
# src/table/settings/gui_settings.ini
2 years ago
translators
adc76cca54
Update: Translations from eints
...
catalan: 2 changes by J0anJosep
2 years ago
benda
6540948ace
Fix: Company values do not properly account for shares ( #9770 )
...
Co-authored-by: Charles Pigott <charlespigott@googlemail.com>
2 years ago
Tyler Trahan
fa562ba041
Fix #9712 : Cap town bridge length at original 11-tile limit ( #9890 )
2 years ago
Tyler Trahan
37d318c410
Fix #9870 : Don't update infrastructure totals when overbuilding object on canal
2 years ago
translators
24d7697acc
Update: Translations from eints
...
spanish: 1 change by frosch123
2 years ago
translators
1eed52f294
Update: Translations from eints
...
swedish: 7 changes by translators
norwegian (bokmal): 1 change by translators
spanish (mexican): 41 changes by translators
japanese: 28 changes by translators
english (us): 4 changes by translators
vietnamese: 7 changes by translators
estonian: 60 changes by translators
korean: 9 changes by translators
greek: 4 changes by translators
hungarian: 2 changes by translators
indonesian: 5 changes by translators
italian: 12 changes by translators, 1 change by Rivarossi
german: 33 changes by translators
romanian: 11 changes by translators
russian: 4 changes by translators
finnish: 2 changes by translators
ukrainian: 5 changes by translators
slovak: 9 changes by translators
catalan: 14 changes by translators
turkish: 1 change by translators
danish: 1 change by translators
latvian: 5 changes by translators
dutch: 5 changes by translators
spanish: 98 changes by translators
portuguese: 6 changes by translators
portuguese (brazilian): 2 changes by translators, 1 change by marlondantas
polish: 13 changes by translators
2 years ago
translators
84aec4fcb8
Update: Translations from eints
...
english (us): 2 changes by 2TallTyler
italian: 2 changes by Rivarossi
russian: 5 changes by Ln-Wolf
dutch: 2 changes by Afoklala
french: 25 changes by glx22
portuguese: 2 changes by azulcosta
2 years ago
Tyler Trahan
ebc76a4200
Change: Use an indent, not a dash, to list train capacity
2 years ago
Jonathan G Rennison
dd40fa32df
Fix excessive recursion in link graph refresher with conditional order loops
2 years ago
translators
646d160c38
Update: Translations from eints
...
italian: 3 changes by Rivarossi
2 years ago
translators
273b33b087
Update: Translations from eints
...
swedish: 5 changes by joeax910
2 years ago
Blinnikov Pavel
c8043f6e00
Update sqbaselib.cpp
...
(cherry picked from commit 43a4b138a504c0464e6a7bb7b87ac2a90968b0aa)
2 years ago
translators
8d51156150
Update: Translations from eints
...
spanish (mexican): 20 changes by absay
italian: 7 changes by Rivarossi
2 years ago
Jonathan G Rennison
8eb0609541
Fix industry chain window not always updating map-mode viewports
2 years ago
Jonathan G Rennison
5c2fb5c160
Make tree tile grass ground density update speed independent of growth speed
...
See #386
2 years ago
Jonathan G Rennison
91f740424b
Fix #386 : Tree tile grass ground density update when tree growth/spread disabled
2 years ago
translators
867f6a5964
Update: Translations from eints
...
spanish (mexican): 9 changes by absay
polish: 3 changes by pAter-exe
2 years ago
translators
9c58ea7a37
Update: Translations from eints
...
swedish: 2 changes by joeax910
spanish (mexican): 62 changes by absay
korean: 25 changes by telk5093
polish: 72 changes by pAter-exe
2 years ago
translators
5e5f864990
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
italian: 1 change by Rivarossi
2 years ago
Niels Martin Hansen
0dce7bf85d
Add: Commandline option to skip NewGRF scanning
2 years ago
Niels Martin Hansen
588fee5473
Codechange: Document the _ship_subcoord table
2 years ago
translators
c6e4fa7df1
Update: Translations from eints
...
italian: 11 changes by Rivarossi
dutch: 24 changes by Afoklala
2 years ago
Charles Pigott
146827c458
Fix #9877 : GS could trigger 'Cost: 0' cost message ( #9878 )
2 years ago
translators
142321da79
Update: Translations from eints
...
spanish (mexican): 1 change by absay
russian: 4 changes by Ln-Wolf
catalan: 20 changes by J0anJosep
french: 1 change by glx22
portuguese: 1 change by azulcosta
2 years ago
Jonathan G Rennison
1714773457
Adjust baseline for arctic snowline dynamic width setting to lower value
2 years ago
translators
1ed212775c
Update: Translations from eints
...
galician: 27 changes by pvillaverde
2 years ago
Niels Martin Hansen
5b86bce7b2
Change: Log video driver info string instead of just name in crashlog
2 years ago
Niels Martin Hansen
345dcd3c7b
Add: Show current video driver info in Options window
2 years ago
translators
be72f1e54b
Update: Translations from eints
...
spanish (mexican): 18 changes by absay
italian: 30 changes by Rivarossi
russian: 17 changes by Ln-Wolf
portuguese: 25 changes by azulcosta
2 years ago
translators
b8565d8cac
Update: Translations from eints
...
spanish (mexican): 10 changes by absay
english (us): 23 changes by 2TallTyler
russian: 22 changes by Ln-Wolf
french: 24 changes by glx22
2 years ago
translators
e5c1865e76
Update: Translations from eints
...
swedish: 5 changes by joeax910
spanish (mexican): 3 changes by absay
korean: 3 changes by telk5093
italian: 56 changes by Rivarossi
german: 3 changes by danidoedel
romanian: 1 change by ALEX11BR
ukrainian: 8 changes by StepanIvasyn
2 years ago
Jonathan G Rennison
452d22ce37
Add setting for width of dynamic snowline range for arctic tree placement
...
Default: 75%
2 years ago
Loïc Guilloux
7331149dde
Codechange: [CMake] Pass API files list via a file to minimise command line length ( #9874 )
2 years ago
Andrew Zhou
c183f07c15
Fix: Prevents crash when no industries are present
...
(cherry picked from commit 5ea55f3948
)
2 years ago
glx22
fb1ac307a4
Fix 44f2ef1: [strgen] Allow gender for {CARGO_SHORT}
2 years ago
Tyler Trahan
ec90fb4c99
Fix #6544 : Don't join AI company when loading network game in singleplayer
2 years ago
Andrew Zhou
5ea55f3948
Fix: Prevents crash when no industries are present
2 years ago
Andy
24c07f1640
Change: increase vehicle sprite stack from 4 layers to 8 ( #9863 )
...
(cherry picked from commit 1cfdbb4dea
)
2 years ago
Jonathan G Rennison
c4e2175cc9
Merge branch 'master' into jgrpp
2 years ago
Jonathan G Rennison
03bdb28c02
Allow pre_cb to transform incoming enum value in ValidateEnumSetting
2 years ago
Jonathan G Rennison
e9f6559d36
Merge branch 'pr-384' into jgrpp
2 years ago
Jonathan G Rennison
ed30542acf
Cache highest snowline value
2 years ago
Jonathan G Rennison
0ec6f659c2
Adjust default height of company infrastructure window
2 years ago
Andreas Schmitt
114bed4549
Fix z-check for flat road foundations
2 years ago
Jonathan G Rennison
f37575d170
Make company infrastructure window scrollable
2 years ago
Andy
1cfdbb4dea
Change: increase vehicle sprite stack from 4 layers to 8 ( #9863 )
2 years ago
Andreas Schmitt
c55051a135
Make arctic treeline feature use the dynamic snowline if present
2 years ago
Tyler Trahan
41de69c5b7
Feature: Improved Finance window
2 years ago
Tyler Trahan
f4ca94d3f6
Codechange: Revenue is not the same as Income
...
Income is revenue minus costs. Let's name things correctly (without breaking the script API).
2 years ago
Jonathan G Rennison
76e12c994d
Crash log: Write log to file and console as it is being generated on Unix
2 years ago
Jonathan G Rennison
0a31b27a20
Fix water infra total when building water over canal with object
...
See: https://github.com/OpenTTD/OpenTTD/issues/9870
2 years ago
Jonathan G Rennison
ef379b5214
Fix DC_FORCE_CLEAR_TILE water removal not removing docking tiles
...
See: https://github.com/OpenTTD/OpenTTD/issues/9869
2 years ago
Tyler Trahan
e79724ea22
Feature: Alternative linkgraph colour schemes ( #9866 )
2 years ago
Jonathan G Rennison
b3893878bb
Fix #9867 : Industry::stations_near not filled at industry creation
2 years ago
Jonathan G Rennison
e3837e790d
Fix new industry next to existing stations not filling industry stations_near
2 years ago
translators
ed0b0b80d3
Update: Translations from eints
...
spanish (mexican): 84 changes by absay
italian: 16 changes by Rivarossi
2 years ago
translators
4e09dbc86e
Update: Translations from eints
...
spanish (mexican): 137 changes by absay
italian: 10 changes by Rivarossi
2 years ago
translators
cc4186410b
Update: Translations from eints
...
spanish (mexican): 8 changes by absay
italian: 13 changes by Rivarossi
2 years ago
translators
869b645708
Update: Translations from eints
...
italian: 33 changes by Rivarossi
polish: 5 changes by pAter-exe
2 years ago
translators
6c161ad18a
Update: Translations from eints
...
italian: 2 changes by Rivarossi
2 years ago
Jonathan G Rennison
b6c967aae3
Adjust order of station name assignments
2 years ago
Jonathan G Rennison
a54416afbc
Add GRF variable to use extra station names even when default names remain
2 years ago
translators
6cb668955e
Update: Translations from eints
...
italian: 7 changes by Rivarossi
2 years ago
Jonathan G Rennison
fcc74c1650
Be less strict about distance form centre for town-only station name
...
For large towns
2 years ago
Jonathan G Rennison
40708c5b47
Fix #380 : CcAddNewSchDispatchSchedule missing from network callback table
2 years ago
translators
585e49a597
Update: Translations from eints
...
italian: 2 changes by Rivarossi
2 years ago
Joan Josep
bcf26f8ec0
Doc: Fix some spelling mistakes (to->two, tileindex->TileIndex). ( #9857 )
2 years ago
translators
98bdf01967
Update: Translations from eints
...
italian: 5 changes by Rivarossi
romanian: 7 changes by alexban011
2 years ago
TELK
483e2f6a74
Update: Korean translation up to 2bfa53f
2 years ago
Loïc Guilloux
ef4b699f40
Fix #9853 , 648ee88: incorrect merge of guiflags and flags for osk_activation ( #9855 )
2 years ago
translators
a24ba6c264
Update: Translations from eints
...
italian: 2 changes by Rivarossi
2 years ago
Jonathan G Rennison
2bfa53fcdd
Hide build river button when disabled instead of visually disabling it
2 years ago
Jonathan G Rennison
7ccbc6f296
Use separate tool-tip string for building rivers in game
...
See: #378
2 years ago
Jonathan G Rennison
8a9afd4621
Add road stops flag for drive-through stops only
2 years ago
Jonathan G Rennison
25dc483de0
Fix duplicate text in tram road stops build window
2 years ago