Documentation: Update low level changes document
This commit is contained in:
@@ -5,12 +5,14 @@ This document does not describe the player-visible changes/additions described i
|
|||||||
|
|
||||||
### Crash logger and diagnostics
|
### Crash logger and diagnostics
|
||||||
|
|
||||||
* Additional logged items: current company ID, map size, configure invocation, detailed OS version (Unix), thread name, signal details (Unix, Mac), recently executed commands.
|
* Additional logged items: current company ID, map size, configure invocation, thread name, recently executed commands.
|
||||||
|
* Additional logged platform-specific items: detailed OS version (Unix), signal details (Unix, Mac), exception record data (Windows).
|
||||||
* Better handling of crashes which occur in a non-main thread (ask the main thread to do the crash screenshot and savegame).
|
* Better handling of crashes which occur in a non-main thread (ask the main thread to do the crash screenshot and savegame).
|
||||||
* Support logging register values on Unix and Mac.
|
* Support logging register values on Unix and Mac.
|
||||||
* Support using libbfd for symbol lookup and line numbers (gcc/clang).
|
* Support using libbfd for symbol lookup and line numbers (gcc/clang).
|
||||||
* Support using gdb/lldb if available to add further detail to the crashlog (Unix, Mac).
|
* Support using gdb/lldb if available to add further detail to the crashlog (Unix, Mac).
|
||||||
* Support using sigaction and sigaltstack for more information and correct handling of stack overflow crashes (Unix, Mac).
|
* Support using sigaction and sigaltstack for more information and correct handling of stack overflow crashes (Unix).
|
||||||
|
* Attempt to log stack overflow and heap corruption exceptions (Windows).
|
||||||
* Demangle C++ symbols (Unix).
|
* Demangle C++ symbols (Unix).
|
||||||
* Attempt to handle segfaults which occur within the crashlog handler (Unix).
|
* Attempt to handle segfaults which occur within the crashlog handler (Unix).
|
||||||
* Emit a "crash" log, savegame and screenshot on multiplayer desync.
|
* Emit a "crash" log, savegame and screenshot on multiplayer desync.
|
||||||
@@ -46,6 +48,8 @@ De-virtualise calls to AnimateTile().
|
|||||||
|
|
||||||
Cache bridge/tunnel start and ends.
|
Cache bridge/tunnel start and ends.
|
||||||
Cache station sign bounds.
|
Cache station sign bounds.
|
||||||
|
Split sprite sort regions when more than 60 sprites present.
|
||||||
|
Reduce unnecessary region redraws when scrolling viewports.
|
||||||
|
|
||||||
### Data structures
|
### Data structures
|
||||||
|
|
||||||
@@ -64,6 +68,7 @@ Observe the operation of the NewGRF when getting the vehicle image/sprite, and e
|
|||||||
Add consist flag for case where no vehicles in consist are on a slope.
|
Add consist flag for case where no vehicles in consist are on a slope.
|
||||||
Add vehicle flag to mark the last vehicle in a consist with a visual effect.
|
Add vehicle flag to mark the last vehicle in a consist with a visual effect.
|
||||||
Index the vehicle list in per type arrays for use by CallVehicleTicks.
|
Index the vehicle list in per type arrays for use by CallVehicleTicks.
|
||||||
|
Cache whether the vehicle should be drawn.
|
||||||
|
|
||||||
### Network/multiplayer
|
### Network/multiplayer
|
||||||
|
|
||||||
@@ -85,7 +90,6 @@ Various forms of caching and incremental updates to the link graph overlay.
|
|||||||
Change FlowStat from an RB-tree to a flat map with small-object optimisation.
|
Change FlowStat from an RB-tree to a flat map with small-object optimisation.
|
||||||
Change FlowStatMap from an RB-tree to a B-tree indexed vector.
|
Change FlowStatMap from an RB-tree to a B-tree indexed vector.
|
||||||
Replace MCF Dijkstra RB-tree with B-tree.
|
Replace MCF Dijkstra RB-tree with B-tree.
|
||||||
Skip per source node MCF Dijkstra when all demand for that node has been satisfied.
|
|
||||||
|
|
||||||
### Pathfinder
|
### Pathfinder
|
||||||
|
|
||||||
@@ -108,7 +112,6 @@ Avoid redundant re-scans for AI and game script files.
|
|||||||
Avoid iterating vehicle list to release disaster vehicles if there are none.
|
Avoid iterating vehicle list to release disaster vehicles if there are none.
|
||||||
Avoid quadratic behaviour in updating station nearby lists in RecomputeCatchmentForAll.
|
Avoid quadratic behaviour in updating station nearby lists in RecomputeCatchmentForAll.
|
||||||
Increase FIO buffer size.
|
Increase FIO buffer size.
|
||||||
Avoid unnecessary calls to SettingsDisableElrail in AfterLoadGame.
|
|
||||||
|
|
||||||
### Command line
|
### Command line
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user