aboutsummaryrefslogtreecommitdiff
path: root/libs/uibase/include
diff options
context:
space:
mode:
authorSulfurNitride <lukew19@proton.me>2026-06-24 22:37:19 -0500
committerGitHub <noreply@github.com>2026-06-24 22:37:19 -0500
commite4fefc7f186a77174c93d6894b5c9252785b98cc (patch)
tree1cfd7d2b23cfeb8b8792ea93621600013974527f /libs/uibase/include
parent1be46fbb193010d6a5d1ea79167eca08a99e8d4c (diff)
parente490b76e6ca5c5bbc52429a2cf16b7fe91fffc09 (diff)
Merge pull request #108 from tristan-iu/openmw-support
OpenMW support
Diffstat (limited to 'libs/uibase/include')
-rw-r--r--libs/uibase/include/uibase/iplugingame.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/uibase/include/uibase/iplugingame.h b/libs/uibase/include/uibase/iplugingame.h
index c7760f1..86ed7b0 100644
--- a/libs/uibase/include/uibase/iplugingame.h
+++ b/libs/uibase/include/uibase/iplugingame.h
@@ -154,6 +154,19 @@ public:
/**
* this function may be called before init()
*
+ * @return true if Fluorine should mount its FUSE VFS over the game's data
+ * directory for this game (the default). Return false for games that
+ * manage their own virtual file system — e.g. OpenMW, which reads mods
+ * from data= entries in openmw.cfg — so Fluorine skips the mount
+ * entirely and lets the engine resolve its own load order. This is
+ * distinct from isNativeLinux(): a native Linux game (e.g. Stardew
+ * Valley) can still rely on the VFS to expose its mods.
+ */
+ virtual bool usesVFS() const { return true; }
+
+ /**
+ * this function may be called before init()
+ *
* @return an icon for this game
*/
virtual QIcon gameIcon() const = 0;