Commit Graph

49304 Commits

Author SHA1 Message Date
Jonathan G Rennison
5e9dd1ff35 Update cache mismatch logging in CheckCaches 2019-06-09 11:17:22 +01:00
Jonathan G Rennison
326dfd33eb Fix town nearby station cache not being updated when house is rebuilt smaller/different shape 2019-06-09 11:17:22 +01:00
Jonathan G Rennison
16e590dc88 Add console command to show town window 2019-06-09 11:14:36 +01:00
iigmir
5b09323a58 Add: Currency: NTD, CNY, HKD 2019-06-09 11:13:30 +02:00
Jonathan G Rennison
751c5229f1 Fix vehicle tile hash not always being immediately updated for aircraft 2019-06-08 18:44:12 +01:00
Jonathan G Rennison
96e5148083 Shorten/extend reservation when adding/removing signals to bridge/tunnel 2019-06-08 17:13:14 +01:00
Jonathan G Rennison
c7a9950269 Add game event for train crash 2019-06-08 17:13:14 +01:00
Jonathan G Rennison
49dee941fb Validate cargo packet deferred payments in CheckCaches 2019-06-08 17:13:14 +01:00
Jonathan G Rennison
326b3aa66a Merge branch 'save_ext' into jgrpp 2019-06-08 12:52:04 +01:00
Jonathan G Rennison
a298ca41eb Merge branch 'cpp-11' into save_ext 2019-06-08 12:51:33 +01:00
Jonathan G Rennison
43ddaf4c5c Fix incorrect implementation of non-builtin BSWAP64 2019-06-08 12:50:57 +01:00
stormcone
6396ec05fe Fix #7609: In the sprite aligner window the 'Reset relative' button crashes the game.
The 'offs_start_map' is a 'SmallMap', so its own 'Erase' function should be called instead of the underlying vector's 'erase' function.
And fix a "typo". :)
2019-06-06 17:28:39 +01:00
Jonathan G Rennison
98cfcebfcd Merge pull request #91 into jgrpp 2019-06-05 23:46:27 +01:00
glx22
846fc8fe09 Fix: vcpkg used to patch lzma.h to define LZMA_API_STATIC for static builds (#7614) 2019-06-03 00:18:28 +02:00
Jonathan G Rennison
92025b85c9 Fix handling of multi-cargo full load any cargo with through load 2019-06-01 19:29:16 +01:00
TELK
9efa181b58 ko-KR: for 0.31.1 2019-06-01 03:55:00 +09:00
Jonathan G Rennison
640a5a673b Version: Committing version data for tag: jgrpp-0.31.1 2019-05-28 20:54:15 +01:00
Jonathan G Rennison
3fccfa2b48 Update low level changes document 2019-05-28 00:43:58 +01:00
Jonathan G Rennison
83a8de1e49 Add further vehicle flag consistency checks to CheckCaches 2019-05-27 21:07:40 +01:00
Jonathan G Rennison
96f000226e Exclude virtual trains from various vehicle list iterations 2019-05-27 17:56:41 +01:00
Jonathan G Rennison
3c2ebc4588 Call UpdateTownCargoBitmap in InitializeGame 2019-05-27 15:58:51 +01:00
Jonathan G Rennison
9b87610cd6 Check vehicle tile hash in CheckCaches 2019-05-27 15:58:30 +01:00
Jonathan G Rennison
31ad8bdd07 Do not add virtual vehicles to tile hash 2019-05-27 15:58:17 +01:00
Jonathan G Rennison
a7cfe167a3 Handle case where vehicles have same unitnumber in VehicleTimetableSorter 2019-05-27 13:07:49 +01:00
Jonathan G Rennison
6d9f9ec352 Fix recalculation area in UpdateTownCargoesHouse 2019-05-26 22:37:49 +01:00
Jonathan G Rennison
09edd07003 Add utility function: TileAddSaturating 2019-05-26 22:37:49 +01:00
Jonathan G Rennison
8a3dcfb1c5 Add town cargo production/acceptance cache to town GRF debug window 2019-05-26 21:03:29 +01:00
Jonathan G Rennison
8eeae134db Add NewGRF debug button to town view GUI 2019-05-26 20:52:38 +01:00
Jonathan G Rennison
e21c80ae45 Refresh town cargo acceptance/production on load on NewGRFs mismatch
Also when reloading NewGRFs
2019-05-26 20:29:29 +01:00
Jonathan G Rennison
bc5681e79f Fix incorrect cargo IDs used in load by cargo type GUI
Use CargoSpec::Index instead of GetCargoIDByBitnum
2019-05-26 18:53:33 +01:00
Jonathan G Rennison
c2470a21af Fix town production and acceptance cache saveload/update handling 2019-05-26 13:35:33 +01:00
Jonathan G Rennison
33344482ae Add a stepped OrthogonalTileIterator for grid iteration 2019-05-26 13:23:53 +01:00
Jonathan G Rennison
8cd552fd66 Increase YAPF road vehicle path cache to 16 segments 2019-05-26 11:35:18 +01:00
Jonathan G Rennison
79d5be7e26 Do not cache road vehicle path within 8 tiles of destination with multiple entrances 2019-05-26 11:35:18 +01:00
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