mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-27 01:25:35 +00:00
Strongly typed palette entries.
This commit is contained in:
parent
e33c85b919
commit
4ec7dbef43
|
@ -4,27 +4,27 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace OpenDiablo2::Game::Common {
|
namespace OpenDiablo2::Game::Common {
|
||||||
|
|
||||||
class Palette {
|
class Palette {
|
||||||
public:
|
public:
|
||||||
const std::string Act1 = "ACT1";
|
typedef std::string Entry;
|
||||||
const std::string Act2 = "ACT2";
|
const Entry Act1 = "ACT1";
|
||||||
const std::string Act3 = "ACT3";
|
const Entry Act2 = "ACT2";
|
||||||
const std::string Act4 = "ACT4";
|
const Entry Act3 = "ACT3";
|
||||||
const std::string Act5 = "ACT5";
|
const Entry Act4 = "ACT4";
|
||||||
const std::string EndGame = "EndGame";
|
const Entry Act5 = "ACT5";
|
||||||
const std::string EndGame2 = "EndGame2";
|
const Entry EndGame = "EndGame";
|
||||||
const std::string Fechar = "fechar";
|
const Entry EndGame2 = "EndGame2";
|
||||||
const std::string Loading = "loading";
|
const Entry Fechar = "fechar";
|
||||||
const std::string Menu0 = "Menu0";
|
const Entry Loading = "loading";
|
||||||
const std::string Menu1 = "menu1";
|
const Entry Menu0 = "Menu0";
|
||||||
const std::string Menu2 = "menu2";
|
const Entry Menu1 = "menu1";
|
||||||
const std::string Menu3 = "menu3";
|
const Entry Menu2 = "menu2";
|
||||||
const std::string Menu4 = "menu4";
|
const Entry Menu3 = "menu3";
|
||||||
const std::string Sky = "Sky";
|
const Entry Menu4 = "menu4";
|
||||||
const std::string Static = "STATIC";
|
const Entry Sky = "Sky";
|
||||||
const std::string Trademark = "Trademark";
|
const Entry Static = "STATIC";
|
||||||
const std::string Units = "Units";
|
const Entry Trademark = "Trademark";
|
||||||
|
const Entry Units = "Units";
|
||||||
private:
|
private:
|
||||||
Palette() {}
|
Palette() {}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user