mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Use enum class instead of enum
This commit is contained in:
@@ -19,42 +19,42 @@
|
||||
#include <string>
|
||||
#include "common.h"
|
||||
|
||||
enum DIRBASE
|
||||
enum class DIRBASE
|
||||
{
|
||||
DIRBASE_RCT1, // Base directory for original RollerCoaster Tycoon 1 content.
|
||||
DIRBASE_RCT2, // Base directory for original RollerCoaster Tycoon 2 content.
|
||||
DIRBASE_OPENRCT2, // Base directory for OpenRCT2 installation.
|
||||
DIRBASE_USER, // Base directory for OpenRCT2 user content.
|
||||
RCT1, // Base directory for original RollerCoaster Tycoon 1 content.
|
||||
RCT2, // Base directory for original RollerCoaster Tycoon 2 content.
|
||||
OPENRCT2, // Base directory for OpenRCT2 installation.
|
||||
USER, // Base directory for OpenRCT2 user content.
|
||||
};
|
||||
|
||||
enum DIRID
|
||||
enum class DIRID
|
||||
{
|
||||
DIRID_DATA, // Contains g1.dat, music etc.
|
||||
DIRID_LANDSCAPE, // Contains scenario editor landscapes (SC6).
|
||||
DIRID_LANGUAGE, // Contains language packs.
|
||||
DIRID_LOG_CHAT, // Contains chat logs.
|
||||
DIRID_LOG_SERVER, // Contains server logs.
|
||||
DIRID_NETWORK_KEY, // Contains the user's public and private keys.
|
||||
DIRID_OBJECT, // Contains objects.
|
||||
DIRID_SAVE, // Contains saved games (SV6).
|
||||
DIRID_SCENARIO, // Contains scenarios (SC6).
|
||||
DIRID_SCREENSHOT, // Contains screenshots.
|
||||
DIRID_SEQUENCE, // Contains title sequences.
|
||||
DIRID_SHADER, // Contains OpenGL shaders.
|
||||
DIRID_THEME, // Contains interface themes.
|
||||
DIRID_TRACK, // Contains track designs.
|
||||
DATA, // Contains g1.dat, music etc.
|
||||
LANDSCAPE, // Contains scenario editor landscapes (SC6).
|
||||
LANGUAGE, // Contains language packs.
|
||||
LOG_CHAT, // Contains chat logs.
|
||||
LOG_SERVER, // Contains server logs.
|
||||
NETWORK_KEY, // Contains the user's public and private keys.
|
||||
OBJECT, // Contains objects.
|
||||
SAVE, // Contains saved games (SV6).
|
||||
SCENARIO, // Contains scenarios (SC6).
|
||||
SCREENSHOT, // Contains screenshots.
|
||||
SEQUENCE, // Contains title sequences.
|
||||
SHADER, // Contains OpenGL shaders.
|
||||
THEME, // Contains interface themes.
|
||||
TRACK, // Contains track designs.
|
||||
};
|
||||
|
||||
enum PATHID
|
||||
enum class PATHID
|
||||
{
|
||||
PATHID_CONFIG, // Main configuration (config.ini).
|
||||
PATHID_CONFIG_KEYBOARD, // Keyboard shortcuts. (hotkeys.cfg)
|
||||
PATHID_CACHE_OBJECTS, // Object repository cache (objects.idx).
|
||||
PATHID_CACHE_TRACKS, // Track repository cache (tracks.idx).
|
||||
PATHID_NETWORK_GROUPS, // Server groups with permissions (groups.json).
|
||||
PATHID_NETWORK_SERVERS, // Saved servers (servers.cfg).
|
||||
PATHID_NETWORK_USERS, // Users and their groups (users.json).
|
||||
PATHID_SCORES, // Scenario scores (highscores.dat).
|
||||
CONFIG, // Main configuration (config.ini).
|
||||
CONFIG_KEYBOARD, // Keyboard shortcuts. (hotkeys.cfg)
|
||||
CACHE_OBJECTS, // Object repository cache (objects.idx).
|
||||
CACHE_TRACKS, // Track repository cache (tracks.idx).
|
||||
NETWORK_GROUPS, // Server groups with permissions (groups.json).
|
||||
NETWORK_SERVERS, // Saved servers (servers.cfg).
|
||||
NETWORK_USERS, // Users and their groups (users.json).
|
||||
SCORES, // Scenario scores (highscores.dat).
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user