92c4c39b96
While looking at https://github.com/OpenRCT2/OpenRCT2/issues/7176#issuecomment-365399194 I got a crash with stacktrace: #0 0x7f9e81fa2e30 in object_entry_get_entry(int, unsigned long) ../src/openrct2/object/ObjectList.cpp:181 #1 0x7f9e81fa24ae in get_loaded_object_entry(unsigned long) ../src/openrct2/object/ObjectList.cpp:142 #2 0x7f9e8215d64f in S6Exporter::Export() ../src/openrct2/rct2/S6Exporter.cpp:169 #3 0x7f9e8216de71 in scenario_save(char const*, int) ../src/openrct2/rct2/S6Exporter.cpp:757 #4 0x7f9e81c932b0 in game_autosave() ../src/openrct2/Game.cpp:1590 #5 0x7f9e828625b6 in scenario_autosave_check() ../src/openrct2/scenario/Scenario.cpp:297 #6 0x7f9e81c8a958 in game_update() ../src/openrct2/Game.cpp:439 #7 0x7f9e81c6731f in OpenRCT2::Context::Update() (/home/janisozaur/workspace/OpenRCT2/build/libopenrct2.so+0x10f331f) #8 0x7f9e81c6674c in OpenRCT2::Context::RunVariableFrame() (/home/janisozaur/workspace/OpenRCT2/build/libopenrct2.so+0x10f274c) #9 0x7f9e81c6402d in OpenRCT2::Context::RunFrame() (/home/janisozaur/workspace/OpenRCT2/build/libopenrct2.so+0x10f002d) #10 0x7f9e81c638f4 in OpenRCT2::Context::RunGameLoop() (/home/janisozaur/workspace/OpenRCT2/build/libopenrct2.so+0x10ef8f4) #11 0x7f9e81c627bf in OpenRCT2::Context::Launch() (/home/janisozaur/workspace/OpenRCT2/build/libopenrct2.so+0x10ee7bf) #12 0x7f9e81c5b08a in OpenRCT2::Context::RunOpenRCT2(int, char const**) ../src/openrct2/Context.cpp:170 #13 0x56323695b95e in main ../src/openrct2-ui/Ui.cpp:60 Sadly I cannot reproduce it anymore |
||
---|---|---|
.. | ||
actions | ||
audio | ||
cmdline | ||
config | ||
core | ||
drawing | ||
interface | ||
localisation | ||
management | ||
network | ||
object | ||
paint | ||
peep | ||
platform | ||
rct1 | ||
rct2 | ||
rct12 | ||
ride | ||
scenario | ||
title | ||
ui | ||
util | ||
windows | ||
world | ||
CMakeLists.txt | ||
Cheats.cpp | ||
Cheats.h | ||
CmdlineSprite.cpp | ||
CmdlineSprite.h | ||
Context.cpp | ||
Context.h | ||
Date.cpp | ||
Date.h | ||
Diagnostic.cpp | ||
Diagnostic.h | ||
Editor.cpp | ||
Editor.h | ||
EditorObjectSelectionSession.cpp | ||
EditorObjectSelectionSession.h | ||
FileClassifier.cpp | ||
FileClassifier.h | ||
Game.cpp | ||
Game.h | ||
Imaging.cpp | ||
Imaging.h | ||
Input.cpp | ||
Input.h | ||
Intro.cpp | ||
Intro.h | ||
OpenRCT2.cpp | ||
OpenRCT2.h | ||
ParkImporter.cpp | ||
ParkImporter.h | ||
PlatformEnvironment.cpp | ||
PlatformEnvironment.h | ||
Version.cpp | ||
Version.h | ||
common.h | ||
libopenrct2.vcxproj | ||
readme.md | ||
sprites.h |
readme.md
Source directory structure
-
audio
Contains files for mixing and playing music and sound.
-
drawing
Low level drawing logic and palette tables.
-
interface
Window and widget logic, includes high level drawing and input.
-
localisation
String IDs, currency and date logic.
-
network
Network and multiplayer logic, includes management of network games and downloading / uploading of content.
-
management
Park management logic such as finance, marketing and research.
-
peep
Guest and staff definitions and logic such as action management and pathfinding.
-
platform
Compiler and operating system specific code such as type definitions, message handling and file input / output.
-
ride
Data and logic for rides, vehicles and track.
-
util
Utility and helper functions.
-
windows
Definitions and logic for all the windows in the game.
-
world
World objects and mechanics such as the climate, landscape, sprites and park.