diff options
author | Bottinator22 <59987380+Bottinator22@users.noreply.github.com> | 2024-12-18 18:07:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 18:07:58 -0800 |
commit | 226ff4e2788bb8f5c04eae629b777cf9b44112d7 (patch) | |
tree | fa6469078dae213cb30692b17004a29e9ab62f01 /source/client | |
parent | e009a15ba7a851625627852f3fd8219e9ba962b5 (diff) |
Update StarClientApplication.hpp
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/StarClientApplication.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/client/StarClientApplication.hpp b/source/client/StarClientApplication.hpp index 840dc9a..323f2b7 100644 --- a/source/client/StarClientApplication.hpp +++ b/source/client/StarClientApplication.hpp @@ -18,6 +18,11 @@ STAR_CLASS(Input); STAR_CLASS(Voice); class ClientApplication : public Application { +public: + void setPostProcessGroupEnabled(String group, bool enabled, Maybe<bool> save); + bool postProcessGroupEnabled(String group); + Json postProcessGroups(); + protected: virtual void startup(StringList const& cmdLineArgs) override; virtual void shutdown() override; @@ -53,9 +58,14 @@ private: String password; }; + struct PostProcessGroup { + bool enabled; + }; + struct PostProcessLayer { List<String> effects; unsigned passes; + PostProcessGroup* group; }; void renderReload(); @@ -104,6 +114,7 @@ private: WorldRenderData m_renderData; MainInterfacePtr m_mainInterface; + StringMap<PostProcessGroup> m_postProcessGroups; List<PostProcessLayer> m_postProcessLayers; // Valid if main app state == SinglePlayer |