Update StarClientApplication.hpp
This commit is contained in:
parent
e009a15ba7
commit
226ff4e278
@ -18,6 +18,11 @@ STAR_CLASS(Input);
|
|||||||
STAR_CLASS(Voice);
|
STAR_CLASS(Voice);
|
||||||
|
|
||||||
class ClientApplication : public Application {
|
class ClientApplication : public Application {
|
||||||
|
public:
|
||||||
|
void setPostProcessGroupEnabled(String group, bool enabled, Maybe<bool> save);
|
||||||
|
bool postProcessGroupEnabled(String group);
|
||||||
|
Json postProcessGroups();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void startup(StringList const& cmdLineArgs) override;
|
virtual void startup(StringList const& cmdLineArgs) override;
|
||||||
virtual void shutdown() override;
|
virtual void shutdown() override;
|
||||||
@ -53,9 +58,14 @@ private:
|
|||||||
String password;
|
String password;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct PostProcessGroup {
|
||||||
|
bool enabled;
|
||||||
|
};
|
||||||
|
|
||||||
struct PostProcessLayer {
|
struct PostProcessLayer {
|
||||||
List<String> effects;
|
List<String> effects;
|
||||||
unsigned passes;
|
unsigned passes;
|
||||||
|
PostProcessGroup* group;
|
||||||
};
|
};
|
||||||
|
|
||||||
void renderReload();
|
void renderReload();
|
||||||
@ -104,6 +114,7 @@ private:
|
|||||||
WorldRenderData m_renderData;
|
WorldRenderData m_renderData;
|
||||||
MainInterfacePtr m_mainInterface;
|
MainInterfacePtr m_mainInterface;
|
||||||
|
|
||||||
|
StringMap<PostProcessGroup> m_postProcessGroups;
|
||||||
List<PostProcessLayer> m_postProcessLayers;
|
List<PostProcessLayer> m_postProcessLayers;
|
||||||
|
|
||||||
// Valid if main app state == SinglePlayer
|
// Valid if main app state == SinglePlayer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user