add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector

This commit is contained in:
AzaezelX 2023-01-27 01:13:15 -06:00
parent a0bbe0ec18
commit f5a34308f9
382 changed files with 588 additions and 130 deletions

View file

@ -55,6 +55,10 @@
#include "tinyxml2.h"
#endif
#ifndef _CONSOLFUNCTIONS_H_
#include "console/consoleFunctions.h"
#endif
/// @file
/// Legacy console object system.
@ -824,8 +828,11 @@ protected:
ConsoleObject(const ConsoleObject&);
public:
ConsoleObject() {}
/// <summary>
/// Only used for interfacing with the editor's inspector docsURL button
/// </summary>
bool mDocsClick;
ConsoleObject() { mDocsClick = false; }
/// Get a reference to a field by name.
const AbstractClassRep::Field *findField(StringTableEntry fieldName) const;