Jonathan G Rennison
a298ca41eb
Merge branch 'cpp-11' into save_ext
5 years ago
Jonathan G Rennison
43ddaf4c5c
Fix incorrect implementation of non-builtin BSWAP64
5 years ago
Jonathan G Rennison
98cfcebfcd
Merge pull request #91 into jgrpp
5 years ago
Jonathan G Rennison
92025b85c9
Fix handling of multi-cargo full load any cargo with through load
5 years ago
TELK
9efa181b58
ko-KR: for 0.31.1
5 years ago
Jonathan G Rennison
83a8de1e49
Add further vehicle flag consistency checks to CheckCaches
5 years ago
Jonathan G Rennison
96f000226e
Exclude virtual trains from various vehicle list iterations
5 years ago
Jonathan G Rennison
3c2ebc4588
Call UpdateTownCargoBitmap in InitializeGame
5 years ago
Jonathan G Rennison
9b87610cd6
Check vehicle tile hash in CheckCaches
5 years ago
Jonathan G Rennison
31ad8bdd07
Do not add virtual vehicles to tile hash
5 years ago
Jonathan G Rennison
a7cfe167a3
Handle case where vehicles have same unitnumber in VehicleTimetableSorter
5 years ago
Jonathan G Rennison
6d9f9ec352
Fix recalculation area in UpdateTownCargoesHouse
5 years ago
Jonathan G Rennison
09edd07003
Add utility function: TileAddSaturating
5 years ago
Jonathan G Rennison
8a3dcfb1c5
Add town cargo production/acceptance cache to town GRF debug window
5 years ago
Jonathan G Rennison
8eeae134db
Add NewGRF debug button to town view GUI
5 years ago
Jonathan G Rennison
e21c80ae45
Refresh town cargo acceptance/production on load on NewGRFs mismatch
...
Also when reloading NewGRFs
5 years ago
Jonathan G Rennison
bc5681e79f
Fix incorrect cargo IDs used in load by cargo type GUI
...
Use CargoSpec::Index instead of GetCargoIDByBitnum
5 years ago
Jonathan G Rennison
c2470a21af
Fix town production and acceptance cache saveload/update handling
5 years ago
Jonathan G Rennison
33344482ae
Add a stepped OrthogonalTileIterator for grid iteration
5 years ago
Jonathan G Rennison
8cd552fd66
Increase YAPF road vehicle path cache to 16 segments
5 years ago
Jonathan G Rennison
79d5be7e26
Do not cache road vehicle path within 8 tiles of destination with multiple entrances
5 years ago
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
5 years ago
Jonathan G Rennison
42b6e8b0d8
Check far side of level crossing when pruning road bits in CleanUpRoadBits
5 years ago
Jonathan G Rennison
546b5248e0
Check Town::cargo_produced and _town_cargoes_accepted in CheckCaches()
5 years ago
Jonathan G Rennison
f0ffb52f2f
Fix per-railtype 90 deg turn setting with dual rail type tiles
5 years ago
Jonathan G Rennison
ec2291fdb4
Store some desync messages in a ring buffer, append to log on desync
5 years ago
Jonathan G Rennison
68dbbf5945
Add std::string format functions
5 years ago
Jonathan G Rennison
b8820ded59
Fix static asserts in OrderDestinationRefcountMapKey
5 years ago
Jonathan G Rennison
bfff4571a2
Check nearby station/industry lists and catchments in CheckCaches
5 years ago
Jonathan G Rennison
bf73535eed
Fix stack buffer over-read in ReadRawLanguageStrings
5 years ago
Jonathan G Rennison
f3aff0fd7f
Avoid unnecessary reallocs in NetworkTCPSocketHandler::SendPacket
5 years ago
Jonathan G Rennison
6bfbd638ac
Check whether DoCommand test execution changes the random seed
5 years ago
Jonathan G Rennison
97baff6fd8
Add client desync log to server desync log output
5 years ago
Jonathan G Rennison
cb0ca43eae
Use larger packets for server to client map/savegame transfer
5 years ago
Jonathan G Rennison
dc357c9239
Fix length checks in network packet send/recv binary
5 years ago
Jonathan G Rennison
5a9790a196
Store crash/desync logs in crash/desync savegame
...
Add console command to dump loaded debug log
5 years ago
Jonathan G Rennison
951a50ddd9
Include crash/desync log contents in PNG screenshots
5 years ago
Jonathan G Rennison
e64706d147
Log string ID in GetGRFStringPtr assertion
5 years ago
Jonathan G Rennison
a7de6ec35b
Add console command to show map stats
5 years ago
Jonathan G Rennison
002f5ca70e
Adjust desync log format and add company events to log
5 years ago
Jonathan G Rennison
6db59fee05
Add console command to highlight tile
...
Add alias to scroll to and highlight tile
5 years ago
Jonathan G Rennison
e2251999ce
Add game event flag for disaster vehicles
5 years ago
Jonathan G Rennison
e001f4e8c1
TBTR: Transfer trace restrict slot occupancy to replacement train head
5 years ago
Jonathan G Rennison
e1d98e1b37
Check trace restrict slot vehicle index and occupants in CheckCaches
5 years ago
Jonathan G Rennison
5b7d1f7f80
Add game event for TBTR replacement attempt
5 years ago
Jonathan G Rennison
2740537632
Handle case when ClientNetworkGameSocketHandler::SendChat is called after connection closed
5 years ago
Jonathan G Rennison
f37a93cecd
Add any output from CheckCaches to desync log
5 years ago
Jonathan G Rennison
257591a32e
Add utility function for processing a string buffer by line
5 years ago
Jonathan G Rennison
8042150a35
Add error messages for vehicle build failure due to wrong depot owner and rail type
5 years ago
Jonathan G Rennison
ee06258629
TBTR: Fix front engine not being cleared when being replaced. and kept in depot
5 years ago
Jonathan G Rennison
49f6490c7d
Fix potential non-determinism in vehicle autorenew/template replace/pay for repair/sell
5 years ago
Jonathan G Rennison
fa55a1c002
Output a log, savegame and screenshot on desync events
5 years ago
Jonathan G Rennison
3fdd553a08
Handle trace restrict slots when deleting or merging company
5 years ago
Jonathan G Rennison
ec1e848a7f
Add log of game events since last load and overall
...
Add console command
Add to crashlog
5 years ago
Jonathan G Rennison
ddd48b61a2
Unconditionally notify YAPF of track layout change in ChangeOwnershipOfCompanyItems
5 years ago
Jonathan G Rennison
e881828d00
Call CheckCaches after ChangeOwnershipOfCompanyItems
5 years ago
Jonathan G Rennison
cb5a86754e
Check vehicle prev/next pointer consistency in CheckCaches
5 years ago
Jonathan G Rennison
34d7f12a70
TBTR: Skip virtual vehicles in company rating/value and group stats
5 years ago
Jonathan G Rennison
8afb21cf9c
TBTR: Remove unused function: TemplateReplacement::GetTemplateVehicle
5 years ago
Jonathan G Rennison
fff3018b42
TBTR: Fix incorrect deletion of template vehicles when deleting company
5 years ago
Jonathan G Rennison
6bf4b67486
Set abort_job in LinkGraphJob saveload constructor
5 years ago
Jonathan G Rennison
1e51d7af2f
Add console command to dump vehicle stats
5 years ago
Jonathan G Rennison
13291899cd
Remove unused fields from struct TemplateVehicle
5 years ago
Jonathan G Rennison
f5f72611c2
Fix max speed in road vehicle purchase window when using original acceleration model
5 years ago
PeterN
6fabfc3f21
Fix #7577 : Check if linkgraph station index is valid before dereferencing. ( #7583 )
...
(cherry picked from commit 83c1678f9e
)
5 years ago
stormcone
3fbd2b6bbc
Fix #7224 : Drag and drop vehicle group creation does not work correctly.
...
When drag and drop a vehicle into an empty slot in the vehicle group window it tries to create the new group as the subgroup of the first group (GroupID = 0). This is failing if the dragged vehicle's type is different than the first group's vehicle type.
(cherry picked from commit 24c59283ec
)
5 years ago
Jonathan G Rennison
b91ee6fb4b
Improve performance of name sorting in industry list window
5 years ago
Jonathan G Rennison
f6b9395c6a
Improve performance of name sorting in town and station list windows
5 years ago
Jonathan G Rennison
748d73079a
Enable vehicle group management actions on other companies' stations
...
Only enable where vehicles of the current company are in the list
5 years ago
Jonathan G Rennison
d0d3f1dece
Enable vehicle list buttons in station GUI when list would be non-empty
5 years ago
Jonathan G Rennison
512bb5ca4d
Use vehicle order destination map for HasStationInUse()
5 years ago
Jonathan G Rennison
8196789eeb
Maintain map of vehicle order destinations refcounts, by type
5 years ago
Jonathan G Rennison
8a4ba9f9c1
Fix VehiclePositionIsAllowed for aircraft taking off/landing
...
Fix use of IsValidTile
5 years ago
Jonathan G Rennison
da18ec0009
Add debug console commands to bankrupt and delete a company
5 years ago
Jonathan G Rennison
af64b5dc18
Add news/advice setting to warn if no depot order in vehicle schedule
5 years ago
Jonathan G Rennison
c9ec55a54a
Merge branch 'pr-88' into jgrpp
5 years ago
Jonathan G Rennison
b41e2b04ed
Fix articulated RVs disconnecting when overtaking on custom bridge heads
...
Disallow overtaking on custom bridge heads
5 years ago
TELK
635b35996b
ko-KR: Remove remnants
5 years ago
TELK
ddf5040f0d
ko-KR: Complete translation
5 years ago
Jonathan G Rennison
bdcafb38cc
Fix ScriptOrder::GetOrderDistance in VT_AIR mode on waypoint tiles
5 years ago
Jonathan G Rennison
d734e6a9f1
Add scope info logging to AI::GameLoop()
5 years ago
Jonathan G Rennison
10d0f79e83
Validate vehicle tick caches in CheckCaches
5 years ago
Berbe
a73ec8d386
Fix: IniLoadFile::LoadFromDisk expects filename but BaseMedia::AddFile provided full path ( #7348 )
...
(cherry picked from commit 04c74355ba
)
5 years ago
glx22
080de98c93
Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k ( #7555 )
...
(cherry picked from commit 76788a1eb3
)
5 years ago
glx22
19a6829ea2
Fix #7553 : check bounds when loading strings ( #7554 )
...
(cherry picked from commit cef9a76c3f
)
5 years ago
Charles Pigott
10c8104e70
Fix 5db883f: Railtype bits were moved too late, leading to rails under bridges losing their type
...
(cherry picked from commit 63a7df027d
)
5 years ago
Charles Pigott
e334f7db30
Fix #6507 : Don't try to load invalid depots from older savegames
...
(cherry picked from commit d9f9a64389
)
5 years ago
Charles Pigott
44911ec254
Fix: Crash when attempting to load old save game with GRFs set
...
GroupStatistics pool was not initialised before trying to delete vehicles (specifically, trams with no tram track)
(cherry picked from commit 9da1c5bb0b
)
5 years ago
PeterN
9197926bca
Fix #7165 : Missed another 'Append() --> push_back()' replacement ( #7548 )
...
(cherry picked from commit 0ab6244f6b
)
5 years ago
Jonathan G Rennison
0e5dfa42c3
Check order indexing and consistency in cache check
5 years ago
Jonathan G Rennison
51579be197
Fix compilation warnings in windows crashlog
5 years ago
Jonathan G Rennison
03d7edd828
Fix use of nullptr for HIMC type in video/win32_v.cpp
5 years ago
Jonathan G Rennison
028d2505fd
Fix missing format specifier in windows crash log abort message
5 years ago
Jonathan G Rennison
5fe784f520
Remove incorrect CDECL declaration from SlotNameSorter
5 years ago
Jonathan G Rennison
842b2249ee
Fix possible incorrect value of VCF_GV_ZERO_SLOPE_RESIST
...
In case where slope resistance becomes non-zero when up/down flag removed
5 years ago
Jonathan G Rennison
5d4f1b488d
Fix false positive vehicle cache mismatch detection in CheckCaches
5 years ago
Jonathan G Rennison
cef359193a
Add GRF details to NewGRF debug window
5 years ago
Jonathan G Rennison
1ee33c46ef
Linkgraph: Allow overriding distribution mode on a per-cargo basis, in game
5 years ago
Jonathan G Rennison
e7a916d2ce
Linkgraph: Add asymmetric: equal and nearest demand distribution modes
5 years ago
Jonathan G Rennison
79e49cf4a9
Setting: Add setting flag: no new game (in game use only)
5 years ago