Commit graph

337 commits

Author SHA1 Message Date
Areloch
e1a1fd52dc Update gui3DProjectionCtrl.cpp
Corrected file capitalizations for linux
2019-02-23 20:12:17 -06:00
Areloch
0760f35da0 Adds gui3DProjectionCtrl so a gui control can be tracked to a point in 3d space 2019-02-23 16:36:40 -06:00
Areloch
99e3fa2156 Merge pull request #2305 from Azaezel/copyCleanup
corrects a copy-corruption flaw with GuiSwatchButtonCtrl::onMouseDragged
2019-02-20 23:12:58 -06:00
suncaller
8a7c09c8fe Clean up redundant variables 2019-02-06 15:03:06 -05:00
suncaller
31d0eb16f8 Clean up MSVC warning [C4312] conversion from type to type * of greater size 2019-02-02 23:09:55 -05:00
Azaezel
e7c3085d5f corrects a copy-corruption flaw with GuiSwatchButtonCtrl::onMouseDragged
pretty sure the offending leak-line creeps in with
 561f010f2e/Templates/BaseGame/game/tools/base/utils/swatchButtons.ed.cs (L34)
comparative release/debug results in
string gridBitmap = "\c0"
vs
string gridBitmap = "ic\c1Gl\c0"
and the relavent initpersistfields entry of TypeString points to
561f010f2e/Engine/source/console/consoleTypes.h (L71)
which is likely causing malformation
2019-01-28 21:04:51 -06:00
Areloch
72af45ef69 Merge pull request #2294 from OTHGMars/GuiInputCtrl
Adds features to GuiInputCtrl
2019-01-21 15:14:37 -06:00
OTHGMars
2add57079d Updated to work without keyboard event refactor. 2019-01-10 17:44:30 -05:00
Azaezel
13ce1a7441 corrects compilation errors on mac 2019-01-01 13:11:46 -06:00
Azaezel
a7fc407284 corrects a pair of conversions. one object oriented, one not. 2018-12-12 14:52:14 -06:00
Areloch
121ca2ac97 Merge pull request #2258 from Areloch/OthroCameraFix
Fixes the front/back ortho views in the editors
2018-12-09 15:35:38 -06:00
Areloch
bb30de04f7 Merge branch 'development' into ConvexProxies 2018-12-09 15:34:12 -06:00
Areloch
6cf0c9e360 Merge branch 'development' into EngineAPI-Refactor 2018-12-09 14:48:50 -06:00
Areloch
54f1d8c18e Merge pull request #2250 from Areloch/popupMenuFixesPR
Fixes various incorrect popup menu behaviors.
2018-09-05 13:06:26 -05:00
OTHGMars
b0455c7524 Adds features to GuiInputCtrl
This commit adds three new features to the GuiInputCtrl. All three default to off, so it is fully backward compatible with existing scripts. The new options are:
sendAxisEvents – If true, the control will generate onAxisEvent() callbacks for all axis events. This is useful for binding joystick/controller axes to game actions.
sendBreakEvents – If true, the control will generate onInputEvent() callbacks for SI_BREAK events for all keys and buttons. By default the callback is only triggered for break events on modifier keys.
SendModifierEvents – If true SI_MAKE events for modifier keys will generate callbacks. By default, only the break events are sent for modifier keys.
2018-07-18 20:35:59 -04:00
Ratfish Studios
19682cbe22 Fixes the front/back ortho views in the editors to comply with art tool standards. 2018-05-21 01:32:01 -05:00
Ratfish Studios
fea3724f4e 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
Azaezel
13334b4d5c Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
# Conflicts:
#	Engine/source/sfx/sfxSystem.cpp
2018-04-23 10:08:14 -05: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
76908eae3c Eliminate DefineConsoleMethod 2018-04-17 21:01:50 +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
Azaezel
cbce2ee805 Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
# Conflicts:
#	Engine/source/console/consoleFunctions.cpp
2018-03-28 15:42:34 -05:00
Areloch
8f947d5251 Adds a convenience function to refresh the console dialog. 2018-03-17 14:37:07 -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
Azaezel
e4bd3e8295 shadowvar cleanup 2018-03-16 17:40:25 -05:00
Azaezel
36c3a4d371 (crashfix) clean up shadowvar followup. 2018-03-16 16:21:53 -05:00
Azaezel
2580e3329c gfxDrawutil, gizmo shadowvar cleanups 2018-03-15 20:44:13 -05:00
Azaezel
f0c29172ca gui shadowvar cleanups 2018-03-15 14:50:54 -05:00
Azaezel
a0eebd01c8 refactor to avoid shadowvars 2018-03-15 00:52:03 -05:00
Azaezel
25920aeee9 frustum definition duplication(s) 2018-03-15 00:43:29 -05:00
Azaezel
75897d8191 shadowvar cleanup 2018-03-14 19:07:03 -05:00
Azaezel
1c62080f7f cleaned up member::radius 2018-03-13 15:31:00 -05:00
Azaezel
c98f257cae more compiler compliant cleanups plus a full set of tsMesh::foo to tsmesh::mFoo class var conversions for consistency 2018-03-13 14:53:23 -05:00
Azaezel
654fc29dc2 bounds to mBounds conflict avoidance 2018-03-13 01:05:15 -05:00
Azaezel
f59b92bf4e winconsole many, many i vars. worldEditor path arguement, lockPtr doubleup. volume.cpp: uneccesary duplicated FileNode::Attributes attr; def 2018-03-12 19:10:55 -05:00
Azaezel
c875f44bd1 clarified several variable 'r' definitions, as well as a doubleup of a sucessive S32 txt_w = mProfile->mFont->getStrWidth( buff ); pair 2018-03-12 16:00:10 -05:00
Azaezel
8ec82013ca corrects PopupMenu::checkItem() not checking the item. also prepends m to member variables for the MenuItem class to correct a few more locals hiding classvar reports. 2018-03-12 14:30:49 -05:00
Azaezel
bca01fa976 nother set of generic 'object' varnames, all of which referenced different things 2018-03-12 04:37:41 -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
d9a723d533 More cats and cpys in files that xcode doesn't see 2018-03-07 01:13:56 -05:00
Glenn Smith
e6e97e660c Missed a couple +1s here and there 2018-03-07 00:44: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
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
49639a908f Expanded mesh baking functionality, now supporting baking of LODs and Collision meshes 2018-03-01 01:51:18 -06:00
Areloch
2861ed41a5 Merge pull request #2206 from Azaezel/profileProblem
companion to #2203:
2018-02-14 00:59:08 -06:00