Commit Graph

49117 Commits

Author SHA1 Message Date
Jonathan G Rennison
af09391bfb Use atomic load for _realtime_tick in _SetGeneratingWorldProgress 2020-05-07 20:53:50 +01:00
Jonathan G Rennison
a1d85b812b Network: Use unique_ptr for packets, use deque for packet queues 2020-05-07 20:53:50 +01:00
Jonathan G Rennison
caa27cfa39 Network: Fix locking issues around server map PacketWriter 2020-05-07 20:53:50 +01:00
translators
170f3f9b2b Update: Translations from eints
latvian: 38 changes by Tranzistors
2020-05-07 19:45:39 +02:00
glx22
82573a5e73
Fix #8117: Memory leak in admin port (#8122) 2020-05-07 02:00:53 +02:00
glx22
86e9326b7f
Add: docking tiles cache check (#8120) 2020-05-07 01:14:22 +02:00
glx
bc8333723c Fix #8021: limit savegame range for docking tiles fixing 2020-05-06 23:12:59 +02:00
Yexo
64278fd598 Fix: reset roadtype/streetcartype info for non-road bridges 2020-05-06 22:10:08 +02:00
translators
364f6806c8 Update: Translations from eints 2020-05-06 19:45:39 +02:00
glx
f0747c8c51 Update: Lang files 2020-05-06 09:54:36 +01:00
glx
e0d20a44d2 Codechange: Use a dynamic copyright year 2020-05-06 09:54:36 +01:00
Jonathan G Rennison
197a4f2e3e fcitx: Use XLookupString instead of XLookupKeysym to fix modifier keys
See: #142
2020-05-05 23:05:50 +01:00
duck
e1c85e67a7
Fix #8102: Update Windows installer strings to reference newer Windows version (#8114)
* Fix #8102: Update Windows installer strings to reference versions newer than 7

* Fix 2c53390: Version strings incorrectly capitalised
2020-05-05 22:05:40 +02:00
Jonathan G Rennison
b11852a076 Fix insufficient YAPF cost added when reversing behind signal
Fix 29520437, which was an insufficient fix

See: #150
2020-05-05 00:12:46 +01:00
Yexo
19dc31e0b3 Fix #8108: always update tile_hash after updating v->tile 2020-05-04 23:26:50 +02:00
SamuXarick
8edbb42fe8 Fix c01a2e2: crash on loading old savegames with invalid animated tile information 2020-05-04 21:21:06 +02:00
SamuXarick
c01803cd42 Fix #8108: possible crash on loading TTD savegames with phantom oil rigs 2020-05-04 21:21:06 +02:00
translators
aa91c0666e Update: Translations from eints
korean: 1 change by telk5093
2020-05-04 19:45:38 +02:00
Niels Martin Hansen
fde28ec0b0 Update: Clarify some contribution guidelines
Point out that translations should be fixed via the web translator.
Clerify that "changed NewGRFs" means after the game was started, not that any game using NewGRFs is invalid for bug reports.
2020-05-04 00:45:57 +01:00
frosch
9f2e23d8ba Fix #8093: Build+Refit changed game-state in command test run, and thus caused desyncs.
Use DC_AUTOREPLACE for actions that shall be reversibe, in this case:
- Do not rearrange free wagons in test-run.
- Do not discard OrderBackups.
The latter was not triggered by actual auto-replace, since it does not set a 'user'.
2020-05-03 23:18:30 +02:00
frosch
0f9dc88834 Fix: When build+refit an engine, do not refit any free wagons that may get attached. 2020-05-03 23:18:30 +02:00
frosch
68244393f1 Codechange: Unify the tests whether build+refit is in simulation-test or real-run. 2020-05-03 23:18:30 +02:00
frosch
fb5fc0d80a
Fix: OpenGFX download link did no longer work. (#8105) 2020-05-03 18:45:58 +02:00
Jonathan G Rennison
562ac0cb7b Version: Committing version data for tag: jgrpp-0.34.2 2020-05-01 00:32:59 +01:00
Jonathan G Rennison
74b6981d97 Merge branch 'master' into jgrpp
# Conflicts:
#	src/os/macosx/macos.mm
#	src/video/cocoa/cocoa_v.mm
#	src/video/cocoa/fullscreen.mm
#	src/video/cocoa/wnd_quartz.mm
#	src/video/cocoa/wnd_quickdraw.mm
2020-04-30 23:59:06 +01:00
Jonathan G Rennison
e559bb98c4 Viewport: Fix scroll region sort comparison not meeting strict weak ordering
fa90b567 was not a proper fix
2020-04-30 18:53:19 +01:00
Jonathan G Rennison
cba9b56ff7 Custom bridge heads: Fix secondary rail track type when removing piece
In case when new configuration is parallel tracks
2020-04-29 17:56:26 +01:00
Jonathan G Rennison
b458c0c88d Fix free wagon re-arrangement when estimating train build and refit cost
See: #149
2020-04-28 22:55:48 +01:00
Jonathan G Rennison
686ff03817 Fix graphical glitch when rendering narrow viewport slices 2020-04-27 17:34:47 +01:00
Jonathan G Rennison
669b68d140 Crashlog: Suffix crash file names with date/time 2020-04-27 17:31:35 +01:00
Jonathan G Rennison
60dabc68a0 Add a scope info logger for DoSetViewportPosition calls 2020-04-27 17:21:11 +01:00
Jonathan G Rennison
b03889d7e6 Add DumpWindowInfo function 2020-04-27 17:20:40 +01:00
Jonathan G Rennison
bee840bc44 Increase verbosity of height asserts in Blitter_32bppBase::ScrollBuffer 2020-04-27 17:14:10 +01:00
Jonathan G Rennison
ad72fad68e Fix #148: Rename STR_MONEY_CHEAT_MULTIPLAYER* strings 2020-04-26 20:08:44 +01:00
Michael Lutz
1f1345de09 Codechange: [Script] Improve copying a list into another empty list. 2020-04-26 18:09:42 +02:00
Jonathan G Rennison
563037e401 Add brackets around bitmath macro definitions 2020-04-26 09:22:25 +01:00
Jonathan G Rennison
a3652b998e
Merge pull request #145 from telk5093/jgrpp
ko-KR: Update translations
2020-04-25 11:48:55 +01:00
Jonathan G Rennison
2952043748 Fix insufficient YAPF cost added when reversing behind signal
Distance to target cost compensation was too small in case where target
was perfectly in line with reversing track due to exit direction offset
added in PfCalcEstimate.

See: #147
2020-04-25 11:46:18 +01:00
Jonathan G Rennison
eef6ad7b2a Crash log: Save config file in new crash save chunk 2020-04-21 18:17:13 +01:00
Jonathan G Rennison
850f860f2d Fix dump_load_debug_log console command overwriting data 2020-04-21 18:01:39 +01:00
Jonathan G Rennison
6821c0e945 Use builtins for overflow detection in OverflowSafeInt on gcc/clang 2020-04-20 21:48:04 +01:00
TELK
951b687f5e ko-KR: Fix typo 2020-04-20 18:23:10 +09:00
TELK
e236d938a9 ko-KR: Update translations 2020-04-20 13:26:34 +09:00
Jonathan G Rennison
be3f03358f Departure boards: Fix handling of waiting orders
See: #144
2020-04-19 21:52:48 +01:00
Jonathan G Rennison
59d84975e0 Fix length limit of waiting cargo amount cond order text input 2020-04-19 11:45:07 +01:00
Jonathan G Rennison
3cb521afb3 Viewport: Fix screen bounds of empty bounding box sprites when splitting 2020-04-19 11:30:20 +01:00
Jonathan G Rennison
89902f2f4a Debug: Add viewport debug flags for sprite split control 2020-04-19 10:58:18 +01:00
Jonathan G Rennison
4b374cb84a Add half-tile margin when horizontally splitting viewport drawing region 2020-04-18 23:34:46 +01:00
Jonathan G Rennison
e0902c93a4 Revert "Viewport: Trim parent sprites to redraw area before sorting"
This reverts commit f563dfe194.

This caused rendering issues with vehicles passing under bridges
at the very edge of the drawing area.
2020-04-18 23:06:38 +01:00
Jonathan G Rennison
1506479f56 Cheat: Add cheats to set inflation income and cost factors
See: #124
2020-04-18 10:53:49 +01:00