|
@@ -843,7 +843,7 @@ STRIP_CODE_COMMENTS = NO
|
|
# then for each documented function all documented
|
|
# then for each documented function all documented
|
|
# functions referencing it will be listed.
|
|
# functions referencing it will be listed.
|
|
|
|
|
|
-REFERENCED_BY_RELATION = YES
|
|
|
|
|
|
+REFERENCED_BY_RELATION = NO
|
|
|
|
|
|
# If the REFERENCES_RELATION tag is set to YES
|
|
# If the REFERENCES_RELATION tag is set to YES
|
|
# then for each documented function all documented entities
|
|
# then for each documented function all documented entities
|
|
@@ -1625,11 +1625,11 @@ INCLUDE_FILE_PATTERNS =
|
|
# Convert abstract types like ConsoleString into TorqueScript types
|
|
# Convert abstract types like ConsoleString into TorqueScript types
|
|
|
|
|
|
PREDEFINED = TORQUE_DEBUG
|
|
PREDEFINED = TORQUE_DEBUG
|
|
-PREDEFINED += ConsoleString=string
|
|
|
|
-PREDEFINED += ConsoleInt=int
|
|
|
|
-PREDEFINED += ConsoleFloat=float
|
|
|
|
|
|
+PREDEFINED += ConsoleString=String
|
|
|
|
+PREDEFINED += ConsoleInt=Integer
|
|
|
|
+PREDEFINED += ConsoleFloat=Float
|
|
PREDEFINED += ConsoleVoid=void
|
|
PREDEFINED += ConsoleVoid=void
|
|
-PREDEFINED += ConsoleBool=bool
|
|
|
|
|
|
+PREDEFINED += ConsoleBool=Boolean
|
|
|
|
|
|
# T2D
|
|
# T2D
|
|
# We have turned off our reference to a Torque2D tag file. This means we can
|
|
# We have turned off our reference to a Torque2D tag file. This means we can
|
|
@@ -1639,37 +1639,53 @@ PREDEFINED += ConsoleBool=bool
|
|
# simple (pseudo) classes for our TorqueScript class-like system (for instance SceneObject::)
|
|
# simple (pseudo) classes for our TorqueScript class-like system (for instance SceneObject::)
|
|
|
|
|
|
# TorqueScript methods
|
|
# TorqueScript methods
|
|
-# Temporarily, the unconverted ones
|
|
|
|
|
|
+# Temporarily, the unconverted ones (they don't end in "WithDocs") are still around.
|
|
|
|
+# We'll have them produce functions with (...) for the parameter set
|
|
|
|
+# Also, grouping of functions can no longer be done with these macros. It will have to be done with comments
|
|
|
|
+# in the source code.
|
|
|
|
|
|
-# PREDEFINED += ConsoleFunctionGroupBegin(groupName,usage)="namespace Functions { namespace groupName {"
|
|
|
|
-# PREDEFINED += ConsoleFunctionGroupEnd(groupName)=" "
|
|
|
|
PREDEFINED += ConsoleFunctionGroupBegin(groupName,usage)=""
|
|
PREDEFINED += ConsoleFunctionGroupBegin(groupName,usage)=""
|
|
PREDEFINED += ConsoleFunctionGroupEnd(groupName)=""
|
|
PREDEFINED += ConsoleFunctionGroupEnd(groupName)=""
|
|
-
|
|
|
|
PREDEFINED += ConsoleFunction(name,returnType,minArgs,maxArgs,usage1)="returnType name (...) "
|
|
PREDEFINED += ConsoleFunction(name,returnType,minArgs,maxArgs,usage1)="returnType name (...) "
|
|
|
|
|
|
# The converted ones
|
|
# The converted ones
|
|
|
|
+# Sadly, we cannot express a "module" or "group" of functions using macros.
|
|
|
|
+# This is because a group is created within comments and we cannot have a macro expand into comments.
|
|
|
|
+# (Maybe doxygen should provide this?)
|
|
|
|
+# Instead yhou must go in the code and put the following around your function group
|
|
|
|
+#
|
|
|
|
+# /*! @defgroup groupName
|
|
|
|
+# @inGroup TorqueScriptFunctions
|
|
|
|
+# @{
|
|
|
|
+# */
|
|
|
|
+#
|
|
|
|
+# ...
|
|
|
|
+#
|
|
|
|
+# /*! @} */
|
|
|
|
|
|
-PREDEFINED += ConsoleFunctionGroupBeginWithDocs(groupName)="/*! @defgroup groupName \n\n @{ */"
|
|
|
|
-PREDEFINED += ConsoleFunctionGroupEndWithDocs(groupName)="/*! @} */"
|
|
|
|
-
|
|
|
|
|
|
+# These won't work! We'd have to expand them to comments, which doesn't work for macros, even in Doxygen.
|
|
|
|
+# PREDEFINED += ConsoleFunctionGroupBeginWithDocs(groupName)=" "
|
|
|
|
+# PREDEFINED += ConsoleFunctionGroupEndWithDocs(groupName)=" "
|
|
PREDEFINED += ConsoleFunctionWithDocs(name,returnType,min,max,argString)="returnType name argString "
|
|
PREDEFINED += ConsoleFunctionWithDocs(name,returnType,min,max,argString)="returnType name argString "
|
|
|
|
|
|
# TorqueScript "classes"
|
|
# TorqueScript "classes"
|
|
# Temporarily, the unconverted ones
|
|
# Temporarily, the unconverted ones
|
|
|
|
+# Temporarily, the unconverted ones (they don't end in "WithDocs") are still around.
|
|
|
|
+# We'll have them produce class with _TODO appended to the name, and methods with (...) for the parameter set
|
|
|
|
|
|
# note: group begin/end not actually used but defined in Torque2D!
|
|
# note: group begin/end not actually used but defined in Torque2D!
|
|
PREDEFINED += ConsoleMethodGroupBegin(className,groupName,usage)="class className { public:"
|
|
PREDEFINED += ConsoleMethodGroupBegin(className,groupName,usage)="class className { public:"
|
|
PREDEFINED += ConsoleMethodGroupEnd(className,groupName)="}; "
|
|
PREDEFINED += ConsoleMethodGroupEnd(className,groupName)="}; "
|
|
-
|
|
|
|
PREDEFINED += ConsoleMethod(className,name,returnType,minArgs,maxArgs,usage1)="class className##_TODO { public: returnType className::name (...); };"
|
|
PREDEFINED += ConsoleMethod(className,name,returnType,minArgs,maxArgs,usage1)="class className##_TODO { public: returnType className::name (...); };"
|
|
PREDEFINED += ConsoleStaticMethod(className,name,returnType,minArgs,maxArgs,argString)="class className##_TODO { public: static returnType className::name (...); };"
|
|
PREDEFINED += ConsoleStaticMethod(className,name,returnType,minArgs,maxArgs,argString)="class className##_TODO { public: static returnType className::name (...); };"
|
|
|
|
|
|
# The converted ones
|
|
# The converted ones
|
|
|
|
+# There is a special "root" group wrapper used just for SimSet since it has no superclass.
|
|
|
|
|
|
PREDEFINED += ConsoleMethodGroupBeginWithDocs(className,superclassName)="class className : public superclassName { public:"
|
|
PREDEFINED += ConsoleMethodGroupBeginWithDocs(className,superclassName)="class className : public superclassName { public:"
|
|
|
|
+PREDEFINED += ConsoleMethodRootGroupBeginWithDocs(className)="class className { public:"
|
|
PREDEFINED += ConsoleMethodGroupEndWithDocs(className)="};"
|
|
PREDEFINED += ConsoleMethodGroupEndWithDocs(className)="};"
|
|
-
|
|
|
|
|
|
+PREDEFINED += ConsoleMethodRootGroupEndWithDocs(className)="};"
|
|
PREDEFINED += ConsoleMethodWithDocs(className,name,returnType,minArgs,maxArgs,argString)="returnType className::name argString"
|
|
PREDEFINED += ConsoleMethodWithDocs(className,name,returnType,minArgs,maxArgs,argString)="returnType className::name argString"
|
|
PREDEFINED += ConsoleStaticMethodWithDocs(className,name,returnType,minArgs,maxArgs,argString)="static returnType className::name argString"
|
|
PREDEFINED += ConsoleStaticMethodWithDocs(className,name,returnType,minArgs,maxArgs,argString)="static returnType className::name argString"
|
|
|
|
|