mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
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:
parent
a0bbe0ec18
commit
f5a34308f9
382 changed files with 588 additions and 130 deletions
|
|
@ -13,4 +13,12 @@ bool isValidIP(const char* ip);
|
|||
|
||||
bool isValidPort(U16 port);
|
||||
|
||||
#endif
|
||||
void gotoWebPage(const char* address);
|
||||
|
||||
bool getDocsURL(void* obj, const char* array, const char* data);
|
||||
const char* getDocsLink(const char* filename, U32 lineNumber);
|
||||
|
||||
#define docsURL addGroup("Ungrouped");\
|
||||
addProtectedField("docsURL", TypeBool, Offset(mDocsClick, ConsoleObject), &getDocsURL, &defaultProtectedGetFn, getDocsLink(__FILE__,__LINE__), AbstractClassRep::FieldFlags::FIELD_ComponentInspectors);\
|
||||
endGroup("Ungrouped")
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue