Commit Graph

48161 Commits

Author SHA1 Message Date
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
Peter Nelson
21edf67f89 Codechange: Untangle game and scenario toolbars. 2019-05-01 21:36:27 +02:00
peter1138
08f00151f1 Codechange: MakeBridgeRamp()'s road-or-rail-type parameter does not make sense.
Road type and rail type are stored in separate locations, so this parameter does
not make make sense as it is only used for rail bridges. Instead explicitly set the
rail type in MakeRailBridgeRamp().
2019-05-01 21:36:27 +02:00
peter1138
bcdb28249c Codechange: Use RAILTYPES_NONE instead of INVALID_RAILTYPES when not using rail.
INVALID_RAILTYPES, if it was accidentally tested, would match any railtype.
2019-05-01 21:36:27 +02:00
Jonathan G Rennison
8b1ee39ace Setting: Add support for enum type settings 2019-05-01 19:03:00 +01:00
Berbe
04c74355ba Fix: IniLoadFile::LoadFromDisk expects filename but BaseMedia::AddFile provided full path (#7348) 2019-05-01 18:57:23 +01:00
glx22
76788a1eb3
Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k (#7555) 2019-05-01 19:31:30 +02:00
glx22
cef9a76c3f
Fix #7553: check bounds when loading strings (#7554) 2019-05-01 19:12:37 +02:00
kiwitree
28b23a6643 Fix: Crash on waypoint selection window 2019-04-30 20:20:14 +01:00
PeterN
14dc8dd619
Fix 81d335b: Don't check state of widget not present in scenario editor. (#7551) 2019-04-29 19:09:11 +01:00
pnda
8cc6ee60ed Add: Icons on air/water/landscape construction menus (#7485) 2019-04-29 18:42:00 +01:00
Charles Pigott
63a7df027d Fix 5db883f: Railtype bits were moved too late, leading to rails under bridges losing their type 2019-04-29 17:46:28 +01:00
Charles Pigott
d9f9a64389 Fix #6507: Don't try to load invalid depots from older savegames 2019-04-29 17:46:28 +01:00
Charles Pigott
3299d6540b Cleanup: Delete GetSavegameType function since it's been commented out since 2005 2019-04-29 17:46:28 +01:00
Charles Pigott
9da1c5bb0b 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)
2019-04-29 17:46:28 +01:00
Charles Pigott
47d0d86a3c Fix #7255: Prevent crashlog corruption by only printing the 32 most recent news messages 2019-04-29 17:43:27 +01:00
Charles Pigott
9e19a5f93e Remove: (Simple)TinyEnumT 2019-04-29 17:40:22 +01:00
Charles Pigott
bd87f11355 Codechange: Remove DistributionTypeByte 2019-04-29 17:40:22 +01:00
Charles Pigott
a5681d3eba Codechange: Remove GoalTypeByte 2019-04-29 17:40:22 +01:00
Charles Pigott
327ff89808 Codechange: Remove PauseModeByte 2019-04-29 17:40:22 +01:00
Charles Pigott
e18c8c30be Codechange: Remove RoadTypesByte 2019-04-29 17:40:22 +01:00
Charles Pigott
644f4c3547 Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them properly 2019-04-29 17:40:22 +01:00
Charles Pigott
0a53ee8cfe Codechange: Remove PartOfSubsidyByte 2019-04-29 17:40:22 +01:00
Charles Pigott
5d66d8fd7d Codechange: Remove ExpensesTypeByte 2019-04-29 17:40:22 +01:00
Charles Pigott
2e1936da64 Codechange: Remove SourceTypeByte type 2019-04-29 17:40:22 +01:00
Charles Pigott
5b34c8019f Codechange: Remove Company/OwnerByte types 2019-04-29 17:40:22 +01:00
Charles Pigott
fcf06ba4c4 Codechange: Remove StationClassIDByte, and drop STAT_CLASS_MAX by one 2019-04-29 17:40:22 +01:00
Charles Pigott
60e31c7cfa Codechange: Remove OrderTypeByte 2019-04-29 17:40:22 +01:00