Commit graph

2143 commits

Author SHA1 Message Date
Ratfish Studios 7af34fa432 Rearranges the right-mouse click popup menus for the world editor and gui editors to a) be organized more logically and b) be more flexible.
This also fixes some insecure behavior relying on %this value eval'ing, which has also been modified to be better.

Also fixes up some old calls for getting menubar menus by internal name, which is no longer supported, instead using the findMenu function call.
2018-05-08 00:30:15 -05:00
Areloch 6a2393bf37
Merge pull request #2233 from CouleeApps/better-return-buffer
Use a circular buffer for getReturnBuffer to prevent buffer cloberring
2018-05-01 23:29:25 -05:00
Areloch a482977ab8
Merge pull request #2092 from Azaezel/AIAimpoint
adds fallbacks to the aiTurret's scannode to operate similar to the aimNode
2018-04-30 23:40:15 -05:00
Areloch 2d03a29814
Merge pull request #2104 from OTHGMars/ScaleCollision
Sets scale for collision primitives created in the shape editor.
2018-04-30 23:39:33 -05:00
Areloch 9b47463875
Merge pull request #2108 from Azaezel/reskinRedux
allows for arbitrary reskinning
2018-04-30 23:37:36 -05:00
Areloch 4338bdc368
Merge pull request #2204 from Azaezel/badPrefabEntryHandling
don't try to physically interact with a prefab with invalid entries
2018-04-30 23:06:24 -05:00
Areloch 9920766a6a
Merge pull request #2232 from Azaezel/phyzZonePhun
PhysicalZone editing-display tools.
2018-04-30 22:58:38 -05:00
Areloch c2755f64ca
Merge pull request #2234 from Areloch/DeprecatedMSVCFix
Remove a now-unneeded fix for offsetof on new versions of Visual Studio.
2018-04-30 22:52:48 -05:00
Areloch 7c74acfa1a
Merge pull request #2235 from CouleeApps/fix-dump-console
Fix dumpConsoleClasses / dumpConsoleFunctions
2018-04-30 22:52:30 -05:00
Areloch 532cc4ad1b
Merge pull request #2237 from JeffProgrammer/codeinterpreter_cleanup
Small Cleanup to CodeInterpreter
2018-04-30 22:52:12 -05:00
Areloch 829da9ceb2
Merge pull request #2242 from JeffProgrammer/ts_thisoptimization_hotfix
Interpreter Hotfix: Check for NULL on the thisObject before using it.
2018-04-30 22:51:52 -05:00
Areloch 037d089c4d
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
Jeff Hutchinson babe32ae7b Added better script interpreter logging. 2018-04-14 10:59:09 -04:00
Jeff Hutchinson 188fba2049 fix this pointer in op_callfunc_this 2018-04-12 23:14:57 -04:00
Jeff Hutchinson 47b1990cb7 Check for NULL on the thisObject before using it. Also cleanup break to goto. 2018-04-10 22:21:40 -04:00
Jeff Hutchinson 050d710580 Remove unused variables and cleanup precision warnings as dSprintf takes a U32 for the size of the buffer to use. 2018-04-02 23:38:17 -04:00
Glenn Smith 50ac969b48 CodeBlock::getFunctionArgs used the wrong offsets 2018-03-30 02:28:04 -04:00
Glenn Smith 7a61a3cd95 Badly sized buffer in dumpConsoleClasses 2018-03-30 02:27:43 -04:00
Areloch 7369b9feae Remove a now-unneeded fix for offsetof on new versions of Visual Studio. 2018-03-29 00:44:10 -05:00
Areloch 6d37709b51
Merge pull request #2225 from Azaezel/defineDistaste
stop linux/mac  undefined MSVC versioncheck spam.
2018-03-28 21:38:40 -05:00
Glenn Smith ff9892c11e Use a circular buffer for getReturnBuffer because StringStack's would get clobbered too quickly 2018-03-28 20:55:09 -04:00
Glenn Smith 3650e9afa9 Move StringStack methods into the cpp file 2018-03-28 20:52:10 -04:00
Azaezel 0444410486 retooled spherical force ammount display to be based on mAppliedForce 2018-03-27 20:25:46 -05:00
Azaezel 80e34d88a0 visualization augmentations for PhysicalZone. colorizes based on force vector, scales based on lengths 2018-03-27 14:58:40 -05:00
Azaezel 3cec0f9d98 augmentation to drawArrow to allow one to explicitly define a radius. 2018-03-27 14:57:23 -05:00
Azaezel ceac050d7b stop linux/mac undefined MSVC versioncheck spam. 2018-03-19 16:18:57 -05:00
Azaezel 405c8ccfd1 stop linux/mac undefined MSVC versioncheck spam. 2018-03-18 18:51:10 -05:00
Areloch ffe9405568 Adds a convenience function to refresh the console dialog. 2018-03-17 14:37:07 -05:00
Areloch b9a21be1e2 Merge branch 'optimusPrimitive' of https://github.com/Azaezel/Torque3D into development 2018-03-17 00:45:54 -05:00
Areloch 81f9f1bdbd
Merge pull request #2215 from Areloch/MeshBaking_Expanded
Expanded mesh baking functionality
2018-03-17 00:41:37 -05:00
Areloch 71ac83fc9f
Merge pull request #2219 from CouleeApps/security-fixes
Security Fixes: String Buffers
2018-03-16 23:48:19 -05:00
Areloch ac67ed8e1a
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 6b024b21bf 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 ed10ce2511 A buffer overflow in enumerateConsoleClassesByCategory 2018-03-08 00:51:52 -05:00
Glenn Smith f9c684fb11 Speaking of badly sized mac things 2018-03-08 00:45:43 -05:00
Glenn Smith 7fc60fbf59 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 cd79088939 Let dStrncat use strncat because it's probably set up for that 2018-03-07 03:58:28 -05:00
Areloch b21c139850 Missed a cleanup line. 2018-03-07 01:30:44 -06:00
Glenn Smith 963333c583 More cats and cpys in files that xcode doesn't see 2018-03-07 01:13:56 -05:00
Glenn Smith 25c25b20b1 Engine was also using raw strcat/strcpy 2018-03-07 00:49:46 -05:00
Glenn Smith 751ccae12d Missed a couple +1s here and there 2018-03-07 00:44:46 -05:00
Glenn Smith a94e0c6d81 Cleaning up the checks 2018-03-06 02:37:42 -05:00
Glenn Smith e03a86f75a Actual buffer overflow bug found because of these fixes 2018-03-06 02:35:46 -05:00
Glenn Smith a94587af43 Use strncpy instead of strcpy because again, buffer overflows 2018-03-06 02:35:33 -05:00
Glenn Smith 1728fe39ad Use strncat instead of strcat to prevent some buffer overflows 2018-03-06 00:48:44 -05:00
Glenn Smith bf408235a8 Removed unused macString.mm that has old versions of string functions with no bounds checking 2018-03-05 23:48:09 -05:00
Areloch 43ca2c5bc2 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 501a322435 Adds handling for the proper updated exporting of mesh for convexShapes 2018-03-04 15:10:44 -06:00
Areloch f309b736ca Expanded mesh baking functionality, now supporting baking of LODs and Collision meshes 2018-03-01 01:51:18 -06:00
Azaezel 1a3e7970ca requested revision: use dword just in case of compiler shenanigans 2018-02-26 22:34:21 -06:00