init
This commit is contained in:
32
src/client/launcher/launcher.hpp
Normal file
32
src/client/launcher/launcher.hpp
Normal file
@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
#include "html/html_window.hpp"
|
||||
|
||||
class launcher final
|
||||
{
|
||||
public:
|
||||
enum class mode
|
||||
{
|
||||
none,
|
||||
singleplayer,
|
||||
multiplayer,
|
||||
server,
|
||||
// Surrogates
|
||||
survival,
|
||||
zombies,
|
||||
};
|
||||
|
||||
launcher();
|
||||
|
||||
mode run() const;
|
||||
|
||||
private:
|
||||
mode mode_ = mode::none;
|
||||
|
||||
html_window main_window_;
|
||||
|
||||
void select_mode(mode mode);
|
||||
|
||||
void create_main_menu();
|
||||
|
||||
static std::string load_content(int res);
|
||||
};
|
Reference in New Issue
Block a user