Commit Graph

48999 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
Jonathan G Rennison
197a4f2e3e fcitx: Use XLookupString instead of XLookupKeysym to fix modifier keys
See: #142
2020-05-05 23:05:50 +01: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
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
Jonathan G Rennison
3e7618f519 Save/load: Add extra cheats savegame chunk 2020-04-18 10:51:02 +01:00
translators
e45bccb833 Update: Translations from eints
welsh: 4 changes by kazzie
2020-04-17 19:45:39 +02:00
Jonathan G Rennison
17f25690eb Ctrl-click up/down in NewGRF window to move to top or bottom 2020-04-17 17:34:02 +01:00
SamuXarick
93a7ff6709
Fix: [Script] ScriptMarine::AreWaterTilesConnected failed for aqueducts (#8074) 2020-04-16 20:32:20 +02:00
translators
0b8100b46f Update: Translations from eints
tamil: 16 changes by aswn
2020-04-16 19:45:38 +02:00
Jonathan G Rennison
bbfe8f9d35 Fix mixed load if available and full load cargo-type load orders 2020-04-16 17:06:33 +01:00
Jonathan G Rennison
3f68c73b09 GS: Charge 5000 opcodes to call ScriptTown::FoundTown
This call is very expensive and calling it in a loop when it fails
can consume all available CPU time

Add a further 50000 charge if a town name cannot be generated
2020-04-15 17:04:32 +01:00
Jonathan G Rennison
ab99c16601 Add support for money cheat in multiplayer
Add a setting for whether this is permitted by multiplayer clients
2020-04-14 22:04:41 +01:00
Jonathan G Rennison
b209b37db9 Add new CommandFlags value: CMD_SERVER_NS 2020-04-14 22:03:04 +01:00
Jonathan G Rennison
86b6e9727f Cheats: Enable setting magic bulldozer, tunnels and jet crashes in multiplayer 2020-04-14 20:41:37 +01:00
Jonathan G Rennison
bdf3af72ec Fix screenshot minimap <name> console command ignoring name
See #143
2020-04-14 17:58:39 +01:00
Jonathan G Rennison
23efead74e Version: Committing version data for tag: jgrpp-0.34.1 2020-04-13 10:18:33 +01:00
Jonathan G Rennison
5ac240147e Fix wrong viewport virtual size in InitializeWindowViewport 2020-04-12 18:38:28 +01:00
Michael Lutz
4bfa3ff619 Remove: [OSX] Old QuickTime music driver. 2020-04-12 18:44:43 +02:00
Michael Lutz
e9294ce4e3 Cleanup: [OSX] Mop up some remaining stuff catering to compiling with very old SDK versions. 2020-04-12 18:44:43 +02:00
Michael Lutz
c21a298a8a Remove: [OSX] Support for the pre 10.6 ATS font selection. 2020-04-12 18:44:43 +02:00
Michael Lutz
b17ea3de36 Remove: [OSX] Support for the pre-10.5 audio/music APIs. 2020-04-12 18:44:43 +02:00
Michael Lutz
9dd8b3d430 Remove: [OSX] Stuff that is pre-10.7 from the Cocoa/Quartz video driver. 2020-04-12 18:44:43 +02:00