Commit Graph

51454 Commits

Author SHA1 Message Date
dP
7c7c6cde03 Fix: Do not unlock railtypes when enabling wagons with GameScript 2021-04-17 22:26:11 +02:00
Rubidium
e5fedcd6da Fix #6322: [Script] Try to let the script die when no memory can be allocated instead of crashing the whole game 2021-04-17 22:24:52 +02:00
Rubidium
4400bbfa96 Change: [Script] Let Script_FatalError use std::string instead of const char * 2021-04-17 22:24:52 +02:00
Peter Nelson
3248a6c12b Fix #9042: Make multiplayer server list height auto-fill window.
#9042 did not fix all combinations of scaling options. This additional
change makes the server list automatically fill available height.
2021-04-17 22:23:43 +02:00
PeterN
195cf31cb9 Fix: Inconsistent button sizing on AI/GS setting window depending on scale settings. (#9044) 2021-04-17 19:20:22 +01:00
Milek7
aade177d79 Fix: Corrupted savegame could cause heap corruption by writing outside link graph edge matrix. (#9046) 2021-04-17 19:19:37 +01:00
Milek7
da55286c2c Fix: Corrupted savegame could crash the game by providing invalid gamelog enums. (#9045) 2021-04-17 19:19:18 +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
Jonathan G Rennison
0422e2fe1e Add misc debug flag for water flooding states 2021-04-12 23:59:21 +01:00
Jonathan G Rennison
253d54ce05 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/french.txt
#	src/network/network_udp.cpp
2021-04-12 22:59:30 +01:00
Jonathan G Rennison
76981ca8cd Fix setting console command min/max display with enum settings
Fixes: #240
2021-04-12 22:43:01 +01:00
Michael Lutz
433602b072 Fix #9028: [OpenGL] Clear cursor cache on destroying the OpenGL backend. 2021-04-12 22:40:40 +02:00
Jonathan G Rennison
a1161e9f17 Merge pull request #237 from reldred/town_zone_multipliers_for_cities
Feature: Town and City Zone Configuration Seperated
2021-04-12 20:16:49 +01:00
Rubidium
468b1c6c5d Fix: [win32] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set 2021-04-12 21:14:01 +02:00
Rubidium
8562395413 Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward 2021-04-12 21:14:01 +02:00
Rubidium
64e8305874 Fix: [SDL] buffer_locked state not initialised, causing _screen.dst_ptr to be potentially not set 2021-04-12 21:14:01 +02:00
Rubidium
4fb1e34b1e Change: add some hints about the getaddrinfo warning to the troubleshooting part of the documentation 2021-04-12 21:10:21 +02:00
Rubidium
d2fe8c2842 Change: warn the user about the resolving of an address being extra very slow 2021-04-12 21:10:21 +02:00
Rubidium
7597740bff Fix: split the UDP blocking of sockets to only the socket involved, and when another thread is busy do not attempt to process the packets of that socket 2021-04-12 21:10:21 +02:00
Rubidium
ca6b9ad8b0 Change: move some things only relevant to UDP from network.cpp to network_udp.cpp 2021-04-12 21:10:21 +02:00
Jonathan G Rennison
737b538492 Bump savegame version, copy town to city multipliers for old savegames 2021-04-12 20:08:05 +01:00