NOISSUE first step towards having game options management

This commit is contained in:
Petr Mrázek
2019-01-30 00:35:24 +01:00
parent c1ea42d3d9
commit 62c9fcdc6c
10 changed files with 389 additions and 1 deletions

View File

@ -9,6 +9,7 @@
class ModsModel;
class SimpleModList;
class WorldList;
class GameOptions;
class LaunchStep;
class ComponentList;
@ -72,7 +73,7 @@ public:
std::shared_ptr<SimpleModList> resourcePackList() const;
std::shared_ptr<SimpleModList> texturePackList() const;
std::shared_ptr<WorldList> worldList() const;
std::shared_ptr<GameOptions> gameOptionsModel() const;
////// Launch stuff //////
shared_qobject_ptr<Task> createUpdateTask(Net::Mode mode) override;
@ -130,6 +131,7 @@ protected: // data
mutable std::shared_ptr<SimpleModList> m_resource_pack_list;
mutable std::shared_ptr<SimpleModList> m_texture_pack_list;
mutable std::shared_ptr<WorldList> m_world_list;
mutable std::shared_ptr<GameOptions> m_game_options;
};
typedef std::shared_ptr<MinecraftInstance> MinecraftInstancePtr;