Commit Graph

48979 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan G Rennison
c00ef75ad0 Merge pull request #140 from telk5093/patch-3
Fix year mistake
2020-04-12 16:21:22 +01:00
Jonathan G Rennison
a4bf068c6c Merge branch 'master' into jgrpp
# Conflicts:
#	src/toolbar_gui.cpp
2020-04-12 11:25:34 +01:00
glx
9339e4dcad Fix #8081: Check for waypoints when removing docking tiles 2020-04-12 08:46:55 +02:00
Jonathan G Rennison
0a61671ff1 Windows: Use TLS to avoid sharing buffers for FS2OTTD, OTTD2FS, GetCurrentLocale 2020-04-12 01:42:09 +01:00
Jonathan G Rennison
4c59dfb6b1 Fix data race during palette animation with threaded blitters 2020-04-12 00:12:58 +01:00
Jonathan G Rennison
c061675001 Allow modal progress sleep to finish early on completion 2020-04-12 00:12:58 +01:00
Jonathan G Rennison
e2ab622a14 Avoid data race in modal progress mode 2020-04-12 00:12:58 +01:00
Jonathan G Rennison
1e7a73b2c7 Win32: Check for buffer overrun when calling WSAIoctl/SIO_GET_INTERFACE_LIST
This has been observed on Wine
2020-04-11 01:18:03 +01:00
Pavel Stupnikov
f14a69e52f Fix a5681d3e: Make goal question ID use 16 bits again (#8072) 2020-04-10 10:05:52 +02:00
arikover
1e3e960fce Add: Hotkey for Land Info in normal mode
- added a hotkey for land_info in normal mode
- no default key is set
2020-04-10 10:00:16 +02:00
Jonathan G Rennison
efaeb9e182 Scheduled dispatch: Fix wrong order index for getting dispatch wait time
See: #141
2020-04-09 22:26:06 +01:00
Jonathan G Rennison
3f49f1b749 Scheduled dispatch: Fix wrong type in GetScheduledDispatchTime 2020-04-09 22:25:33 +01:00
Jonathan G Rennison
53032a8473 Scheduled dispatch: Fix lateness when waiting time at dispatch point change
See: #141
2020-04-09 22:25:33 +01:00
Jonathan G Rennison
a72b4881a0 Scheduled dispatch: Fix double dispatch request when no timetable set
See: #141
2020-04-09 21:27:09 +01:00
translators
7aab7642bf Update: Translations from eints
catalan: 30 changes by juanjo
2020-04-08 19:45:39 +02:00
TELK
1d37d6e815 Fix year mistake 2020-04-08 13:04:50 +09:00