Commit Graph

48920 Commits

Author SHA1 Message Date
Jonathan G Rennison
829c635add Add road layout change counter, add to road veh path caches
Update layout counter when non-leaf road bits are added or removed
2019-05-26 11:35:18 +01:00
Jonathan G Rennison
42b6e8b0d8 Check far side of level crossing when pruning road bits in CleanUpRoadBits 2019-05-26 11:35:18 +01:00
Jonathan G Rennison
546b5248e0 Check Town::cargo_produced and _town_cargoes_accepted in CheckCaches() 2019-05-26 11:35:18 +01:00
Jonathan G Rennison
f0ffb52f2f Fix per-railtype 90 deg turn setting with dual rail type tiles 2019-05-26 11:35:18 +01:00
Jonathan G Rennison
ec2291fdb4 Store some desync messages in a ring buffer, append to log on desync 2019-05-26 11:35:18 +01:00
translators
ef74af6766 Update: Translations from eints
finnish: 32 changes by hpiirai
spanish (mexican): 16 changes by Absay
2019-05-25 19:45:42 +02:00
Jonathan G Rennison
68dbbf5945 Add std::string format functions 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
b8820ded59 Fix static asserts in OrderDestinationRefcountMapKey 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
bfff4571a2 Check nearby station/industry lists and catchments in CheckCaches 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
bf73535eed Fix stack buffer over-read in ReadRawLanguageStrings 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
f3aff0fd7f Avoid unnecessary reallocs in NetworkTCPSocketHandler::SendPacket 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
6bfbd638ac Check whether DoCommand test execution changes the random seed 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
97baff6fd8 Add client desync log to server desync log output 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
cb0ca43eae Use larger packets for server to client map/savegame transfer 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
dc357c9239 Fix length checks in network packet send/recv binary 2019-05-23 22:53:17 +01:00
Jonathan G Rennison
5a9790a196 Store crash/desync logs in crash/desync savegame
Add console command to dump loaded debug log
2019-05-23 22:53:17 +01:00
translators
aee3e4e496 Update: Translations from eints
hungarian: 7 changes by Brumi
2019-05-23 19:45:44 +02:00
Michael Lutz
b73622a01c Fix #7600: Don't read uninitialised memory when parsing GS language files. 2019-05-23 00:08:39 +02:00
Jonathan G Rennison
951a50ddd9 Include crash/desync log contents in PNG screenshots 2019-05-22 07:27:51 +01:00
Jonathan G Rennison
e64706d147 Log string ID in GetGRFStringPtr assertion 2019-05-20 21:33:22 +01:00
Jonathan G Rennison
a7de6ec35b Add console command to show map stats 2019-05-20 20:01:30 +01:00
Jonathan G Rennison
002f5ca70e Adjust desync log format and add company events to log 2019-05-20 19:38:47 +01:00
Jonathan G Rennison
6db59fee05 Add console command to highlight tile
Add alias to scroll to and highlight tile
2019-05-20 18:40:55 +01:00
Jonathan G Rennison
e2251999ce Add game event flag for disaster vehicles 2019-05-20 00:55:57 +01:00
translators
c1d26d8884 Update: Translations from eints
croatian: 7 changes by VoyagerOne
2019-05-19 19:45:45 +02:00
Jonathan G Rennison
e001f4e8c1 TBTR: Transfer trace restrict slot occupancy to replacement train head 2019-05-19 18:41:20 +01:00
Jonathan G Rennison
e1d98e1b37 Check trace restrict slot vehicle index and occupants in CheckCaches 2019-05-19 18:40:18 +01:00
Jonathan G Rennison
5b7d1f7f80 Add game event for TBTR replacement attempt 2019-05-19 18:38:02 +01:00
Jonathan G Rennison
2740537632 Handle case when ClientNetworkGameSocketHandler::SendChat is called after connection closed 2019-05-18 20:34:43 +01:00
Jonathan G Rennison
f37a93cecd Add any output from CheckCaches to desync log 2019-05-18 18:31:08 +01:00
Jonathan G Rennison
b9eb9a4af9 Fix #7594: Max speed rendered incorrectly in road vehicle purchase window when using original acceleration model (#7597)
An incorrect DParam index was used.
2019-05-18 19:31:00 +02:00
Jonathan G Rennison
257591a32e Add utility function for processing a string buffer by line 2019-05-18 18:29:22 +01:00
Jonathan G Rennison
8042150a35 Add error messages for vehicle build failure due to wrong depot owner and rail type 2019-05-18 13:19:43 +01:00
Jonathan G Rennison
ee06258629 TBTR: Fix front engine not being cleared when being replaced. and kept in depot 2019-05-18 10:17:59 +01:00
Jonathan G Rennison
49f6490c7d Fix potential non-determinism in vehicle autorenew/template replace/pay for repair/sell 2019-05-18 10:17:59 +01:00
Jonathan G Rennison
fa55a1c002 Output a log, savegame and screenshot on desync events 2019-05-18 10:17:59 +01:00
Jonathan G Rennison
3fdd553a08 Handle trace restrict slots when deleting or merging company 2019-05-18 10:17:59 +01:00
Jonathan G Rennison
ec1e848a7f Add log of game events since last load and overall
Add console command
Add to crashlog
2019-05-18 10:17:59 +01:00
Jonathan G Rennison
ddd48b61a2 Unconditionally notify YAPF of track layout change in ChangeOwnershipOfCompanyItems 2019-05-16 23:28:07 +01:00
Jonathan G Rennison
e881828d00 Call CheckCaches after ChangeOwnershipOfCompanyItems 2019-05-16 23:28:07 +01:00
Jonathan G Rennison
cb5a86754e Check vehicle prev/next pointer consistency in CheckCaches 2019-05-16 20:05:22 +01:00
Jonathan G Rennison
34d7f12a70 TBTR: Skip virtual vehicles in company rating/value and group stats 2019-05-16 20:04:48 +01:00
Jonathan G Rennison
8afb21cf9c TBTR: Remove unused function: TemplateReplacement::GetTemplateVehicle 2019-05-16 20:02:39 +01:00
Jonathan G Rennison
fff3018b42 TBTR: Fix incorrect deletion of template vehicles when deleting company 2019-05-16 20:01:56 +01:00
Jonathan G Rennison
6bf4b67486 Set abort_job in LinkGraphJob saveload constructor 2019-05-16 19:25:22 +01:00
Jonathan G Rennison
1e51d7af2f Add console command to dump vehicle stats 2019-05-16 18:58:50 +01:00
translators
24493548da Update: Translations from eints
french: 7 changes by glx
korean: 8 changes by telk5093
2019-05-16 19:45:43 +02:00
Jonathan G Rennison
13291899cd Remove unused fields from struct TemplateVehicle 2019-05-16 02:11:14 +01:00
glx
09004f3697 Codechange: catch script exceptions by reference 2019-05-15 21:59:57 +02:00
glx
a82e7ec281 Fix #7590: handle script exceptions during scanning 2019-05-15 21:59:57 +02:00