Commit Graph

48964 Commits

Author SHA1 Message Date
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
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
Jonathan G Rennison
4b8b1f9948 Version: Committing version data for tag: jgrpp-0.34.0 2020-04-07 18:52:46 +01:00
translators
d50e4641ae Update: Translations from eints
luxembourgish: 9 changes by Phreeze
2020-04-07 19:45:39 +02:00
Jonathan G Rennison
f077c3bf6e Merge branch 'master' into jgrpp 2020-04-06 20:58:54 +01:00
glx
b50d77b831 Fix #8064: Incorrect display of refit capacity 2020-04-06 16:21:30 +01:00
frosch
7fe291667f Fix #8060, 5880f14: Restore admin network API compatibility. 2020-04-05 18:36:21 +01:00
stormcone
2514f43909
Fix #8055, c02ef3e: Crash when roadtype availability changed with the road toolbar open (#8058) 2020-04-05 18:34:36 +01:00
Jonathan G Rennison
8ed212f044 Documentation: NewGRF: Fix grammar issue 2020-04-05 11:09:37 +01:00
translators
71e79edfc1 Update: Translations from eints
estonian: 32 changes by taavi
2020-04-04 19:45:40 +02:00
Jonathan G Rennison
dc4bd3a0be Skip non-Object tiles in UpdateObjectColours 2020-04-03 23:57:34 +01:00
Jonathan G Rennison
d210bc4d14 Merge branch 'master' into jgrpp
# Conflicts:
#	src/lang/korean.txt
#	src/saveload/afterload.cpp

Recalculate docking tile cache due to 57553cd8
2020-04-01 00:32:45 +01:00
SamuXarick
e7b901462e Doc: [Script] Make it clear random_deviation and CONFIG_RANDOM range upper bounds are inclusive 2020-03-31 22:33:19 +01:00
SamuXarick
8f9654c5c6 Fix: [Script] Random deviation upper bound range should be inclusive 2020-03-31 22:33:19 +01:00
Jonathan G Rennison
db52acaade Open train vehicle details window on total cargo tab if shift pressed
This is instead of ctrl, as this is now used in trunk

See: 793d01ec, cc1d72c3
2020-03-31 17:43:39 +01:00
Sebastian Pauka
bd3a5876b0 Fix #7644: [Cocoa] Manually set colorspace to sRGB 2020-03-30 08:25:14 +02:00
SamuXarick
57553cd809 Fix #8020: Add missing docking tiles around industry neutral stations 2020-03-30 08:21:40 +02:00