kiwitreekor
8d62a8f0f0
Add: Station variable 6B to get extended station id of nearby tiles ( #10953 )
2024-02-03 11:17:49 +01:00
Patric Stout
849fd5ae03
Change: [Script] replace easy/medium/hard values with default value ( #11959 )
2024-02-03 09:15:03 +00:00
Loïc Guilloux
27a920c4a8
Change: Allow to configure AI slots above max_no_competitors ( #11961 )
2024-02-03 09:42:16 +01:00
Patric Stout
fe4494ec11
Change: only open story-book in center when a GS does it ( #11916 )
2024-02-03 08:09:55 +01:00
Patric Stout
59a046de9c
Fix: don't use non-owning string pointer in StringParameter ( #11952 )
...
The string pointer can become invalid before the reference is
dropped, causing out-of-bound access in windows like ErrorWindow,
or News that copy 10 or 20 parameters for their internals.
Co-authored-by: Jonathan G Rennison <j.g.rennison@gmail.com >
2024-02-02 23:01:54 +01:00
frosch
b1718478c8
Codechange: Replace old non-standard attributes with C++17/20 standard attributes.
2024-02-02 22:29:28 +01:00
frosch
8a4f0c4b02
Codechange: Simplify error throwing/catching in squirrel compiler.
2024-02-02 22:29:28 +01:00
Jonathan G Rennison
66e57e6b2d
Crashlog: Handle image relocation in MinGW BFD symbol lookup
2024-02-02 21:11:22 +00:00
Jonathan G Rennison
d00424008f
Crashlog: Adjust Linux stacktrace format when using BFD
2024-02-02 21:11:22 +00:00
Jonathan G Rennison
a4c14171a7
Crashlog: Re-use BFD instances for the same object
2024-02-02 21:11:22 +00:00
Tyler Trahan
f2db624e85
Change: Add dividers between signal groups ( #11897 )
2024-02-02 15:52:20 -05:00
Tyler Trahan
6f6f09910d
Fix #10118 : Cycle through current signal group, not just path signals ( #11798 )
2024-02-02 15:51:57 -05:00
Peter Nelson
2e6c6b719f
Change: Link houses production on industry chain graph by TPE_PASSENGERS or TPE_MAIL cargo.
2024-02-02 20:37:49 +00:00
Peter Nelson
03b2640ea1
Change: Passenger subsidies are generated for any TPE_PASSENGER cargo type.
2024-02-02 20:37:49 +00:00
Peter Nelson
6d93fa649c
Change: Towns generate cargo based on town production effect.
...
This replaces the fixed handling of passengers and mail.
2024-02-02 20:37:49 +00:00
Peter Nelson
8d69d0549d
Codechange: Add town production effect type and assign to cargo types.
2024-02-02 20:37:49 +00:00
Peter Nelson
60dcf3b5e2
Codechange: Rename TownEffect to TownAcceptanceEffect.
...
This makes it clearer that TownEffect only affects acceptance behaviour.
2024-02-02 20:37:49 +00:00
translators
782cbe95d6
Update: Translations from eints
...
chinese (simplified): 49 changes by WenSimEHRP
russian: 47 changes by Ln-Wolf
catalan: 71 changes by J0anJosep
dutch: 114 changes by Afoklala
portuguese: 46 changes by azulcosta
portuguese (brazilian): 29 changes by pasantoro
2024-02-02 18:35:20 +00:00
Jonathan G Rennison
fcc6529b6a
Ensure scroll count and engine list size match in build vehicle window
2024-02-02 18:24:53 +00:00
Loïc Guilloux
4e26e33805
Change: Improve ScriptSettings windows ( #11958 )
2024-02-02 18:08:05 +00:00
Loïc Guilloux
0e738dda88
Fix #11948 : [Win32] Convert error messages to utf8 ( #11951 )
2024-02-02 16:30:23 +01:00
Loïc Guilloux
3545decf2d
Cleanup e28edf6945
: [Script] Left over CONFIG_RANDOM reference in documentation ( #11954 )
2024-02-02 14:28:02 +00:00
Loïc Guilloux
a2f31c4e61
Change: Improve AIConfig window ( #11949 )
2024-02-02 14:34:49 +01:00
Jonathan G Rennison
860af4de29
Fix sort by total cargo in build ship window
2024-02-02 01:48:28 +00:00
Jonathan G Rennison
c0b8e58404
Codechange: Simplify SetBitIterator
...
Use FindFirstBit and KillFirstBit, allowing simpler iterator equality
Add simple test
2024-02-01 23:05:57 +01:00
Patric Stout
dce7d5d9b0
Fix #8253 : allow rendering graphs with values over 2**31 / 10 ( #11915 )
2024-02-01 22:53:30 +01:00
Patric Stout
770ca3a624
Fix #8253 : don't use INVALID_DATAPOINT for a valid value ( #11913 )
2024-02-01 22:47:11 +01:00
Jonathan G Rennison
3886ea75a6
Picker tool: Add support for industries
2024-02-01 20:03:56 +00:00
dP
9a2f247de9
Fix: Display rank correcly with more than 15 companies in a league table
2024-02-01 20:17:31 +01:00
Jonathan G Rennison
9f55550417
Multi-cargo ships: Sprite group cargo thresholds refer to entire ship
2024-02-01 18:48:07 +00:00
translators
e1fbaf6f7f
Update: Translations from eints
...
english (au): 5 changes by krysclarke
english (us): 5 changes by 2TallTyler
chinese (simplified): 8 changes by WenSimEHRP
korean: 5 changes by telk5093
russian: 14 changes by Ln-Wolf
latvian: 4 changes by lexuslatvia
portuguese: 11 changes by azulcosta
portuguese (brazilian): 5 changes by pasantoro
2024-02-01 18:36:06 +00:00
Jonathan G Rennison
47393b42dc
VarAction2: Fix procedure calls being incorrectly eliminated
...
In the case where they were only referenced by substitution candidates
2024-02-01 18:17:04 +00:00
Jonathan G Rennison
000ae23eb2
VarAction2: Fix loads of temporary variable 0 not being tracked
2024-02-01 18:13:01 +00:00
Loïc Guilloux
ab1407fc43
Fix: [Script] Apply random deviation only at script start ( #11944 )
2024-02-01 10:48:40 +01:00
Jonathan G Rennison
b49a38bf6c
Fix build and refit with multi-cargo ships only refitting first part
2024-02-01 02:34:49 +00:00
Patric Stout
e28edf6945
Remove: [Script] CONFIG_RANDOM from AddSetting flags ( #11942 )
...
It had a very weird interaction, and was only ever used by a single
AI.
2024-01-31 22:24:36 +00:00
Jonathan G Rennison
a5a315b55d
Fix inconsistent order of ship running cost and capacity
2024-01-31 20:30:20 +00:00
merni-ns
ccaa383e85
Fix #11938 : Check infinite money setting in cases where it was missed ( #11939 )
2024-01-31 20:11:48 +01:00
Patric Stout
363e251a10
Change: make -dnet=9 give traces of the details of the network protocol ( #11931 )
2024-01-31 19:36:41 +01:00
translators
bbae16574a
Update: Translations from eints
...
english (au): 10 changes by krysclarke
english (us): 10 changes by 2TallTyler
vietnamese: 10 changes by KhoiCanDev
chinese (simplified): 62 changes by WenSimEHRP, 4 changes by XiaoJi-Game
korean: 11 changes by telk5093
russian: 5 changes by Ln-Wolf
finnish: 32 changes by hpiirai
portuguese (brazilian): 12 changes by pasantoro
2024-01-31 18:34:42 +00:00
Patric Stout
3e6ed6f44a
Fix #9697 : don't extend the Online Players window too wide on opening ( #11936 )
2024-01-31 19:03:07 +01:00
Patric Stout
232151788d
Fix #9655 : [Emscripten] install the correct files on install ( #11934 )
...
Co-authored-by: Stepan Dyatkovskiy (kaomoneus) <ml@dyatkovskiy.com >
2024-01-30 23:33:21 +00:00
Patric Stout
16c40d0844
Codechange: a wild quote appeared; it is gone now ( #11935 )
2024-01-30 23:21:33 +00:00
frosch
4d2fc28834
Codechange: wrap 'if' in macros into 'do { ... } while (false)', so it does not break on following 'else'.
2024-01-30 23:43:42 +01:00
frosch
e0bd1dd42e
Codechange: replace a macro with a lambda.
2024-01-30 23:43:42 +01:00
Patric Stout
46b1114c67
Change: forcefully enable prefixing logs with date ( #11930 )
...
Additionally, add the log-level to the log message.
2024-01-30 22:02:16 +00:00
Tyler Trahan
41f2eed425
Feature: Settings to scale cargo production of towns and industries ( #10606 )
2024-01-30 15:11:46 -05:00
Jonathan G Rennison
73bcd40776
Fix taking over a company using shares using the wrong news string
...
See: #637
2024-01-30 19:49:46 +00:00
Jonathan G Rennison
38b7c68623
Docs: Unmark road NewGRF road stops as patch feature in landscape docs
2024-01-30 19:28:05 +00:00
Jonathan G Rennison
7d086ae686
Tracerestrict: Only apply wait at PBS for intermediary signals in forward direction
2024-01-30 18:47:48 +00:00