Commit graph

3190 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
aed16d38cb Merge pull request #2238 from Areloch/SDL_Install_Fixup
Makes it so the SDL directory files aren't copied during a template install.
2018-04-05 00:24:36 -05:00
Areloch
570c6844f9 Makes it so the SDL directory files aren't copied during a template file install. 2018-04-03 23:58: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
0d981d1e47 Merge pull request #2224 from Areloch/ConsoleDlgRefresher
Adds convenience function to refresh console dialog.
2018-03-17 14:39:59 -05:00
Areloch
8f947d5251 Adds a convenience function to refresh the console dialog. 2018-03-17 14:37:07 -05:00
Areloch
3df17626e6 Merge pull request #2200 from Bloodknight/LinuxCompatabilityFixes
Linux compatibility fixes
2018-03-17 14:19:20 -05:00
Areloch
485f5bc942 Merge branch 'LinuxCompatabilityFixes' of https://github.com/Bloodknight/Torque3D into development 2018-03-17 14:07:26 -05:00
Areloch
775fb67786 Merge pull request #2210 from Azaezel/optimusPrimitive
switchable GPU Support
2018-03-17 03:38:42 -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