Jelajahi Sumber

combine some global function sets together. there are too many sets with only one or two (questionable) functions.
also add a few scriptBindings to the studio file. missed a few.

Charlie Patterson 12 tahun lalu
induk
melakukan
810613812e
21 mengubah file dengan 13 tambahan dan 5 penghapusan
  1. 2 0
      engine/compilers/VisualStudio 2012/Torque 2D.vcxproj
  2. 6 0
      engine/compilers/VisualStudio 2012/Torque 2D.vcxproj.filters
  3. TEMPAT SAMPAH
      engine/source/console/consoleDoc_ScriptBinding.h
  4. TEMPAT SAMPAH
      engine/source/console/metaScripting_ScriptBinding.cc
  5. TEMPAT SAMPAH
      engine/source/console/output_ScriptBinding.h
  6. TEMPAT SAMPAH
      engine/source/io/fileSystem_ScriptBinding.cc
  7. 1 1
      engine/source/math/box_ScriptBinding.h
  8. TEMPAT SAMPAH
      engine/source/network/RemoteCommandEvent_ScriptBinding.h
  9. 2 2
      engine/source/network/connectionProtocol_ScriptBinding.h
  10. TEMPAT SAMPAH
      engine/source/network/netInterface_ScriptBinding.h
  11. TEMPAT SAMPAH
      engine/source/network/netStringTable_ScriptBinding.h
  12. 2 2
      engine/source/platform/platformAssert_ScriptBinding.h
  13. TEMPAT SAMPAH
      engine/source/platform/platformFileIO_ScriptBinding.h
  14. TEMPAT SAMPAH
      engine/source/platform/platformNetwork_ScriptBinding.cc
  15. TEMPAT SAMPAH
      engine/source/platformWin32/winConsole_ScriptBinding.h
  16. TEMPAT SAMPAH
      engine/source/platformWin32/winExec_ScriptBinding.h
  17. TEMPAT SAMPAH
      engine/source/platformWin32/winGLSpecial_ScriptBinding.h
  18. TEMPAT SAMPAH
      engine/source/platformWin32/winInput_ScriptBinding.h
  19. TEMPAT SAMPAH
      engine/source/platformWin32/winMath_ScriptBinding.h
  20. TEMPAT SAMPAH
      engine/source/platformWin32/winOGLVideo_ScriptBinding.h
  21. TEMPAT SAMPAH
      engine/source/string/stringBuffer_ScriptBinding.h

+ 2 - 0
engine/compilers/VisualStudio 2012/Torque 2D.vcxproj

@@ -1036,6 +1036,7 @@
     <ClInclude Include="..\..\source\platformWin32\winExec_ScriptBinding.h" />
     <ClInclude Include="..\..\source\platformWin32\winGLSpecial_ScriptBinding.h" />
     <ClInclude Include="..\..\source\platformWin32\winInput_ScriptBinding.h" />
+    <ClInclude Include="..\..\source\platformWin32\winMath_ScriptBinding.h" />
     <ClInclude Include="..\..\source\platformWin32\winOGLVideo_ScriptBinding.h" />
     <ClInclude Include="..\..\source\platformWin32\winWindow.h" />
     <ClInclude Include="..\..\source\platform\CursorManager_ScriptBinding.h" />
@@ -1128,6 +1129,7 @@
     <ClInclude Include="..\..\source\sim\simSet_ScriptBinding.h" />
     <ClInclude Include="..\..\source\string\findMatch.h" />
     <ClInclude Include="..\..\source\string\stringBuffer.h" />
+    <ClInclude Include="..\..\source\string\stringBuffer_ScriptBinding.h" />
     <ClInclude Include="..\..\source\string\stringStack.h" />
     <ClInclude Include="..\..\source\string\stringTable.h" />
     <ClInclude Include="..\..\source\string\stringUnit.h" />

+ 6 - 0
engine/compilers/VisualStudio 2012/Torque 2D.vcxproj.filters

@@ -2964,6 +2964,12 @@
     <ClInclude Include="..\..\source\sim\simDatablock_ScriptBinding.h">
       <Filter>sim</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\source\platformWin32\winMath_ScriptBinding.h">
+      <Filter>platformWin32</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\source\string\stringBuffer_ScriptBinding.h">
+      <Filter>string</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <CustomBuild Include="..\..\source\math\mMath_ASM.asm">

TEMPAT SAMPAH
engine/source/console/consoleDoc_ScriptBinding.h


TEMPAT SAMPAH
engine/source/console/metaScripting_ScriptBinding.cc


TEMPAT SAMPAH
engine/source/console/output_ScriptBinding.h


TEMPAT SAMPAH
engine/source/io/fileSystem_ScriptBinding.cc


+ 1 - 1
engine/source/math/box_ScriptBinding.h

@@ -31,7 +31,7 @@
 	@return Returns a vector containing a three-element floating-point position vector equal to the centroid of the area defined by box
 */
 
-ConsoleFunctionWithDocs( getBoxCenter, const char*, 2, 2, (box) )
+ConsoleFunctionWithDocs( getBoxCenter, ConsoleString, 2, 2, (box) )
 {
    Box3F box;
    box.mMin.set(0,0,0);

TEMPAT SAMPAH
engine/source/network/RemoteCommandEvent_ScriptBinding.h


+ 2 - 2
engine/source/network/connectionProtocol_ScriptBinding.h

@@ -22,7 +22,7 @@
 
 extern bool gLogToConsole;
 
-/*! @defgroup NetLogging Network Logging
+/*! @addtogroup Network Network
 	@ingroup TorqueScriptFunctions
 	@{
 */
@@ -34,4 +34,4 @@ ConsoleFunctionWithDocs(DNetSetLogging, void, 2, 2, (bool enabled))
    gLogToConsole = dAtob(argv[1]);
 }
 
-/*! @} */ // group NetLogging
+/*! @} */ // group Network

TEMPAT SAMPAH
engine/source/network/netInterface_ScriptBinding.h


TEMPAT SAMPAH
engine/source/network/netStringTable_ScriptBinding.h


+ 2 - 2
engine/source/platform/platformAssert_ScriptBinding.h

@@ -20,7 +20,7 @@
 // IN THE SOFTWARE.
 //-----------------------------------------------------------------------------
 
-/*! @defgroup AssertFunctions Assert
+/*! @addtogroup ConsoleOutput Console Output
 	@ingroup TorqueScriptFunctions
 	@{
 */
@@ -36,4 +36,4 @@ ConsoleFunctionWithDocs( Assert, void, 3, 3, (condition, message) )
     AssertISV( dAtob(argv[1]), argv[2] );
 }
 
-/*! @} */ // AssertFunctions
+/*! @} */ // group ConsoleOutput

TEMPAT SAMPAH
engine/source/platform/platformFileIO_ScriptBinding.h


TEMPAT SAMPAH
engine/source/platform/platformNetwork_ScriptBinding.cc


TEMPAT SAMPAH
engine/source/platformWin32/winConsole_ScriptBinding.h


TEMPAT SAMPAH
engine/source/platformWin32/winExec_ScriptBinding.h


TEMPAT SAMPAH
engine/source/platformWin32/winGLSpecial_ScriptBinding.h


TEMPAT SAMPAH
engine/source/platformWin32/winInput_ScriptBinding.h


TEMPAT SAMPAH
engine/source/platformWin32/winMath_ScriptBinding.h


TEMPAT SAMPAH
engine/source/platformWin32/winOGLVideo_ScriptBinding.h


TEMPAT SAMPAH
engine/source/string/stringBuffer_ScriptBinding.h