(svn r23613) -Add: allow IsDeveloperOnly in info.nut, to indicate if you can select this GS via the GUI (optional, defaults to false)

This commit is contained in:
truebrain
2011-12-19 20:57:08 +00:00
parent 963802e9a7
commit 1616961ea2
5 changed files with 36 additions and 7 deletions

View File

@@ -142,6 +142,10 @@ public:
*/
int GetSettingDefaultValue(const char *name) const;
/**
* Can this script be selected by developers only?
*/
virtual bool IsDeveloperOnly() const { return false; }
protected:
class Squirrel *engine; ///< Engine used to register for Squirrel.