Skip to content

Commit

Permalink
Starfield Creation Update: Convert overlay/override flags to medium f…
Browse files Browse the repository at this point in the history
…lags (#148)
  • Loading branch information
Silarn authored Jun 13, 2024
1 parent 0458708 commit e3ec760
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/game_features/gameplugins.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GamePlugins : public details::GameFeatureCRTP<GamePlugins>
virtual void readPluginLists(MOBase::IPluginList* pluginList) = 0;
virtual QStringList getLoadOrder() = 0;
virtual bool lightPluginsAreSupported() = 0;
virtual bool overridePluginsAreSupported() = 0;
virtual bool mediumPluginsAreSupported() = 0;
};

} // namespace MOBase
Expand Down
18 changes: 9 additions & 9 deletions src/ipluginlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,23 +195,23 @@ class IPluginList
virtual bool isMasterFlagged(const QString& name) const = 0;

/**
* @brief determine if a plugin is flagged as light
* @brief determine if a plugin is flagged as medium
* @param name filename of the plugin (without path but with file extension)
* @return true if the file is flagged as light, false if it isn't OR if the file
* @return true if the file is flagged as medium, false if it isn't OR if the file
* doesn't exist.
* @note in gamebryo games, a light file will usually have a .esl file
* @note this plugin flag was added in Starfield and signifies plugins in between
* master and light plugins.
*/
virtual bool isLightFlagged(const QString& name) const = 0;
virtual bool isMediumFlagged(const QString& name) const = 0;

/**
* @brief determine if a plugin is flagged as an overlay
* @brief determine if a plugin is flagged as light
* @param name filename of the plugin (without path but with file extension)
* @return true if the file is flagged as overlay, false if it isn't OR if the file
* @return true if the file is flagged as light, false if it isn't OR if the file
* doesn't exist.
* @note this plugin flag was added in Starfield and signifies plugin records that
* update existing records
* @note in gamebryo games, a light file will usually have a .esl file
*/
virtual bool isOverlayFlagged(const QString& name) const = 0;
virtual bool isLightFlagged(const QString& name) const = 0;

/**
* @brief determine if a plugin has no records
Expand Down

0 comments on commit e3ec760

Please sign in to comment.