1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Read legacy shortcuts and move to constants

This commit is contained in:
Ted John
2021-01-12 22:34:30 +00:00
parent 900f3cd92b
commit e7ae9f9f15
10 changed files with 520 additions and 117 deletions

View File

@@ -81,7 +81,8 @@ private:
switch (pathid)
{
case PATHID::CONFIG:
case PATHID::CONFIG_KEYBOARD:
case PATHID::CONFIG_SHORTCUTS_LEGACY:
case PATHID::CONFIG_SHORTCUTS:
return DIRBASE::CONFIG;
case PATHID::CACHE_OBJECTS:
case PATHID::CACHE_TRACKS:
@@ -232,7 +233,8 @@ const char * PlatformEnvironment::DirectoryNamesOpenRCT2[] =
const char * PlatformEnvironment::FileNames[] =
{
"config.ini", // CONFIG
"hotkeys.dat", // CONFIG_KEYBOARD
"hotkeys.dat", // CONFIG_SHORTCUTS_LEGACY
"shortcuts.json", // CONFIG_SHORTCUTS
"objects.idx", // CACHE_OBJECTS
"tracks.idx", // CACHE_TRACKS
"scenarios.idx", // CACHE_SCENARIOS