Commit graph

2132 commits

Author SHA1 Message Date
Lukas Joergensen
6ebb05749e Don't automatically register objects, allow for modifications to the intial fields before register. This is necessary in order to set the fields before initialization such as TorqueScript does 2018-04-21 12:04:15 +02:00
Lukas Joergensen
870ee9fb5b Integrate new CInterface into the engine-console 2018-04-21 12:04:15 +02:00
Lukas Joergensen
ae1f5a3c89 Update the CInterface 2018-04-21 12:04:09 +02:00
Lukas Joergensen
13eb392c98 Add a method to set the 'MainDotCsDir' when no main.cs is available 2018-04-21 09:29:57 +02:00
Lukas Joergensen
2fe623b761 Pass structs by value, not by reference, in EngineAPI. This simplifies call-layout through EngineAPI 2018-04-21 09:23:38 +02:00
Lukas Joergensen
780e1dc73f Use FixedTuple in EngineTrampoline, to make memory-layout consistent 2018-04-21 09:22:12 +02:00
Lukas Joergensen
33df294531 Mark EngineAPI as initialized, otherwise it can't be used 2018-04-21 09:21:21 +02:00
Lukas Joergensen
fb412ff108 Add Type information for Properties in EngineXMLExport 2018-04-21 09:08:44 +02:00
Lukas Joergensen
c1a234cae6 Fix EngineAPI xml generation, utilizing fixed_tuple for default args 2018-04-21 09:08:38 +02:00
Lukas Joergensen
b0be06c33d Add initPersistFields to mPropertyTable 2018-04-21 09:03:04 +02:00
Lukas Joergensen
7d91d0a577 Eliminate ConsoleFunction and ConsoleMethod, replace with DefineEngineStringlyVariadic 2018-04-20 22:09:58 +02:00
Lukas Joergensen
6b524ae58a Eliminate ConsoleStaticMethod 2018-04-20 20:27:09 +02:00
Lukas Joergensen
0fff33869c Eliminate unnecessary uses of ConsoleMethod 2018-04-17 22:36:32 +02:00
Lukas Joergensen
2bbc716db6 Eliminate unnecessary uses of ConsoleFunction 2018-04-17 21:41:29 +02:00
Lukas Joergensen
6be736ff85 Eliminate DefineConsoleStaticMethod 2018-04-17 21:03:16 +02:00
Lukas Joergensen
76908eae3c Eliminate DefineConsoleMethod 2018-04-17 21:01:50 +02:00
Lukas Joergensen
e718841467 Eliminate DefineConsoleFunction 2018-04-17 20:54:08 +02:00
Areloch
bc1b506205 Merge pull request #2146 from Azaezel/specializationShenanigans
changes find, swap, for_each, and delete_pointer from global to t3d namespace
2018-04-17 03:02:03 -05:00
Areloch
918509d59a Merge pull request #2225 from Azaezel/defineDistaste
stop linux/mac  undefined MSVC versioncheck spam.
2018-03-28 21:38:40 -05:00
Azaezel
04d767ab9b stop linux/mac undefined MSVC versioncheck spam. 2018-03-19 16:18:57 -05:00
Azaezel
cd28a786b4 stop linux/mac undefined MSVC versioncheck spam. 2018-03-18 18:51:10 -05:00
Areloch
8f947d5251 Adds a convenience function to refresh the console dialog. 2018-03-17 14:37:07 -05:00
Areloch
51408403dc Merge branch 'optimusPrimitive' of https://github.com/Azaezel/Torque3D into development 2018-03-17 00:45:54 -05:00
Areloch
19e66ceabb Merge pull request #2215 from Areloch/MeshBaking_Expanded
Expanded mesh baking functionality
2018-03-17 00:41:37 -05:00
Areloch
1dca1a0787 Merge pull request #2219 from CouleeApps/security-fixes
Security Fixes: String Buffers
2018-03-16 23:48:19 -05:00
Areloch
5bf3d67959 Merge pull request #2090 from Areloch/ConsoleLogFilters
Adds some filtering options to the console log gui
2018-03-16 23:41:00 -05:00
Glenn Smith
47d5b6ead7 As suggested, extract strlen calls from sizes into variables so it isn't called twice 2018-03-08 20:59:40 -05:00
Glenn Smith
eab086e184 A buffer overflow in enumerateConsoleClassesByCategory 2018-03-08 00:51:52 -05:00
Glenn Smith
34b2d91e89 Speaking of badly sized mac things 2018-03-08 00:45:43 -05:00
Glenn Smith
a061923c1e Better to use strlcat and strlcpy and move them to the cpp file. Provided an implementation for platforms that don't support them (macOS only currently) 2018-03-08 00:45:24 -05:00
Glenn Smith
a46cadc487 Let dStrncat use strncat because it's probably set up for that 2018-03-07 03:58:28 -05:00
Areloch
e01272d72d Missed a cleanup line. 2018-03-07 01:30:44 -06:00
Glenn Smith
d9a723d533 More cats and cpys in files that xcode doesn't see 2018-03-07 01:13:56 -05:00
Glenn Smith
dce7f5f6b3 Engine was also using raw strcat/strcpy 2018-03-07 00:49:46 -05:00
Glenn Smith
e6e97e660c Missed a couple +1s here and there 2018-03-07 00:44:46 -05:00
Glenn Smith
396fe5b0ad Cleaning up the checks 2018-03-06 02:37:42 -05:00
Glenn Smith
c4533b4dc4 Actual buffer overflow bug found because of these fixes 2018-03-06 02:35:46 -05:00
Glenn Smith
79c34c68db Use strncpy instead of strcpy because again, buffer overflows 2018-03-06 02:35:33 -05:00
Glenn Smith
7769da9434 Use strncat instead of strcat to prevent some buffer overflows 2018-03-06 00:48:44 -05:00
Glenn Smith
53f35e7fb1 Removed unused macString.mm that has old versions of string functions with no bounds checking 2018-03-05 23:48:09 -05:00
Areloch
8dedcf456a Cleanup of export function to remove redundant arg
Removed unused var
Cleaned up collision export on convexShape
Added prefab export functionality
2018-03-04 16:03:39 -06:00
Areloch
787b8be82c Adds handling for the proper updated exporting of mesh for convexShapes 2018-03-04 15:10:44 -06:00
Areloch
49639a908f Expanded mesh baking functionality, now supporting baking of LODs and Collision meshes 2018-03-01 01:51:18 -06:00
Azaezel
488fba16c1 requested revision: use dword just in case of compiler shenanigans 2018-02-26 22:34:21 -06:00
Azaezel
ff2d18cc07 tell switchable graphics supported systems that they need to use the beefier GPU 2018-02-26 20:45:18 -06:00
Areloch
6497ea5c76 Merge branch 'development' into issue_2115 2018-02-14 01:43:34 -06:00
Areloch
0d74150083 Merge pull request #2158 from Azaezel/thatsAwrap
adds an mWrap and mWrapF method
2018-02-14 01:41:47 -06:00
Areloch
897174f5ea Merge pull request #2159 from Azaezel/veryValid
exposes getters for typevalidators.
2018-02-14 01:40:42 -06:00
Areloch
0caf4691d9 Merge pull request #2157 from Areloch/NetworkedFields
Adds a new function for defining network-aware console fields on NetObjects
2018-02-14 00:59:25 -06:00
Areloch
2861ed41a5 Merge pull request #2206 from Azaezel/profileProblem
companion to #2203:
2018-02-14 00:59:08 -06:00