Commit Graph

53494 Commits

Author SHA1 Message Date
Jonathan G Rennison
48d0a0e15c Fix #413: Truncation of expense type names in finance windows 2022-09-02 21:42:53 +01:00
Jonathan G Rennison
3d857333c8 Reduce delays with company bankrupcty/sale processing at high day lengths 2022-09-02 18:14:35 +01:00
Jonathan G Rennison
23fa7cd239 Improve handling of company sales
Avoid conflicts between bankruptcy and manual company sale paths
2022-09-02 18:13:47 +01:00
Jonathan G Rennison
142a5a95ec Merge branch 'master' into jgrpp
# Conflicts:
#	.github/workflows/release.yml
#	src/goal_cmd.h
#	src/industry_cmd.cpp
2022-09-01 17:47:30 +01:00
dP
c839950791
Cleanup: Remove duplicate command_type.h include (#9986) 2022-09-01 18:15:07 +02:00
frosch
9529703cab
Codechange: When checking industry placement conditions, perform cheap checks first. (#9987)
1. Built-in checks on industry level.
2. Built-in checks on industry tiles.
3. NewGRF-defined checks on industry level.
4. NewGRF-defined checks on industry tiles.
2022-09-01 18:13:43 +02:00
Aaron Katzin
2fe8a257ac
Add: [Actions] Ubuntu Jammy Jellyfish (22.04) build for releases (#9881) 2022-08-31 16:11:34 +02:00
Loïc Guilloux
31668b8f94
Fix #9914, 86818e5: prevent more useless pathfinder run for blocked vehicles (#9917) 2022-08-31 12:52:13 +02:00
Jonathan G Rennison
dc5e073379 Merge branch 'master' into jgrpp 2022-08-30 19:39:22 +01:00
Tyler Trahan
788b06fe0f
Change: New player companies use favorite manager face, if saved (#9895) 2022-08-30 16:26:02 +02:00
Joel-Milligan
3937953f72
Fix #9363: Rebuild client list on reinit event (#9929) 2022-08-30 14:56:19 +02:00
dP
ca23e8abcf Add step console command to advance n ticks
Cherry-picked from https://github.com/citymania-org/cmclient
Commit: 5ce2d21223a96934a83b8da43434c7a81f001ef0
2022-08-29 18:17:35 +01:00
Jonathan G Rennison
50965bbce7 Add road stops flag to disable auto road connections
Bump road stops version
2022-08-28 23:53:26 +01:00
Jonathan G Rennison
2a41854f6b VarAction2: Infer ternary add result is bool if both branches are bool 2022-08-28 11:35:16 +01:00
Jonathan G Rennison
8c94ba0dc8 VarAction2: Infer that multiplying two bools results in bool 2022-08-28 11:27:54 +01:00
Jonathan G Rennison
7c78b22c48 Show failure reason in message box when network savegame load fails
See: #412
2022-08-27 22:34:28 +01:00
Jonathan G Rennison
edd8b29794 Don't trigger signal state/style desync message in GM_MENU mode
This occurs when loading a network savegame fails and the menu
game is reloaded
2022-08-27 21:59:40 +01:00
Niels Martin Hansen
5a0dd7e322 Fix #9971: Don't assert that time moves forward 2022-08-27 22:59:36 +02:00
Jonathan G Rennison
22a1fdff5e Log error message to console in LoadWithFilter exception handler
See: #412
2022-08-27 21:55:14 +01:00
Niels Martin Hansen
4253db28fa Fix #9972: Add some missing fill/resize flags on Framerate window widgets 2022-08-27 22:20:01 +02:00
translators
db378e746b Update: Translations from eints
korean: 2 changes by telk5093
2022-08-27 18:56:07 +00:00
Jonathan G Rennison
1d08572cfa Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/english_AU.txt
#	src/openttd.cpp
#	src/viewport_sprite_sorter_sse4.cpp
2022-08-27 15:50:50 +01:00
Niels Martin Hansen
e6aab701c9 Fix #9977: Use a deque rather than linked list for console buffer 2022-08-27 16:03:41 +02:00
Niels Martin Hansen
aaab0610eb Fix: Only apply debuglevel changes after successful parse 2022-08-27 09:17:09 +02:00
Niels Martin Hansen
c6953f13e4 Fix #9940: Print debuglevel parse errors to console when changed from console 2022-08-27 09:17:09 +02:00
translators
dcdc8d187c Update: Translations from eints
dutch: 1 change by Bouke
2022-08-26 18:58:27 +00:00
frosch
acf9d786f1
Fix: [NewGRF] Default value of RailVehicleInfo::railveh_type was inconsistent with other default properties. (#9967)
If a NewGRF assigned neither "power" nor "dual-headed" properties,
then "railveh_type" defaulted to "singlehead-engine", while "power=0" said "it's a wagon".
2022-08-26 20:50:33 +02:00
glx22
bba6ad1f4e Fix #9935: Use more selectivity when building SSE specific code 2022-08-26 19:36:18 +02:00
translators
e9507e7ffa Update: Translations from eints
latvian: 31 changes by lexuslatvia
2022-08-25 18:57:10 +00:00
Jonathan G Rennison
602ac717aa Initial support for DSE and jumping over procedures with child groups 2022-08-25 00:22:41 +01:00
translators
04911822c1 Update: Translations from eints
indonesian: 1 change by K4smun1
2022-08-24 19:01:19 +00:00
Jonathan G Rennison
916441d943 VarAction2: Avoid turning skip on zero/LSB set sequences into jumps 2022-08-24 00:58:08 +01:00
Jonathan G Rennison
0bec49fa56 Skip sound effects handling earlier if effects volume is 0 2022-08-23 20:36:22 +01:00
Jonathan G Rennison
4fd8634ff9 VarAction2: Remove trivially redundant special stores 2022-08-23 18:37:28 +01:00
glx22
e3968cdf65 Fix #9974, aa5a8fe: strftime buffer maxsize is off by one
strftime() return value doesn't count NULL character, but buffer size must include it.
2022-08-23 17:53:59 +02:00
Jonathan G Rennison
d9aa2d6138 VarAction2: Extend group cast to bool range elision
Handle opposite arrangement of range and default group
2022-08-22 21:52:15 +01:00
Jonathan G Rennison
df6b9d355f VarAction2: Simplify store, load with bool/invert, ternary sequence in DSE 2022-08-22 21:45:21 +01:00
translators
882b8f45d9 Update: Translations from eints
hungarian: 31 changes by andrejmoltok
romanian: 27 changes by andrejmoltok
2022-08-22 18:57:23 +00:00
Jonathan G Rennison
173f867e1a VarAction2: Save calculated_result in shadow group struct 2022-08-22 00:13:23 +01:00
Jonathan G Rennison
14de8c7f34 VarAction2: Add quick exit case to last-level callback groups if possible 2022-08-22 00:13:23 +01:00
Jonathan G Rennison
35063b2176 VarAction2: Ensure group pruning can't break var 1C via random groups 2022-08-22 00:13:23 +01:00
Jonathan G Rennison
3676b0912d VarAction2: Fix inference handling when pruning ops prior to RST 2022-08-22 00:13:23 +01:00
Jonathan G Rennison
c60e3fed99 VarAction2: Do not re-assign error group
When pruning ranges of group with constant result
2022-08-22 00:13:23 +01:00
Jonathan G Rennison
0bcdaba0f9 VarAction2: Add constructor for AnalyseCallbackOperation 2022-08-22 00:13:23 +01:00
Jonathan G Rennison
a0c894d067 Debug: Add a visual indicator in indent for var 0x7E procedure calls 2022-08-22 00:13:23 +01:00
translators
417f9bb48d Update: Translations from eints
french: 1 change by glx22
hindi: 18 changes by baijuch
2022-08-21 18:53:43 +00:00
Jonathan G Rennison
680e074a5f Debug: Fix sprite dumping of top level default group 2022-08-21 15:24:16 +01:00
Jonathan G Rennison
8688840e24 Viewport route step markers are now variable size to match font/text
See: #410
2022-08-20 11:33:04 +01:00
Jonathan G Rennison
8c0eca28a8 Recalculated route step sprite sizes when changing zoom levels 2022-08-20 10:03:42 +01:00
translators
88a046a76e Update: Translations from eints
korean: 7 changes by telk5093
2022-08-19 19:00:39 +00:00