2017-02-16 15:58:40 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-05-18 12:53:52 +00:00
|
|
|
#include <array>
|
|
|
|
|
2017-02-16 15:58:40 +00:00
|
|
|
namespace Config
|
|
|
|
{
|
2021-03-06 19:00:07 +00:00
|
|
|
// Layers in ascending order of priority.
|
2017-02-16 15:58:40 +00:00
|
|
|
enum class LayerType
|
|
|
|
{
|
|
|
|
Base,
|
2021-03-06 19:00:07 +00:00
|
|
|
CommandLine,
|
2017-02-16 15:58:40 +00:00
|
|
|
GlobalGame,
|
|
|
|
LocalGame,
|
|
|
|
Movie,
|
|
|
|
Netplay,
|
|
|
|
CurrentRun,
|
|
|
|
Meta,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum class System
|
|
|
|
{
|
|
|
|
Main,
|
2017-08-01 14:37:42 +00:00
|
|
|
SYSCONF,
|
2017-02-16 15:58:40 +00:00
|
|
|
GCPad,
|
|
|
|
WiiPad,
|
|
|
|
GCKeyboard,
|
|
|
|
GFX,
|
|
|
|
Logger,
|
|
|
|
Debugger,
|
2019-10-26 16:05:16 +00:00
|
|
|
DualShockUDPClient,
|
2020-07-23 00:19:35 +00:00
|
|
|
FreeLook,
|
2017-02-16 15:58:40 +00:00
|
|
|
};
|
2017-05-18 12:53:52 +00:00
|
|
|
|
|
|
|
constexpr std::array<LayerType, 7> SEARCH_ORDER{{
|
|
|
|
LayerType::CurrentRun,
|
|
|
|
LayerType::Netplay,
|
2021-03-06 19:00:07 +00:00
|
|
|
LayerType::Movie,
|
2017-05-18 12:53:52 +00:00
|
|
|
LayerType::LocalGame,
|
|
|
|
LayerType::GlobalGame,
|
2021-03-06 19:00:07 +00:00
|
|
|
LayerType::CommandLine,
|
2017-05-18 12:53:52 +00:00
|
|
|
LayerType::Base,
|
|
|
|
}};
|
2019-05-05 23:48:12 +00:00
|
|
|
} // namespace Config
|