Commit Graph

40491 Commits

Author SHA1 Message Date
Jonathan G Rennison
377fb5ec30 CheckCaches: Check town cache fields individually
Do not compare viewport sign cache
2022-10-15 17:02:30 +01:00
Jonathan G Rennison
4c61d4ce8b Remove global variable for terraforming errors
Add sanity checks on error tile in CcTerraform
2022-10-13 20:52:30 +01:00
Jonathan G Rennison
02cb1dc2c4 CommandCost: Add a tile auxiliary field 2022-10-13 20:52:30 +01:00
Jonathan G Rennison
135dc547e2 Split rarely used CommandCost fields into aux struct via unique_ptr
Move static text ref stack into aux struct
2022-10-13 20:52:30 +01:00
Jonathan G Rennison
38c2fa3b66 Add a change counter value special order type 2022-10-13 20:09:20 +01:00
Jonathan G Rennison
7167175aa5 Simplify strings for tracerestrict change counter action 2022-10-13 19:04:59 +01:00
Jonathan G Rennison
91af0c82d3 Adjust CmdModifyOrder p2 bit allocation 2022-10-12 16:14:59 +01:00
Peter Nelson
3e86f337a8 Change: Simplify graph's company key window. 2022-10-11 08:36:59 +01:00
Peter Nelson
ccb62c3a55 Change: Simplify industry-cargoes widgets. 2022-10-11 08:36:59 +01:00
Peter Nelson
edbf99ed17 Change: Use standard sizing for AI competitor limit buttons. 2022-10-11 08:36:59 +01:00
Peter Nelson
33704269bd Change: Simplify widget layout of settings window. 2022-10-11 08:36:59 +01:00
Peter Nelson
686204ff1c Change: Simplify widget layout of story book window. 2022-10-11 08:36:59 +01:00
Peter Nelson
e8edecf6b1 Change: Adjust layout of file windows to fix overlapping widgets. 2022-10-11 08:36:59 +01:00
Peter Nelson
fc944829e1 Change: Don't use zero-sized plane for World Generation window.
Use of zero-sized plane causes the window size calculation to change
depending on which plane is displayed. Instead use an empty plane so
that largest of the planes is taken into account for sizing.
2022-10-11 08:36:59 +01:00
Jonathan G Rennison
846cd7e228 Add setting to limit length of continuous inclined roads built by towns
Default to max 4 tiles
2022-10-10 18:21:42 +01:00
Jonathan G Rennison
1e4912cf78 Add setting for if/when towns can build tunnels
Default to allowed
2022-10-10 18:21:42 +01:00
Charles Pigott
9059215b3b Fix #10073: Stop truncating output of list_ai and friends commands 2022-10-10 13:42:07 +01:00
Charles Pigott
24f3022ee0 Fix #10074: list_ai console commands and friends were missing help text 2022-10-10 13:42:07 +01:00
Jonathan G Rennison
7e6f7ebba6 VarAction2: Remove umax operations with constant 0 2022-10-08 22:14:54 +01:00
Jonathan G Rennison
419c356f30 VarAction2: Remove mul and div operations with constant 1 2022-10-08 22:14:39 +01:00
Jonathan G Rennison
669b3f2e04 Debug: Add GRF inspect window support for cargoes 2022-10-08 21:53:56 +01:00
Jonathan G Rennison
5cc56a6145 Crashlog: Limit iterations of calls to bfd_find_inliner_info 2022-10-08 19:56:16 +01:00
Jonathan G Rennison
63699e3f24 Timetable window: Add further hints about automation with auto-separate 2022-10-08 19:35:24 +01:00
Jonathan G Rennison
d61fbb977e Add order management dropdown, add duplicate order and move jump target
Add setting to control if order management button shown

Move order list management to order management dropdown if enabled

See: #439
2022-10-08 00:46:22 +01:00
translators
c482f05616 Update: Translations from eints
english (au): 7 changes by krysclarke
2022-10-07 19:02:50 +00:00
Jonathan G Rennison
315bc3482d Fix #435: Clarify time duration of infrastructure sharing fee settings 2022-10-05 21:59:59 +01:00
Jonathan G Rennison
2a806cda21 Debug: Allow highlighting multiple registers 2022-10-05 21:10:49 +01:00
Jonathan G Rennison
094ef834a4 Debug: Add highlight support for perm storage registers 2022-10-05 21:05:56 +01:00
translators
633b903f16 Update: Translations from eints
turkish: 7 changes by kgecmen
2022-10-05 19:06:12 +00:00
Jonathan G Rennison
311b4ebe9d VarAction2: Avoid marking a duplicate store as a clone of itself 2022-10-05 18:13:07 +01:00
Jonathan G Rennison
9e95b3d807 VarAction2: Limit iteration count when substituting variable loads 2022-10-05 17:41:49 +01:00
Jonathan G Rennison
abe49c0b83 Fix release slot order buttons in ship/aircraft orders window
See: #438
2022-10-05 00:10:36 +01:00
Bouke Haarsma
c7f55a058b Fix: link overlay line width on HiDPI displays (#10064) 2022-10-04 11:58:58 +02:00
Peter Nelson
af6c4d50ce Change: Tidy up coverage area label widget layout.
Label is now centered properly and uses standard spacing.
2022-10-03 22:14:18 +01:00
Peter Nelson
8626090b24 Codechange: Draw station acceptance text in its own widget. 2022-10-03 22:14:18 +01:00
Jonathan G Rennison
23b974fb39 Merge branch 'master' into jgrpp
# Conflicts:
#	src/fontcache.cpp
#	src/openttd.cpp
#	src/os/macosx/font_osx.cpp
#	src/os/unix/font_unix.cpp
#	src/os/windows/font_win32.cpp
#	src/strings.cpp
2022-10-03 20:32:26 +01:00
Jonathan G Rennison
0818ce4ae7 Merge branch 'master' into jgrpp (SLV_U64_TICK_COUNTER)
# Conflicts:
#	src/date.cpp
#	src/date_func.h
#	src/newgrf.cpp
#	src/newgrf_animation_base.h
#	src/saveload/gamelog_sl.cpp
#	src/saveload/misc_sl.cpp
#	src/saveload/saveload.h
#	src/stdafx.h
2022-10-03 19:58:31 +01:00
translators
f011a559d0 Update: Translations from eints
latvian: 1 change by lexuslatvia
2022-10-02 18:55:38 +00:00
Woelfi Von Wolfhausen
462d9414d6 Better word order 2022-10-02 18:54:20 +00:00
Woelfi Von Wolfhausen
c6cb89827d Typos
I went through the settings and found some more typos :)
2022-10-02 18:50:42 +00:00
Woelfi Von Wolfhausen
8184ad6427 Make small corrections regarding the orthography
Tippfeler behobne
2022-10-02 18:08:22 +00:00
Jonathan G Rennison
12eb23f0ab Clear old tree counter in map array on load of old savegames
See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
dP
30bc490292 Codechange: Don't store tree counter in the map array
(cherry picked from commit 6c3f351d5a4b0d19a1a265f04f44c70c24c19cd2)

See: https://github.com/OpenTTD/OpenTTD/pull/10018
2022-10-01 23:05:07 +01:00
Jonathan G Rennison
c2ede2af54 VarAction2: Allow inlining trivial procedures 2022-10-01 22:32:00 +01:00
Jonathan G Rennison
9e24414033 In ReloadNewGRFData recompute prices before reiniting windows
Avoid crash if land info window is open during reload
2022-10-01 14:31:26 +01:00
Jonathan G Rennison
60cc8ddf80 Fix road stops SetRoadStopAnimationFrame 2022-10-01 12:31:27 +01:00
Jonathan G Rennison
77f25a48a9 Only show/use appropriate parent or child registers in tile layout group
Do not use both
2022-09-30 20:49:50 +01:00
Jonathan G Rennison
73e5c57e6b Fix 5e413c9d: Last sprite offset in GRF file was not recorded (#10062)
A line was missed when preparing PR #9988, as this had been added
in a commit prior to the one which the PR was immediately based on
2022-09-29 11:56:42 +02:00
Bouke Haarsma
f3fd9b5895 Codechange: typo in code comment (#10061) 2022-09-29 00:12:21 +01:00
translators
d843c8bd48 Update: Translations from eints
italian: 5 changes by Rivarossi
polish: 1 change by pAter-exe
2022-09-27 19:02:05 +00:00