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
3 years ago
Jonathan G Rennison
a54416afbc
Add GRF variable to use extra station names even when default names remain
3 years ago
translators
6cb668955e
Update: Translations from eints
...
italian: 7 changes by Rivarossi
3 years ago
Jonathan G Rennison
fcc74c1650
Be less strict about distance form centre for town-only station name
...
For large towns
3 years ago
Jonathan G Rennison
40708c5b47
Fix #380 : CcAddNewSchDispatchSchedule missing from network callback table
3 years ago
translators
585e49a597
Update: Translations from eints
...
italian: 2 changes by Rivarossi
3 years ago
Joan Josep
bcf26f8ec0
Doc: Fix some spelling mistakes (to->two, tileindex->TileIndex). ( #9857 )
3 years ago
translators
98bdf01967
Update: Translations from eints
...
italian: 5 changes by Rivarossi
romanian: 7 changes by alexban011
3 years ago
TELK
483e2f6a74
Update: Korean translation up to 2bfa53f
3 years ago
Loïc Guilloux
ef4b699f40
Fix #9853 , 648ee88: incorrect merge of guiflags and flags for osk_activation ( #9855 )
3 years ago
translators
a24ba6c264
Update: Translations from eints
...
italian: 2 changes by Rivarossi
3 years ago
Jonathan G Rennison
2bfa53fcdd
Hide build river button when disabled instead of visually disabling it
3 years ago
Jonathan G Rennison
7ccbc6f296
Use separate tool-tip string for building rivers in game
...
See: #378
3 years ago
Jonathan G Rennison
8a9afd4621
Add road stops flag for drive-through stops only
3 years ago
Jonathan G Rennison
25dc483de0
Fix duplicate text in tram road stops build window
3 years ago
Jonathan G Rennison
ad0dc6dc87
Add road stops flag to disable drawing catenary
3 years ago
translators
3cf0e95f6e
Update: Translations from eints
...
italian: 1 change by Rivarossi
3 years ago
translators
7c40967c1f
Update: Translations from eints
...
polish: 14 changes by pAter-exe
3 years ago
translators
385c2f1381
Update: Translations from eints
...
polish: 4 changes by pAter-exe
3 years ago
translators
49b8eac2dc
Update: Translations from eints
...
chinese (simplified): 3 changes by HansKaffee
italian: 30 changes by Rivarossi
polish: 14 changes by pAter-exe
3 years ago
translators
1ae34ca62d
Update: Translations from eints
...
catalan: 4 changes by J0anJosep
dutch: 5 changes by Afoklala
polish: 43 changes by pAter-exe
3 years ago
translators
bd6531d0d0
Update: Translations from eints
...
vietnamese: 4 changes by KhoiCanDev
3 years ago
translators
5dd9400fe2
Update: Translations from eints
...
english (us): 4 changes by 2TallTyler
3 years ago
translators
ee105257ff
Update: Translations from eints
...
russian: 4 changes by Ln-Wolf
french: 4 changes by glx22
3 years ago
translators
a6ada35259
Update: Translations from eints
...
portuguese: 4 changes by azulcosta
3 years ago
translators
c36fc98137
Update: Translations from eints
3 years ago
Tyler Trahan
1c580d1612
Change: Improve "local authority rating" setting name and helptext
3 years ago
Tyler Trahan
f92cf38ab5
Feature: Allow disabling local authority control of company actions
3 years ago
Jonathan G Rennison
34af4844d1
Merge branch 'master' into jgrpp
3 years ago
Jonathan G Rennison
a8d99215d7
Fix crash when road vehicle leaves bus/truck stop when it is has no orders
3 years ago
Aaron Katzin
148695c571
Fix #9736 : Duplicate multiplayer window opens upon canceling password entry ( #9842 )
3 years ago
Jonathan G Rennison
f86f77b7a5
Fix viewport town/industry tooltips shown on mouseover in right-click mode
3 years ago
Jonathan G Rennison
5f511f8a65
Fix incorrect check preventing ordering road vehicles to incompatible depots
3 years ago
Jonathan G Rennison
d3efa2afe0
Show specific reason why vehicle cannot be ordered to a particular station
3 years ago
ALEX11BR
61c6fd3055
Fix: correct some mistaken Romanian real towns
3 years ago
Michael Lutz
8d54f76539
Fix #9837 , 46bd2f1c: Road build with wrong half-tile ends.
3 years ago
Jonathan G Rennison
358e41d471
Merge branch 'pr-375' into jgrpp
3 years ago
Jonathan G Rennison
8babbb5fe3
Debug: Add misc debug bit for tropic mode zoning overlay
3 years ago
Jonathan G Rennison
c59d78db11
Zoning: Fix restricted signal zoning mode with tunnels/bridges
3 years ago
pvillaverde
05ef9983f2
[Feat] Updated Galician translations up to v0.47.0
3 years ago
Dave Shifflett
0d9fdeda8e
Feature: Allow Shift+Insert as paste in edit box ( #9836 )
3 years ago
Jonathan G Rennison
c4ea3e0335
Fully simulate slot occupancy changes in PBS res end dry-run mode
3 years ago
Michael Lutz
08a5478a93
Add: [NewGRF] Map seed as global variable.
...
This is useful to provide a feature-agnostic, stable random value that differs between games.
One of the possible uses is to e.g. use it to create pseudo-random regions for towns or industries.
3 years ago
Jonathan G Rennison
da88e12990
Fix deny and penalty actions not being applied to no-entry signals
3 years ago
Patric Stout
68ec2a7877
Fix: removing long roads doesn't prioritize refusal of local authority over other errors ( #9831 )
3 years ago
Tyler Trahan
d220debc6c
Change: Don't pay Property Maintenance on stations when Infrastructure Maintenance is disabled ( #9828 )
3 years ago
Tyler Trahan
fbbc80f79e
Fix #9020 : Update station coverage highlight when adding/removing tiles
3 years ago
Jonathan G Rennison
40cdf7944a
Fix 583663bc
, 7953a1f8: Loading autosave setting from config file
3 years ago
Rubidium
c73f578e8c
Codechange: replace magic numbers and C-style arrays with C++-style array for share owners
3 years ago
Jonathan G Rennison
221120090e
Fix wrong prefix in trace restrict enum
...
TRSACF_REMOVE_SPEED_ADAPT_EXEMPT in
TraceRestrictSpeedAdaptationControlField
3 years ago
Jonathan G Rennison
92142e5684
Add routing restriction action to make exempt from speed adaptation
3 years ago
Jonathan G Rennison
60a33feac8
Merge branch 'desert-tweaks' into jgrpp
3 years ago
Jonathan G Rennison
39d39a5c61
Reduce duplication in desert or rainforeset data search arrays
3 years ago
reldred
3bf2e850a5
undo the mess I made of JGR's fixes to my janky code
3 years ago
reldred
e3e032518b
Merge branch 'desert-tweaks' of https://github.com/reldred/OpenTTD-patches into desert-tweaks
3 years ago
reldred
59022c40f9
adjustments;
...
added lake tropic width adjustment
added an extra large setting to the coasts (51radius)
set minimum width for rivers and lakes to 2 (setting it to 1 actually CTD'd the game)
made max for rivers and lakes be 51 tiles to match the 51tiles of the coast setting.
3 years ago
Jonathan G Rennison
f1b6eb932f
Reduce duplication in CreateDesertOrRainForest
3 years ago
reldred
22305e8795
Allows configuring the width of the coast in tropic maps that generates as tropiczone_normal before the desert kicks in, it does this by creating two additional arrays which house the coordinates to create a filled circle of radius of 19 tiles, and 25 tiles. the default creates a radius of 13 tiles.
...
I'd eventually like to add an Extra Large setting but manually creating the array of coordinates is horrible.
I wedged this setting in beside the setting for tropic width around rivers despite it not fitting into the rivers/lakes category because it still feels the most relevant place for now.
3 years ago
Jonathan G Rennison
e5a421b65a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/economy.cpp
# src/linkgraph/refresh.cpp
# src/order_cmd.cpp
# src/saveload/vehicle_sl.cpp
# src/station.cpp
# src/station_base.h
# src/timetable_cmd.cpp
# src/timetable_gui.cpp
# src/vehicle.cpp
# src/vehicle_base.h
# src/vehicle_cmd.cpp
3 years ago
translators
0d8fbf647b
Update: Translations from eints
...
latvian: 4 changes by lexuslatvia
3 years ago
Jonathan G Rennison
1e1b48323a
Remove further obsolete comment about CmdScheduledDispatchSetStartDate
3 years ago
translators
acaea776eb
Update: Translations from eints
...
finnish: 2 changes by RedJimi
3 years ago
Jonathan G Rennison
3422915bfa
Remove obsolete comments about CmdScheduledDispatchSetStartDate
3 years ago
Jonathan G Rennison
e24d7c88bc
Add road stop flag to not show one-way road overlays
3 years ago
Jonathan G Rennison
2ce5a93527
Add road stop variables for one-way road info
3 years ago
Jonathan G Rennison
cb573a1523
Add road stop property to set cost multipliers
3 years ago
Jonathan G Rennison
ff2640c0e3
Add more sub parts to road stop var 68
3 years ago
Rubidium
1c256a4be7
Fix: do not let shares in the company taking over another company disappear
3 years ago
Jonathan G Rennison
ad046bdf22
Add a waypoint ground draw flag to NewGRF road stops
...
Adjust overlay draw conditions
3 years ago
Jonathan G Rennison
5109083564
Fix spec allocation issues when overbuilding a road stop with the same type
3 years ago
Jonathan G Rennison
6b03575dcd
Fix road stop ground sprite/overlays in preview window
3 years ago
Jonathan G Rennison
8eddb494c2
Fix tram bus/truck stop windows, fix filter text left padding
3 years ago
Jonathan G Rennison
1dee6d2796
Fix drawing of custom road stop ground sprites on map
3 years ago
Jonathan G Rennison
c503bd32c0
Fix road waypoint window not being closed when no longer placing
3 years ago
Jonathan G Rennison
5a2cc24190
Fix initialisation of new road stop specs
3 years ago
Tyler Trahan
89dba56782
Fix e740c24: Use correct command flag, not just DC_EXEC
3 years ago
translators
22f6502b14
Update: Translations from eints
...
chinese (traditional): 3 changes by benny30111
galician: 9 changes by mgtrad, 1 change by NicoSGF64
indonesian: 14 changes by bsuseno
3 years ago
Jonathan G Rennison
909b20ee68
Implement train speed adaptation on signalled tunnels/bridges
...
See: #373
3 years ago
Jonathan G Rennison
df92b7e449
Merge branch 'road-stops' into jgrpp
3 years ago
dP
36bee83864
Change: Deliver cargo to the closest industry first ( #9536 )
3 years ago
Jonathan G Rennison
5428492d6b
Add hotkeys for building road waypoints to the road/tram toolbars
3 years ago
Jonathan G Rennison
742b42cff6
Remove unused road stop constant
3 years ago
Jonathan G Rennison
50775f8b43
Increase road stop random bits to 8 bits
3 years ago
Jonathan G Rennison
650a359a16
Fix road stop road/tram type variables when not present and in GUI
3 years ago
Jonathan G Rennison
a0e6380d7a
Fix variable definition for road stop var 6A
3 years ago
Jonathan G Rennison
4a347e73bb
Fix drawing road/tram type overlays for drive-through stops in GUI
3 years ago
Jonathan G Rennison
20c5d471be
Fix implicit order generation with road vehicle leave stop next order check
3 years ago
Jonathan G Rennison
ae3c4f2d6d
If road vehicle next order is for same station when leaving, do not leave
...
Just start loading again without moving instead
3 years ago
Jonathan G Rennison
a6190c9deb
Fix crash in scheduled dispatch window with nearest depot dispatch order
3 years ago
Jonathan G Rennison
5119d61c82
If aircraft next order is for same station when leaving, do not leave
...
Just start loading again without moving instead
3 years ago
Niels Martin Hansen
e68bf58989
Codechange: Use anonymous union for vehicle orders/old orders list
3 years ago
Jonathan G Rennison
2cbbae16da
Add roadstop GRF properties to set bridge heights and disallowed pillars
3 years ago
Jonathan G Rennison
1a64d2a97e
Add NewGRF extension names for road stop animation frame variables
3 years ago
Jonathan G Rennison
323810b4e1
Fix town local authority button not being redrawn
...
See: #372
3 years ago
Jonathan G Rennison
23c472d2a0
Add support for road stop animation, availability callback
...
Add animation, callback mask, general flags properties
Add animation frame variables
3 years ago
Jonathan G Rennison
0c3988c39b
Fix GetAnimatedTileSpeed_Station for airport tiles
3 years ago
Jonathan G Rennison
67d967befb
Add road stop support for Action 3 cargo type groups
3 years ago
Jonathan G Rennison
3b8c73acad
Add/adjust NewGRF road stop variables
3 years ago
Jonathan G Rennison
64fb6251bf
Implement NewGRF road waypoint selection window
3 years ago
Jonathan G Rennison
66db1863f2
Debug: Add NewGRF inspector support for road stops
3 years ago
Jonathan G Rennison
a69eba31fe
Implement NewGRF road stop root sprite group selection
3 years ago
Jonathan G Rennison
1084bb8566
Initial support for NewGRF road stops (bus and lorry stops)
3 years ago
Jonathan G Rennison
a3c003546b
Implement extended NewGRF variable parameter support
3 years ago
Jonathan G Rennison
ecc4e79337
Fix non-rail bridge construction setting polyrail endpoints
...
See: #371
3 years ago
Jonathan G Rennison
d659ce3189
Fix c040a69f: rail waypoint spec not being allocated for new waypoints
3 years ago
Niels Martin Hansen
41c40f130b
Fix: Original music playback rate was slightly too fast
...
Found a new tempo value experimentally. The new value gives a timing error of less than 0.01 second per minute.
3 years ago
translators
81adc38176
Update: Translations from eints
...
japanese: 9 changes by Azusa257
3 years ago
Jonathan G Rennison
c040a69fec
Handle case where rail waypoint runs out of station spec slots
3 years ago
frosch
8028794bee
Fix #9811 , 9156d7b: Use the NewGRF-defined vehicle center when dragging ships and aircraft. ( #9812 )
...
The alignment using the total-width of the vehicle-chain was meant for articulated trains and road vehicles only.
3 years ago
Jonathan G Rennison
2959221066
Debug: Add support for showing extended variables in object debug window
3 years ago
translators
a83cd9b4f5
Update: Translations from eints
...
turkish: 1 change by AlphenLLC
3 years ago
Jonathan G Rennison
bd4cfcee69
Fix d4f11eca: Missing break in switch
3 years ago
Jonathan G Rennison
4fde8d13a7
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_cmds.cpp
# src/lang/belarusian.txt
3 years ago
Jonathan G Rennison
d4f11eca42
Add NewGRF object properties to set viewport map mode/smallmap tile type
3 years ago
translators
83b6defbfb
Update: Translations from eints
...
korean: 1 change by telk5093
turkish: 5 changes by AlphenLLC
3 years ago
Jonathan G Rennison
1d885c462f
Fix incorrect string parameters for dispatch schedule assigned to depot
...
See: #368
3 years ago
Jonathan G Rennison
acaf20120f
Fix text colour in scheduled dispatch management dropdown items
...
See: #369
3 years ago
Jonathan G Rennison
b68226aa07
Add colour flags field to DropDownListStringItem
3 years ago
Jonathan G Rennison
929ee23b34
Fix SetColourRemap when using TC_FORCED | TC_BLACK
3 years ago
Jonathan G Rennison
d0d7d97691
Use static extended feature versions for SlIsObjectCurrentlyValid
3 years ago
Jonathan G Rennison
fd3ea0dcd5
Fix upstream savegame loader not initialising non-upstream settings
...
See: #367
3 years ago
Jonathan G Rennison
dacdb1137a
Add extended feature array with static current version values
3 years ago
Jonathan G Rennison
bffff8e357
Add feature array as parameter to SlXvIsFeaturePresent methods
3 years ago
Jonathan G Rennison
3353546966
Adjust linkgraph.aircraft_link_scale feature test
3 years ago
Jonathan G Rennison
29cd07d1c0
Fix aircraft link scale when loading previous savegame versions
...
See: #367
3 years ago
Tyler Trahan
7f0efbe00e
Feature: Remember the last-used signal between games ( #9792 )
3 years ago
Dave Shifflett
25ae42ae8a
Feature: Add/extend console commands to enable screenshot automation ( #9771 )
...
* Add: `zoomto` console command for main viewport
Similar in spirit to `scrollto`, `zoomto` takes an absolute zoom level
from the user and sets the main viewport to that level while respecting
both the absolute minimum and maximum zoom levels supported by the game
and any limitations imposed by the local client settings.
* Add: optional `instant` flag for `scrollto` command
Using this flag has two effects:
- if the user has smooth scrolling enabled, the scroll action will take
place as if it were not enabled
- the viewport is redrawn immediately, so any successive `screenshot`
command will actually work correctly
The original positional arguments are processed like same before.
3 years ago
glx22
b6c5f49379
Change: add a timestamp in name of crash files
3 years ago
J0anJosep
d9a37c915f
Cleanup #9725 : Replace cmd_helper related functions and remove cmd_helper.h.
3 years ago
translators
09b71c97aa
Update: Translations from eints
...
belarusian: 35 changes by KorneySan
3 years ago
Jonathan G Rennison
fedc0889ac
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/korean.txt
# src/lang/thai.txt
3 years ago
translators
b59acc7e2c
Update: Translations from eints
...
thai: 122 changes by phetoffux
3 years ago
TELK
1c7263a736
Update: Korean translation up to a7bcb7e
3 years ago
translators
4ad6b1e58d
Update: Translations from eints
...
thai: 8 changes by phetoffux
3 years ago
Jonathan G Rennison
a7bcb7e62d
Implement ottd_rdtsc for AARCH64 on GCC/clang
3 years ago
Jonathan G Rennison
ed80a39b30
MacOSX: Mark CrashLogOSX::context as maybe_unused
3 years ago
Jonathan G Rennison
ceb4f7fb82
Fix #365 : Unused function warning on Mac OSX
3 years ago
Jonathan G Rennison
47f219d66d
Settings GUI: Label sprite_zoom_min as should be left at default
3 years ago
Jonathan G Rennison
e5c99b3601
Settings GUI: Add flag to mark a setting as should be left at default
3 years ago
Jonathan G Rennison
0a7a7ebcf0
Add build vehicle window sort mode: cargo capacity / running cost
3 years ago
translators
30da75941b
Update: Translations from eints
...
swedish: 15 changes by joeax910
slovak: 5 changes by FuryPapaya
thai: 15 changes by phetoffux
3 years ago
Jonathan G Rennison
5a6a2400a5
Merge branch 'pr-364' into jgrpp
3 years ago
TELK
680344719b
Fix: Korean translation
3 years ago
Jonathan G Rennison
6ccf020dc2
Fix #9802 : Assertion failure in BuildRailWaypointWindow constructor
3 years ago
translators
61abfc9050
Update: Translations from eints
...
korean: 2 changes by telk5093
slovak: 14 changes by FuryPapaya
thai: 107 changes by phetoffux
3 years ago
Jonathan G Rennison
ab823ad808
Fix b0f9cc38: Assertion failure still occurs via different path
3 years ago
Jonathan G Rennison
b0f9cc389f
Fix assertion failure in BuildRailWaypointWindow constructor
3 years ago
Jonathan G Rennison
70a65ac1c0
Road waypoints no longer block road inferred one-way state interpolation
3 years ago
Jonathan G Rennison
ad9c85ad3c
Fix crash when changing one-way state of road waypoints
3 years ago
Jonathan G Rennison
b74de5ff2b
Fix crash in road vehicle overtaking checks with road waypoints
3 years ago
Jonathan G Rennison
786f80e878
Fix removal of road waypoints during bankruptcy
3 years ago
TELK
6d9921ef72
Update: Korean translation up to 0.46-rc1
3 years ago
Jonathan G Rennison
f5ef81f5ac
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/lang/italian.txt
# src/lang/tamil.txt
3 years ago
Jonathan G Rennison
a03453da49
Add properties to set lighthouse and transmitter generation amounts
3 years ago
Jonathan G Rennison
eeef6c485a
Initial implementation of NewGRF feature ID mapping
3 years ago
Jonathan G Rennison
ef3916928c
Initial abstraction around NewGRF feature ID bytes
3 years ago
Jonathan G Rennison
c69ed1711d
Allow road vehicle go to station/waypoint orders to have a direction
3 years ago
Jonathan G Rennison
afccf04188
Report road waypoint tiles as road to GRFs
3 years ago
Jonathan G Rennison
c3c55db02b
Implement road ground types for road waypoints
3 years ago
Jonathan G Rennison
7ff885fc96
Add replacement sprites for road waypoint buildings
...
Add action 5 sprite replacement support
3 years ago
Jonathan G Rennison
b4fc0b4dc5
Initial implementation of road waypoints
3 years ago
Jonathan G Rennison
ace75f6864
Widen station type field in map array
3 years ago
Jonathan G Rennison
fcc581fba9
Add static assert that number of commands does not exceed limit
3 years ago
Jonathan G Rennison
812933ffd4
Debug: Show names of remapped action 2 variables in sprite group dumper
3 years ago
Jonathan G Rennison
eddc6ddcdb
Debug: Add sprite dumping to house inspect window
3 years ago
Jonathan G Rennison
08b6540c84
Fix wrong error message building bridge over obstructing station
...
When some bridge types are too long for the requested span
3 years ago
Jonathan G Rennison
bb848331b6
Fix narrowing conversion warning
3 years ago
Jonathan G Rennison
afa75ded1c
Zoning: Fix unserved industry mode with passenger-handling industries
3 years ago
Jonathan G Rennison
acc9dffab7
Add object mapped variables for slope after foundation applied
3 years ago
Jonathan G Rennison
33dc6c9688
Add NewGRF VarAction2 variable remapping infrastructure
3 years ago
Jonathan G Rennison
e56fee612c
Zoning: Fix unserved industries mode with partially overlapping catchment
3 years ago
Jonathan G Rennison
96d789dfbf
Fix window preference save/load of build vehicle windows
3 years ago
Jonathan G Rennison
2e7f8d2e1e
Add inclined foundation option to object edge foundation mode
...
Bump feature version
3 years ago
Jonathan G Rennison
e7c12f2ad4
Fix terraforming not resetting ground type for use land ground objects
3 years ago
translators
9e47df298f
Update: Translations from eints
...
italian: 61 changes by denialmac
3 years ago
Andy
b8a8891a86
Add: [Script] IndustryType::ResolveNewGRFID to resolve industry id from grfid and grf_local_id
3 years ago
Andy
26ac0c48f0
Add: [Script] ObjectType::ResolveNewGRFID to resolve object id from grfid and grf_local_id
3 years ago
Jonathan G Rennison
d69657846c
Add Action 5 remappable type for misc GUI sprites
3 years ago
Jonathan G Rennison
d81cbc25b8
Add setting to allow hiding viewport labels of inidivudal waypoints
3 years ago
Jonathan G Rennison
c65901fef2
Add a baseset GRF for misc GUI sprites
3 years ago
translators
f6775a2d55
Update: Translations from eints
...
irish: 2 changes by temuchie
3 years ago
Jonathan G Rennison
8ffe519179
Debug: Fix title of waypoint inspector window
3 years ago
Jonathan G Rennison
26fb0940c6
Add client setting for whether to sync locale settings with server in multiplayer
3 years ago
TELK
f0da66961a
Update: Korean translation for conditional orders
3 years ago
Jonathan G Rennison
7015c92680
Check station coverage highlight in ZoningMarkDirtyStationCoverageArea
3 years ago
Tyler Trahan
bec218069c
Feature: Remember the last-used signal between games
...
(cherry picked from commit a9de36ad23f30d125ed495f0bd84342b594d19df)
See: https://github.com/OpenTTD/OpenTTD/pull/9792
3 years ago
Jonathan G Rennison
e5110bd7f6
Handle service at depot orders in cond order loops
3 years ago
Jonathan G Rennison
e7abf9efb1
Remove unnecessary recursion in GetNextRealStation
3 years ago
Jonathan G Rennison
beb6d01fe8
Improve handling of conditional order waiting loops
...
Do not leave station/depot/waypoint at all if conditional order
loop would result in re-starting waiting/loading
Only actually leave and update timetable at end of loop
Rate-limit loop checks regardless of timetabled wait time
3 years ago
Jonathan G Rennison
904ff6757d
Add slot support to road vehicles, ships and aircraft
3 years ago
Jonathan G Rennison
0513961b2a
Duplicate STR_SMALLMAP_LEGENDA_... veh type strings with format codes removed
3 years ago
Jonathan G Rennison
ce61f6439c
Allow non-train vehicles to test counter values in conditional orders
3 years ago
Jonathan G Rennison
7d86909a90
Ensure that sprite data is cleared when loading over an existing sprite
...
Fixes crash when looking at recolour sprite in sprite viewer window
which has been overriden by a non-recolour sprite by a faulty GRF
3 years ago
Jonathan G Rennison
1a4b0d6ecf
Prevent NewGRFs from using Action A to replace internal sprites
3 years ago
Jonathan G Rennison
027a792cbd
Crash log: On OSX allocate crash log buffer using mmap if possible
...
Otherwise use conservatively sized stack buffer
3 years ago
Jonathan G Rennison
79db533abb
Fix nullptr deref evaluating train in slot conditional order with no slot
...
See: #360
3 years ago
translators
5239018878
Update: Translations from eints
...
tamil: 24 changes by Aswn
3 years ago
Jonathan G Rennison
6197baee9c
Fix unused function warning on OSX
3 years ago
Jonathan G Rennison
29126619a3
Disable OSX touchbar support, fixes #358
3 years ago
translators
15c9191568
Update: Translations from eints
...
tamil: 19 changes by Aswn
3 years ago
Jonathan G Rennison
dd5438fe75
Merge branch 'multi-sd' into jgrpp
3 years ago
Jonathan G Rennison
c40f4e0abc
Handle predictable conditional orders in departure boards
3 years ago
Jonathan G Rennison
b23d394f0b
Handle predictable conditional orders in timetable window
3 years ago
Jonathan G Rennison
91ed26415e
Fix manual setting of conditional order jump taken travel times
3 years ago
Jonathan G Rennison
1ac6326306
Departure boards: Fix departure slot cache with multiple schedules
3 years ago
Jonathan G Rennison
543433218c
Ensure that timetable and scheduled dispatch windows redrawn as required
...
Reduce inefficient window and shared order list iteration
3 years ago
Jonathan G Rennison
fe522f193b
Show confirmation window before clearing/removing dispatch schedule
3 years ago
Jonathan G Rennison
21ef4902c6
Show predicted scheduled dispatch arr/dep times in timetable window
3 years ago
Jonathan G Rennison
8754e1c5d0
Show scheduled dispatch marker in yellow in timetable window
3 years ago
Jonathan G Rennison
8b2a6248e7
List static NewGRFs in crash logs
3 years ago
translators
8ac3f9a6e1
Update: Translations from eints
...
vietnamese: 28 changes by chupper100
3 years ago
Jonathan G Rennison
3892a1e201
Log client ID/name in server desync logs
3 years ago
Jonathan G Rennison
65cb4ccedf
Limit number of warnings whon in timetable window
3 years ago
Jonathan G Rennison
4f7f8c5b63
Show which order schedule assigned to in scheduled dispatch window
3 years ago
Jonathan G Rennison
ff3473fe6a
Add support for multiple scheduled dispatch schedules per order list
3 years ago
Jonathan G Rennison
29521ef883
Fix SB function when using sizes greater than 32 bits
3 years ago
Jonathan G Rennison
9e1a78c86e
Clear order wait times when changing to a non-stopping order
3 years ago
Jonathan G Rennison
dd312ef9a4
Remove asserts on input from CmdChangeTimetable
3 years ago
Jonathan G Rennison
644bd0a325
Fix input/display of speeds in tracerestrict window in tiles/day mode
3 years ago
Jonathan G Rennison
a64a6aeeb8
Fix text input of velocity setting values
...
See: #357
3 years ago
Jonathan G Rennison
eab98e4808
Industry::this_month_production should saturate instead of overflowing
3 years ago
Jonathan G Rennison
a4ea155d33
Merge PR #357 into jgrpp
3 years ago
Jonathan G Rennison
309f5974e8
Merge PR #353 into jgrpp
3 years ago
Jonathan G Rennison
b2c6c3b07a
Merge branch 'master' into jgrpp
...
# Conflicts:
# media/baseset/CMakeLists.txt
# src/lang/croatian.txt
3 years ago
Jonathan G Rennison
579c71dd44
Script: Add ScriptRoad methods related to road types
3 years ago
Jonathan G Rennison
dfc6e309d0
Fix ground/tree tile vegetation changes not updating map mode viewports
...
(In vegetation mode)
3 years ago
translators
93e8d4871d
Update: Translations from eints
...
croatian: 67 changes by srekoslav
3 years ago
Yourself
7823c81597
Add: Through load speed limit setting
3 years ago
Jonathan G Rennison
d56f7e7060
Fix wrong signal aspects when track built up to rear of tunnel/bridge entrance
3 years ago
translators
ad54d08abd
Update: Translations from eints
...
croatian: 6 changes by srekoslav
thai: 2 changes by sanotti
3 years ago
Jonathan G Rennison
b9db85048f
Merge pull request #354 from internet-trains/screenshot-numbering
...
Change: Automatic screenshot numbering
3 years ago
Jonathan G Rennison
985c6ad7db
Merge PR #356 into jgrpp
3 years ago
Jonathan G Rennison
f54e19083e
Fix crash which could occur when removing invalidated link graph flow.
3 years ago
Yourself
aa7413a89f
Fix: Require non-zero capacity for refit cargo type
3 years ago
translators
32a4212ef1
Update: Translations from eints
...
norwegian (bokmal): 2 changes by tmn
3 years ago
Larry Fenn
33ae34f25d
Change: Automatic screenshot numbering
...
Invoking the `screenshot` console command with a filename ending in %d
will cause it to be numbered automatically.
3 years ago
TELK
fc8ab829f6
Update: Korean translation up to 0.45.0
3 years ago
Jonathan G Rennison
0ffa1b1db6
Scale cargo movement cap in TransportIndustryGoods by industry cargo factor
3 years ago
translators
8032423bf1
Update: Translations from eints
...
romanian: 18 changes by Gisterecis
3 years ago
Joan Josep
54ce5b28a4
Codechange: Make RoadScopeResolver constructor inlineable ( #9780 )
3 years ago
Loïc Guilloux
d62c5667cf
Fix #9766 : Don't write uninitialised data in config file ( #9767 )
3 years ago
Jonathan G Rennison
2f8e63e954
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/gfx.cpp
# src/lang/traditional_chinese.txt
# src/station_cmd.cpp
3 years ago
Jonathan G Rennison
ba824f08c3
Fix re-routing of unrelated cargo when removing invalidated link graph flow
3 years ago
Jonathan G Rennison
de41a54f94
Departure boards: Fix excessive window width when using GUI zoom
3 years ago
Jonathan G Rennison
55b7e2178a
Departure boards: Fix vehicle name column width with group vehicle names
3 years ago
Jonathan G Rennison
dd160a4e74
Support cond order to continue loading at station without moving for ships
3 years ago
Jonathan G Rennison
e92b1004cc
Merge PR #352 into jgrpp
3 years ago
Jonathan G Rennison
7e313d120c
Fix narrowing conversion warnings
3 years ago
Jonathan G Rennison
51a37ecf2a
Monocypher: Fix narrowing conversion warning
3 years ago
Jonathan G Rennison
ab17deae3a
Random bytes: Fix minor compilation warnings
3 years ago
Yourself
65b90f966b
Fix: station raiting tooltip showed incorrect time
3 years ago
Jonathan G Rennison
a14df8dfe2
Merge PR #351 into jgrpp
3 years ago
Yourself
e4fa9f8465
Add: Cargo delivery distribution modes
3 years ago
Jonathan G Rennison
30817c3915
Fix VRF_BEYOND_PLATFORM_END not being cleared when switching order
3 years ago
Jonathan G Rennison
e993afcd99
Store encrypted company password hashes in server saves
...
Restore when loading back into the server if server has required secret
3 years ago
Jonathan G Rennison
1f50106466
Saveload: Add functions to save/load to arbitrary buffers
3 years ago
Jonathan G Rennison
87f0c20bc0
Add setting flag to run string setting change callbacks on config load
3 years ago
Jonathan G Rennison
26eca815d3
Add separate network salt string for company passwords
3 years ago
Jonathan G Rennison
00cfb00537
Fix auto-generated network.network_id setting value not being saved in config
3 years ago
Jonathan G Rennison
eb22b49758
Add randombytes lib to src/3rdparty
3 years ago
Jonathan G Rennison
91f6c6941a
Add monocypher lib to src/3rdparty
3 years ago
Jonathan G Rennison
89181ea9fd
Add setting to increase cost/distance of aircraft linkgraph links
3 years ago
Jonathan G Rennison
ba97d0a827
Allow building waypoints with spec IDs >= 256
...
See: #349
3 years ago
Michael Lutz
57b992717b
Codechange: Extend DrawSpriteToRgbaBuffer to work with 8bpp blitters.
3 years ago
Michael Lutz
69c8ed9965
Codechange: [OSX] Simplify touchbar button data definition.
3 years ago
Michael Lutz
b351cbe490
Fix #9743 : [OSX] Only (re-)create touchbar sprites when requested by the main loop.
3 years ago
Michael Lutz
f40e82a19d
Fix #9743 : [OSX] Don't try to render touchbar sprites with invalid zoom level.
3 years ago
Michael Lutz
80fc5fb46c
Change: [OSX] Allow touchbar usage on all supported OS versions.
...
Touchbar support was introduced in 10.12.2. There's no need to limit
support to 10.15+, as the convenience class NSButtonTouchBarItem is
easily replicated.
3 years ago
Jonathan G Rennison
ee7fbfc410
Merge pull request #350 into jgrpp
3 years ago
Jonathan G Rennison
f658d9f1fc
Fix rail drag remove removing track even with an unremovable signal
...
This occurred when a removing a signal was blocked due to realistic
braking moving train restrictions.
This resulted in incorrect signal infrastructure totals and MP desyncs.
3 years ago
Yourself
3f391a74af
fix: error when removing tunnelbridge signal w/ tracerestruct
3 years ago
Jonathan G Rennison
4844268d1c
Fix #9774 : CmdBuildRoadStop updated station acceptance in estimate mode
3 years ago
Jonathan G Rennison
42b223a288
Fix CmdBuildRoadStop updating station acceptance in estimate mode
3 years ago
translators
21f85cac87
Update: Translations from eints
...
chinese (traditional): 25 changes by Tetrapod1206
italian: 12 changes by federico1564S
3 years ago
translators
3ed7910cfe
Update: Translations from eints
...
portuguese (brazilian): 2 changes by Vimerum
3 years ago
Yourself
3caef277c8
fix: Give money message showed incorrect value
3 years ago
Jonathan G Rennison
f65a166308
Add client setting to show all signals using the default sprites
3 years ago
Jonathan G Rennison
621677343f
Fix wrong sprite count for duplicated prog signal sprites
3 years ago
Jonathan G Rennison
f40191b3c0
Add hysteresis to depot search max penalty in missing depot order mode
...
See: #345
3 years ago
Jonathan G Rennison
2c7ec68b76
Enable news warning for missing depot order in order list by default
3 years ago
Jonathan G Rennison
4871071dcb
Show vehicle destination when mousing over vehicle breakdown in status bar
3 years ago
glx22
3069f805e2
Fix #9766 : Don't write uninitialised data in config file
...
(cherry picked from commit 50304f7164d5c88a42dcc1d09648c3ec8b2faab5)
Fixes : #344
3 years ago
Jonathan G Rennison
dda4167edc
Change debug level of network received packet logging
3 years ago
translators
a97bce51c2
Update: Translations from eints
...
czech: 6 changes by vladoschreiner
hungarian: 5 changes by pnpBrumi
3 years ago
translators
afb817fe19
Update: Translations from eints
...
norwegian (bokmal): 4 changes by Anolitt
3 years ago
Michael Lutz
b11bd185e3
Fix #9756 : Network command unpack proc was not generated in all cases.
...
The case where the callback proc takes all command results but not any of
the command parameters was not handled properly.
3 years ago
Tyler Trahan
9c18236f2c
Fix: Suppress vehicle age warnings for stopped vehicles
3 years ago
Michael Lutz
e67124e174
Change: [Admin] Bump admin port protocol due to command changes.
...
docs/admin_network.md promised that information in an admin packet
is never removed. It does allow the possibility of using a new packet type
for changed data in combination with a bump of the admin port version.
As the recent command handling changes modified the contents of
ADMIN_PACKET_SERVER_CMD_LOGGING, do exactly that.
3 years ago
Michael Lutz
3fede15940
Codechange: [Script] Prettify squirrel call helpers by using C++17.
3 years ago
Jonathan G Rennison
e08a6e2014
Fix #9735 : Fix OrderBackup::Reset in non-GUI case
3 years ago
Joan Josep
e890e7db76
Cleanup #9725 : Clean up Doxygen docs and fix typo. ( #9753 )
3 years ago
Jonathan G Rennison
66ce6c5090
Scheduled dispatch: Add clear schedule GUI function
...
Add management dropdown box to window
3 years ago
Jonathan G Rennison
7b0c083c11
Debug: Add vehicle cargo type, refit mask and age period to debug window
3 years ago
Michael Lutz
afc3d71fd0
Codechange: Don't generate CommandPacket unpack functions for invalid cmd/callback combinations.
...
If the arguments of the callback proc don't match with the command parameters,
we can't do the proper command execution anyway. As such, don't even generate
an unpack function in the first place, saving a bit of unnecessary code bloat.
Validate on receive that the cmd/callback combination is supported, rejecting
clients that try to send invalid values.
3 years ago
Michael Lutz
c521b965bd
Codechange: Don't use a global for the terrforming error tile.
3 years ago
Michael Lutz
2e39637db2
Codechange: Don't use a global for the 'not enough cash' message.
3 years ago
Michael Lutz
41fa16f325
Codechange: Don't use globals for return values from vehicle command procs.
3 years ago
Michael Lutz
57b82e2e99
Codechange: Don't use globals for story/goal/sign/group command proc return values.
3 years ago
Michael Lutz
3e85e833a7
Codechange: Add support for additional command result values.
3 years ago
Michael Lutz
8503854655
Codechange: Pass unpacked command arguments to command callbacks (except Script).
3 years ago
Michael Lutz
d85348b1d1
Codechange: Template the command callback function type to allow unpacked arguments.
3 years ago
Michael Lutz
13528bfcd0
Codechange: Un-bitstuff all remaining commands.
3 years ago
Michael Lutz
58cff7b081
Codechange: Un-bitstuff the remaining on-map commands.
3 years ago
Michael Lutz
c6d7b98808
Codechange: Un-bitstuff landscape commands.
3 years ago
Michael Lutz
e6e69d5289
Codechange: Un-bitstuff goal and story page commands.
3 years ago
Michael Lutz
1a42a8a5d5
Codechange: Un-bitstuff town-related commands.
3 years ago
Michael Lutz
e08b3abe7f
Codechange: Un-bitstuff group and autoreplace commands.
3 years ago
Michael Lutz
46bd2f1ced
Codechange: Un-bitstuff remaining transport infrastructure commands.
3 years ago
Michael Lutz
55170ae703
Codechange: Un-bitstuff rail commands.
3 years ago
Michael Lutz
6fe445e6c0
Codechange: Un-bitstuff station/depot/waypoint commands.
3 years ago
Michael Lutz
21675ec7e2
Codechange: Un-bitstuff vehicle/engine commands.
3 years ago
Michael Lutz
2637c06f88
Codechange: Un-bitstuff timetable commands.
3 years ago
Michael Lutz
211c630cbe
Codechange: Un-bitstuff order commands.
3 years ago
Michael Lutz
de45a8729c
Codechange: Add DoCommand::Post specialization for commands that take no TileIndex.
...
This adds a new Post overloads that still take a TileIndex which
is used to place any error windows or text effects.
3 years ago
Michael Lutz
4f3ea3907e
Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).
3 years ago