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
Peter Nelson
21edf67f89
Codechange: Untangle game and scenario toolbars.
5 years ago
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().
5 years ago
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.
5 years ago
Jonathan G Rennison
8b1ee39ace
Setting: Add support for enum type settings
5 years ago
Berbe
04c74355ba
Fix: IniLoadFile::LoadFromDisk expects filename but BaseMedia::AddFile provided full path ( #7348 )
5 years ago
glx22
76788a1eb3
Fix 2bb80d2: really increase the maximum number of GameScript texts to 64k ( #7555 )
5 years ago
glx22
cef9a76c3f
Fix #7553 : check bounds when loading strings ( #7554 )
5 years ago
kiwitree
28b23a6643
Fix: Crash on waypoint selection window
5 years ago
PeterN
14dc8dd619
Fix 81d335b: Don't check state of widget not present in scenario editor. ( #7551 )
5 years ago
pnda
8cc6ee60ed
Add: Icons on air/water/landscape construction menus ( #7485 )
5 years ago
Charles Pigott
63a7df027d
Fix 5db883f: Railtype bits were moved too late, leading to rails under bridges losing their type
5 years ago
Charles Pigott
d9f9a64389
Fix #6507 : Don't try to load invalid depots from older savegames
5 years ago
Charles Pigott
3299d6540b
Cleanup: Delete GetSavegameType function since it's been commented out since 2005
5 years ago
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)
5 years ago
Charles Pigott
47d0d86a3c
Fix #7255 : Prevent crashlog corruption by only printing the 32 most recent news messages
5 years ago
Charles Pigott
9e19a5f93e
Remove: (Simple)TinyEnumT
5 years ago
Charles Pigott
bd87f11355
Codechange: Remove DistributionTypeByte
5 years ago
Charles Pigott
a5681d3eba
Codechange: Remove GoalTypeByte
5 years ago
Charles Pigott
327ff89808
Codechange: Remove PauseModeByte
5 years ago
Charles Pigott
e18c8c30be
Codechange: Remove RoadTypesByte
5 years ago
Charles Pigott
644f4c3547
Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them properly
5 years ago
Charles Pigott
0a53ee8cfe
Codechange: Remove PartOfSubsidyByte
5 years ago
Charles Pigott
5d66d8fd7d
Codechange: Remove ExpensesTypeByte
5 years ago
Charles Pigott
2e1936da64
Codechange: Remove SourceTypeByte type
5 years ago
Charles Pigott
5b34c8019f
Codechange: Remove Company/OwnerByte types
5 years ago
Charles Pigott
fcf06ba4c4
Codechange: Remove StationClassIDByte, and drop STAT_CLASS_MAX by one
5 years ago
Charles Pigott
60e31c7cfa
Codechange: Remove OrderTypeByte
5 years ago
Charles Pigott
96097b34a5
Codechange: Remove Direction*Byte types
5 years ago
Charles Pigott
9f3928658b
Codechange: Remove Track{dir,}{Bits,}Byte types
5 years ago
Charles Pigott
931d32f414
Codechange: Remove RailTypeByte type
5 years ago
Charles Pigott
10ba431d21
Codechange: Remove SpriteTypeByte type
5 years ago
Charles Pigott
119ea7a195
Codechange: Remove StationHadVehicleOfTypeByte type
5 years ago
Charles Pigott
fb6ae81415
Codechange: Remove StationFacilityByte type
5 years ago
Charles Pigott
09567bf0b3
Codechange: Remove StoryPageElementTypeByte type
5 years ago
Charles Pigott
f20b75d712
Codechange: Remove TownLayoutByte type
5 years ago
Charles Pigott
0e439aeab7
Codechange: Remove TownFoundingByte type
5 years ago
Charles Pigott
0a57db01af
Codechange: Remove TrainForceProceedingByte type
5 years ago
Charles Pigott
69a6c494bf
Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByte
5 years ago
Charles Pigott
96a4787710
Codechange: Set ZoomLevel's base type to byte instead of using ZoomLevelByte
5 years ago
translators
aa220b2375
Update: Translations from eints
...
indonesian: 2 changes by fanioz
dutch: 3 changes by JanWillem
korean: 3 changes by telk5093
5 years ago
Jonathan G Rennison
f54f549632
Add SlXvCheckSpecialSavegameVersions constants to SaveLoadVersion enum
5 years ago
Jonathan G Rennison
f8e34838c6
Avoid -Wdynamic-class-memaccess warning on clang in CheckCaches()
5 years ago
Jonathan G Rennison
f331ae8f81
Progsig: Fix error return path in CmdModifySignalInstruction
5 years ago
Jonathan G Rennison
06463b8be0
Merge branch 'tracerestrict-sx' into jgrpp
5 years ago
Jonathan G Rennison
d47c083e00
Comment out some unused constants
5 years ago
Jonathan G Rennison
24458e9990
Add various missing override specifiers
5 years ago
Jonathan G Rennison
6b107d65d9
Merge branch 'tracerestrict' into tracerestrict-sx
5 years ago
Jonathan G Rennison
0d2277211c
Fix enum type mismatch in TestOrderCondition
5 years ago
Jonathan G Rennison
6d3e9093c4
TBTR: Show warning on templates which include unavailable vehicles
5 years ago
Jonathan G Rennison
9d861fb8a0
TBTR: Allow cloning virtual/template trains with unavailable engines
5 years ago
PeterN
0ab6244f6b
Fix #7165 : Missed another 'Append() --> push_back()' replacement ( #7548 )
5 years ago
translators
ead5b55119
Update: Translations from eints
...
spanish (mexican): 3 changes by Absay
russian: 3 changes by Lone_Wolf
5 years ago
Jonathan G Rennison
2ff8a71e59
Fix handling of road-stop states in a6ea1ea40
5 years ago
peter1138
b454ca7110
Fix 81d335b: Coverage button missing from town window in scenario editor.
5 years ago
Jonathan G Rennison
a6ea1ea408
Allow articulated road vehicles to overtake other vehicles
...
Add setting
5 years ago
Jonathan G Rennison
c84a8c14b4
Add ground vehicle cache info to vehicle debug window
5 years ago
translators
f354b869c1
Update: Translations from eints
...
indonesian: 3 changes by fanioz
croatian: 3 changes by VoyagerOne
5 years ago
translators
5b0ce8c214
Update: Translations from eints
...
finnish: 3 changes by hpiirai
italian: 3 changes by lorenzodv
5 years ago
Niels Martin Hansen
d5841109f0
Fix dcb2571: Missing override keywords
5 years ago
peter1138
81d335b081
Feature: Add station coverage area display for towns.
5 years ago
peter1138
81f0f97406
Feature: Add existing station coverage area display when placing new station parts.
5 years ago
peter1138
b6733edd17
Feature: Add coverage area display for existing stations.
5 years ago
Niels Martin Hansen
37daf43037
Change: Zoom title game by UI zoom level
5 years ago
Niels Martin Hansen
58609e8fa6
Fix: Manager name in company news was being clipped
5 years ago
Niels Martin Hansen
2c67af391b
Fix: Scale news ticker scroll speed by UI scale
5 years ago
Niels Martin Hansen
62dec9f174
Fix: Scale all min size and padding by UI scale
5 years ago
Jonathan G Rennison
fedfedc492
Silence false-positive misalignment UBSan warning in YAPF road, ship
5 years ago
Niels Martin Hansen
dd35a43703
Codechange: Revert unnecessary indentation change
5 years ago
Niels Martin Hansen
a64bd6e22c
Fix: Also breaking for warning text in set company password
5 years ago
Niels Martin Hansen
08284e005d
Fix: Automatic line breaking of the warning
5 years ago
Niels Martin Hansen
dcb2571888
Add: Warn players that company passwords are not truly secure
5 years ago
Jonathan G Rennison
92d97d9879
Allow removing signals from plain rail track when a train is present
5 years ago
Jonathan G Rennison
85c8f4baca
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# src/os/macosx/crashlog_osx.cpp
5 years ago
Jonathan G Rennison
cc970aac70
Add sigaltstack support to MacOS crashlog
5 years ago
Jonathan G Rennison
145fee04fa
Add sigaltstack support to Unix crashlog
5 years ago
Jonathan G Rennison
61a4ecf078
Add sigaction and ucontext support to Mac crashlog
5 years ago
Jonathan G Rennison
bd2fdde759
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/core/sort_func.hpp
# src/rail_cmd.cpp
# src/timetable_cmd.cpp
# src/video/sdl_v.cpp
# src/video/win32_v.cpp
5 years ago
peter1138
66cd32a252
Codechange: Use std::underlying_type for DECLARE_POSTFIX_INCREMENT.
5 years ago
peter1138
ac1e1a272f
Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET.
...
This fixes 64 bit uses of this macro.
5 years ago
PeterN
c17736b493
Fix e8d397e: Invisible station/waypoint signs could still be clicked on. ( #7531 )
5 years ago
PeterN
be073b46da
Fix: Bounds check access to railtype_map. ( #7529 )
5 years ago
PeterN
d2b6176cdf
Add: NewGRF string codes to access PUSH/POP_COLOUR. ( #7527 )
5 years ago
glx22
66a8db9dc5
Fix #7526 , 5b77102b6: FiosItem::operator< must return false for equality ( #7528 )
5 years ago
Jonathan G Rennison
da2528cbe2
Add defensive checks to MacOSStringCompare
5 years ago
Jonathan G Rennison
ede88aa6cd
Fix multi-packet network content requests (ContentVector)
...
Broken by incorrect merge conflict resolution in ba34ec7ad
See #86
5 years ago
glx
ebd4f32d15
Cleanup: remove core/sort_func.hpp as it's not used anymore
5 years ago
glx
48f99fd980
Codechange: use std::array for _sorted_industry_types
5 years ago
glx
60da17418a
Codechange: use std::sort in SaveHighScoreValueNetwork()
5 years ago
glx
9388fa2aa1
Codechange: use std::vector to sort _all_grfs linked list
5 years ago
glx
8899272614
Codechange: use std::vector for _language_dropdown
5 years ago
glx
9195f2337a
Codechange: use std::vector for _resolutions
5 years ago
glx
25e534f3cf
Codechange: use std::vector for _sorted_railtypes
5 years ago
glx
0797de06be
Codechange: use std::vector for _sorted_cargo_specs
5 years ago
Jonathan G Rennison
8715574c4a
Merge branch 'crashlog_improvements' into jgrpp
5 years ago
Jonathan G Rennison
73c8715eb6
Add LLDB self debug to OSX
5 years ago
Jonathan G Rennison
55fbf37373
Add missing includes to newgrf_text.cpp
5 years ago
Jonathan G Rennison
1c0643e419
Add GRF ID/name to "Too many NewGRF string parameters" messages
5 years ago
Jonathan G Rennison
0c3fbecb96
Delete GSortT implementation
...
Unused
5 years ago
translators
f0b3267615
Update: Translations from eints
...
indonesian: 9 changes by fanioz
5 years ago
Jonathan G Rennison
2a41d783cd
Adjust vehicle position filter in ViewportMapDrawVehicles
5 years ago