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
Jonathan G Rennison
13291899cd
Remove unused fields from struct TemplateVehicle
2019-05-16 02:11:14 +01:00
Jonathan G Rennison
f5f72611c2
Fix max speed in road vehicle purchase window when using original acceleration model
2019-05-14 18:04:52 +01:00
PeterN
6fabfc3f21
Fix #7577 : Check if linkgraph station index is valid before dereferencing. ( #7583 )
...
(cherry picked from commit 83c1678f9e
)
2019-05-13 18:26:02 +01:00
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
)
2019-05-13 18:24:58 +01:00
Jonathan G Rennison
b91ee6fb4b
Improve performance of name sorting in industry list window
2019-05-12 18:55:25 +01:00
Jonathan G Rennison
f6b9395c6a
Improve performance of name sorting in town and station list windows
2019-05-12 18:03:57 +01:00
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
2019-05-12 05:10:59 +01:00
Jonathan G Rennison
d0d3f1dece
Enable vehicle list buttons in station GUI when list would be non-empty
2019-05-12 04:25:52 +01:00
Jonathan G Rennison
512bb5ca4d
Use vehicle order destination map for HasStationInUse()
2019-05-12 04:24:36 +01:00
Jonathan G Rennison
8196789eeb
Maintain map of vehicle order destinations refcounts, by type
2019-05-12 04:24:10 +01:00
Jonathan G Rennison
8a4ba9f9c1
Fix VehiclePositionIsAllowed for aircraft taking off/landing
...
Fix use of IsValidTile
2019-05-11 21:20:37 +01:00
Jonathan G Rennison
da18ec0009
Add debug console commands to bankrupt and delete a company
2019-05-11 20:41:08 +01:00
Jonathan G Rennison
af64b5dc18
Add news/advice setting to warn if no depot order in vehicle schedule
2019-05-11 19:58:16 +01:00
Jonathan G Rennison
c9ec55a54a
Merge branch 'pr-88' into jgrpp
2019-05-11 13:08:03 +01:00
Jonathan G Rennison
b41e2b04ed
Fix articulated RVs disconnecting when overtaking on custom bridge heads
...
Disallow overtaking on custom bridge heads
2019-05-08 00:45:31 +01:00
TELK
635b35996b
ko-KR: Remove remnants
2019-05-07 23:57:33 +09:00
TELK
ddf5040f0d
ko-KR: Complete translation
2019-05-07 17:14:02 +09:00
Jonathan G Rennison
4666b1ef81
Version: Committing version data for tag: jgrpp-0.31.0
2019-05-06 22:26:42 +01:00
Jonathan G Rennison
bdcafb38cc
Fix ScriptOrder::GetOrderDistance in VT_AIR mode on waypoint tiles
2019-05-06 12:19:38 +01:00
Jonathan G Rennison
d734e6a9f1
Add scope info logging to AI::GameLoop()
2019-05-06 11:56:40 +01:00
Jonathan G Rennison
10d0f79e83
Validate vehicle tick caches in CheckCaches
2019-05-02 19:20:47 +01:00
Berbe
a73ec8d386
Fix: IniLoadFile::LoadFromDisk expects filename but BaseMedia::AddFile provided full path ( #7348 )
...
(cherry picked from commit 04c74355ba
)
2019-05-02 18:35:47 +01:00
glx22
080de98c93
Fix 2bb80d2
: really increase the maximum number of GameScript texts to 64k ( #7555 )
...
(cherry picked from commit 76788a1eb3
)
2019-05-02 18:35:47 +01:00
glx22
19a6829ea2
Fix #7553 : check bounds when loading strings ( #7554 )
...
(cherry picked from commit cef9a76c3f
)
2019-05-02 18:35:47 +01:00
Charles Pigott
10c8104e70
Fix 5db883f
: Railtype bits were moved too late, leading to rails under bridges losing their type
...
(cherry picked from commit 63a7df027d
)
2019-05-02 18:25:35 +01:00
Charles Pigott
e334f7db30
Fix #6507 : Don't try to load invalid depots from older savegames
...
(cherry picked from commit d9f9a64389
)
2019-05-02 18:21:13 +01:00
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
)
2019-05-02 18:20:46 +01:00
PeterN
9197926bca
Fix #7165 : Missed another 'Append() --> push_back()' replacement ( #7548 )
...
(cherry picked from commit 0ab6244f6b
)
2019-05-02 18:20:26 +01:00
Jonathan G Rennison
0e5dfa42c3
Check order indexing and consistency in cache check
2019-05-02 03:05:07 +01:00
Jonathan G Rennison
51579be197
Fix compilation warnings in windows crashlog
2019-05-02 01:42:53 +01:00
Jonathan G Rennison
03d7edd828
Fix use of nullptr for HIMC type in video/win32_v.cpp
2019-05-02 01:36:12 +01:00
Jonathan G Rennison
028d2505fd
Fix missing format specifier in windows crash log abort message
2019-05-02 01:30:07 +01:00
Jonathan G Rennison
5fe784f520
Remove incorrect CDECL declaration from SlotNameSorter
2019-05-02 01:27:08 +01:00
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
2019-05-02 00:05:35 +01:00
Jonathan G Rennison
5d4f1b488d
Fix false positive vehicle cache mismatch detection in CheckCaches
2019-05-02 00:03:12 +01:00
Jonathan G Rennison
799eb25bb5
Delete outdated MSVC project files
2019-05-02 00:02:27 +01:00
Jonathan G Rennison
cef359193a
Add GRF details to NewGRF debug window
2019-05-01 20:57:59 +01:00
Jonathan G Rennison
1ee33c46ef
Linkgraph: Allow overriding distribution mode on a per-cargo basis, in game
2019-05-01 20:57:59 +01:00
Jonathan G Rennison
e7a916d2ce
Linkgraph: Add asymmetric: equal and nearest demand distribution modes
2019-05-01 20:57:59 +01:00
Jonathan G Rennison
79e49cf4a9
Setting: Add setting flag: no new game (in game use only)
2019-05-01 20:57:59 +01:00
Jonathan G Rennison
8b1ee39ace
Setting: Add support for enum type settings
2019-05-01 19:03:00 +01:00
Jonathan G Rennison
f54f549632
Add SlXvCheckSpecialSavegameVersions constants to SaveLoadVersion enum
2019-04-28 13:21:05 +01:00
Jonathan G Rennison
f8e34838c6
Avoid -Wdynamic-class-memaccess warning on clang in CheckCaches()
2019-04-28 13:21:05 +01:00
Jonathan G Rennison
f331ae8f81
Progsig: Fix error return path in CmdModifySignalInstruction
2019-04-28 12:24:40 +01:00
Jonathan G Rennison
06463b8be0
Merge branch 'tracerestrict-sx' into jgrpp
2019-04-28 12:24:40 +01:00
Jonathan G Rennison
d47c083e00
Comment out some unused constants
2019-04-28 12:24:40 +01:00