Commit Graph

50817 Commits

Author SHA1 Message Date
Jonathan G Rennison
f83b71828e Partially revert 8e539ce2: Fix train/RV spacing at normal zoom
See: https://github.com/OpenTTD/OpenTTD/pull/9041
2021-04-25 01:07:31 +01:00
Jonathan G Rennison
1e4161ff56 Merge branch 'master' into jgrpp
# Conflicts:
#	src/group_gui.cpp
2021-04-25 00:30:03 +01:00
Jonathan G Rennison
e3193e7b9e Fix #248: Crash in debug window -> parent button for non-GRF industries 2021-04-25 00:12:57 +01:00
Jonathan G Rennison
e6a858c0dc Fix date cheat/scenario load not adjusting vehicle date of last service 2021-04-24 21:55:50 +01:00
Jonathan G Rennison
ff35a783bf Mark whole screen dirty when date cheat used 2021-04-24 21:55:50 +01:00
Jonathan G Rennison
d0ad5c20e9 Fix #246: No error subtitle when no bridge type is available 2021-04-24 18:27:41 +01:00
Jonathan G Rennison
0d262e4d9a Send network client desync log messages to server 2021-04-24 01:15:05 +01:00
Jonathan G Rennison
c14dcdadaf Debug: Log town growth fields in town debug window 2021-04-24 01:05:07 +01:00
Jonathan G Rennison
77c11d148e Refactor desync log msg ring buffer into a struct
Increase message limit
2021-04-24 00:22:42 +01:00
Jonathan G Rennison
51e22617cd Disallow converting town-owned roads to types with the no houses flag 2021-04-21 21:42:52 +01:00
Jonathan G Rennison
e81ba600ba Documentation: Re-organise and rationalise the readme 2021-04-21 17:33:24 +01:00
Jonathan G Rennison
3cbd70dc32 Adjust some GUI strings for scheduled dispatch 2021-04-20 20:24:10 +01:00
Jonathan G Rennison
2855c45c1b Fix #244: Scheduled dispatch buttons not disabled for other companies 2021-04-20 18:42:57 +01:00
Jonathan G Rennison
14636d2512 Check multi-tile ID-translated houses after house ID limit change
(Or when reloading NewGRFs)
If an overriding house type which newly fit in the limit changed the
tile layout, existing houses on the map could have the wrong layout

See: #243
2021-04-19 23:04:54 +01:00
Jonathan G Rennison
6a3e87114a Add a min_version parameter to SlXvIsFeatureMissing 2021-04-19 22:51:28 +01:00
Jonathan G Rennison
1fd620fd1f Debug: Show untranslated house IDs in debug window 2021-04-19 22:47:55 +01:00
Jonathan G Rennison
8d8076040a Avoid std::scoped_lock for MacOS 10.12 compatibility 2021-04-18 20:33:17 +01:00
Jonathan G Rennison
c951dc8b9d Add command log flag for whether random seed changed 2021-04-18 12:35:32 +01:00
Jonathan G Rennison
4733950ccf Fix signed integer overflow in SetMinutesWindow callback
When date * daylength is too large for int32
2021-04-18 11:28:42 +01:00
Jonathan G Rennison
1da8f1a229 Fix signed integer overflow when initialising scheduled dispatch
When date * daylength is too large for int32
2021-04-18 11:05:24 +01:00
PeterN
8e539ce293 Change: Improve layout and spacing of vehicle group widgets. (#9041)
Existing layout included a blank widget above the group list to align with the vehicle list, however since then an additional sort-by row was added.
Group list size tweaks to match normal row size (at least with normal gui and text size.)
Removed reduction of 2 rows in the group list <- main culprit of odd sizing.
Removed fill attribute on buttons which gave strange sizes, and put it on the group info widget instead.
Tweaked various soft-padding values to line up (centreing text with a 1px offset does not make centred text.)
2021-04-17 19:19:06 +01:00
Rubidium
44d1b964bf Fix #7513: recursive array/class/table release caused stack overflow 2021-04-17 19:18:51 +01:00
Rubidium
47a99bb676 Fix #7513: recursive garbage collection caused stack overflow 2021-04-17 19:18:51 +01:00
translators
6c49ae9cd7 Update: Translations from eints
chinese (simplified): 3 changes by clzls
spanish: 1 change by MontyMontana
polish: 6 changes by Milek7
2021-04-17 17:50:40 +00:00
Peter Nelson
cb9f56df0c Feature: Show previous chat history when the chat message box is open 2021-04-16 20:25:46 +02:00
Peter Nelson
fbef63822c Codechange: Use std::deque for chat history instead of fixed array 2021-04-16 20:25:46 +02:00
Peter Nelson
837994034d Fix: Sizing of Multiplayer server list incorrect when GUI zoom doesn't match Font zoom.
The server information panel was scaled by GUI scale, which could result in a panel that is longer than the server list. This height difference is then maintained when the window is resized to fill the screen.
Instead, specify the minimum size by number of text lines and (summed total) padding.
2021-04-16 20:24:08 +02:00
translators
a4db7c844d Update: Translations from eints
korean: 6 changes by telk5093
portuguese (brazilian): 2 changes by Greavez
2021-04-16 17:52:24 +00:00
Jonathan G Rennison
74091c3c80 Disable realistic braking for TELE, PIPE, WIRE railtypes by default
See: #242
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
6a62b94263 Add NewGRF railtype flag to disable realistic braking for vehs of that type
See: #242
2021-04-15 20:56:45 +01:00
Jonathan G Rennison
ba2e6087b2 Add train cache flag for whether train using realistic braking physics 2021-04-15 20:56:45 +01:00
Jonathan G Rennison
b514d29db1 Replace TrainCache::cached_tilt with a flags field 2021-04-15 20:56:45 +01:00
translators
010d977b16 Update: Translations from eints
hungarian: 5 changes by nemesbala
catalan: 2 changes by J0anJosep
tamil: 3 changes by Saran-S-Menon
2021-04-15 17:52:17 +00:00
Jonathan G Rennison
555861510f Version: Committing version data for tag: jgrpp-0.41.0 2021-04-14 21:21:00 +01:00
Jonathan G Rennison
cb08d56add MinGW32: Fix 13011e00: wrong safe esp variable in asm block 2021-04-14 21:08:05 +01:00
Jonathan G Rennison
205673715c MinGW32: Fix EnumDisplayMonitors callback calling convention compile error 2021-04-14 20:49:26 +01:00
Jonathan G Rennison
b4b3638f1b Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/romanian.txt
2021-04-14 20:14:13 +01:00
Jonathan G Rennison
cb5c6902db Fix order dest refcount mismatch warning when loading very old savegames 2021-04-14 20:01:37 +01:00
Jonathan G Rennison
9e3ac646fa Fix desync warning messages when loading game with non-matching train braking model 2021-04-14 19:56:38 +01:00
Jonathan G Rennison
686bcb8009 Fix no vehicle tile hash update when moving train in drive-through depot 2021-04-14 19:50:16 +01:00
Jonathan G Rennison
e623560120 Fix 4c2e42fa: Wrong town caches when loading pre more-houses savegame 2021-04-14 19:49:35 +01:00
Jonathan G Rennison
7faa279250 Fix 26a123b7: Wrong variable size in VENC chunk saver 2021-04-14 19:36:10 +01:00
translators
3e0a16c027 Update: Translations from eints
romanian: 57 changes by kneekoo
russian: 3 changes by Ln-Wolf
spanish: 3 changes by MontyMontana
portuguese: 7 changes by azulcosta
2021-04-14 17:49:26 +00:00
Jonathan G Rennison
1ef236525a Mapgen: Generate fuzzy ellipse shaped lakes instead of squares 2021-04-14 02:01:26 +01:00
Jonathan G Rennison
acfdc0efe8 Merge pull request #241 from telk5093/korean
Update: Korean translation
2021-04-13 20:18:40 +01:00
Milek7
4cd9e0f41b Fix: Add virtual destructor to link graph Path.
Classes derived from Path were freed through base class pointer, but no virtual destructor was present.
2021-04-13 20:48:49 +02:00
TELK
157aa3d8b7 Update: Korean translation for Polyrail build mode 2021-04-13 15:33:06 +09:00
TELK
898a958cb2 Update: Korean translation 2021-04-13 15:06:25 +09:00
Jonathan G Rennison
6c62bce1ac Bump water flooding savegame version and clear states on load 2021-04-13 00:08:05 +01:00
Jonathan G Rennison
1a29a1ee74 Fix building objects, trees and buoys on water/shore not clearing neighbour flooding states 2021-04-13 00:00:11 +01:00