Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/client/StarClientApplication.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-04-30 12:49:47 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2025-04-30 12:49:47 +1000
commitd3d4345e057d95d784e34be9b23e7fe07fb9a7c1 (patch)
treef59fa890e5be1d590e42a337448cecfc6b61850a /source/client/StarClientApplication.hpp
parent86e229012f84744a1e878124d9a6e2991c0460bb (diff)
parent885502bf11057e7de961f178bc85ce93a9f40723 (diff)
Merge branch 'main' into pr/218
Diffstat (limited to 'source/client/StarClientApplication.hpp')
-rw-r--r--source/client/StarClientApplication.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/client/StarClientApplication.hpp b/source/client/StarClientApplication.hpp
index 86b50a3..8824ea0 100644
--- a/source/client/StarClientApplication.hpp
+++ b/source/client/StarClientApplication.hpp
@@ -19,8 +19,9 @@ STAR_CLASS(Voice);
class ClientApplication : public Application {
public:
- void setPostProcessGroupEnabled(String group, bool enabled, Maybe<bool> save);
- bool postProcessGroupEnabled(String group);
+ void setPostProcessLayerPasses(String const& layer, unsigned const& passes);
+ void setPostProcessGroupEnabled(String const& group, bool const& enabled, Maybe<bool> const& save);
+ bool postProcessGroupEnabled(String const& group);
Json postProcessGroups();
protected:
@@ -56,6 +57,7 @@ private:
Variant<P2PNetworkingPeerId, HostAddressWithPort> server;
String account;
String password;
+ bool forceLegacy;
};
struct PostProcessGroup {
@@ -116,6 +118,7 @@ private:
StringMap<PostProcessGroup> m_postProcessGroups;
List<PostProcessLayer> m_postProcessLayers;
+ StringMap<size_t> m_labelledPostProcessLayers;
// Valid if main app state == SinglePlayer
UniverseServerPtr m_universeServer;