Areloch
6ec899620d
Tweak to the Component Fields to properly refresh the group.
2016-06-02 23:57:46 -05:00
Areloch
89672ea0ab
Hooks the component fields back into the inspector so they are registered as proper fields of their types, as opposed to the regular string-only dynamic fields.
2016-06-02 22:40:29 -05:00
Areloch
74a2005d15
Fixes mistake where GuiInspectorEntityGroup's onAdd doesn't explicitly return true, which can cause problems in some compilers.
2016-05-30 02:29:20 -05:00
Areloch
510b726f6f
Final Linux compliance changes(renames, tweaks for gcc compliance, etc)
2016-05-29 00:58:02 -05:00
Areloch
ec8882c3c8
Ensuring all names are the correct casing for Linux
2016-05-26 01:37:14 -05:00
Areloch
b04ad52b5d
Ensure that inclusion of any entity/component stuff is properly bracketed with the preprocessor check.
2016-05-15 10:11:46 -05:00
Areloch
827e70d674
Integration of Entities into the inspector/editor so they can call back into the tool scripts for custom handling.
2016-05-14 14:12:53 -05:00
Areloch
383d27f2ec
The class is designed as a general-purpose rotation/orientation class to make it easy to work with rotations and swap between math types as easily as possible.
2016-05-12 00:45:16 -05:00
rextimmy
41e5caf22b
Direct3D11 Engine/source changes
2016-03-20 21:52:11 +10:00
Areloch
bedc79aacb
Merges in Monkey's fixes PR with a resolution for a conflict
2015-09-03 22:58:57 -05:00
Areloch
b614d87e78
Fixes the menubar functionality when using SDL.
...
This resolves menu order, cleanup and close/re-open issues, as well as crashes on close.
It also modifies the look slightly to look closer to the windows menubar to keep a cohesive look regardless of platform.
2015-08-04 22:57:25 -05:00
Areloch
527c3790d6
Issue found with PVS-Studio:
...
Many instances where we would create a object via a new call, and then check that it was non-null.
This is redundant, as if we ever were in a situation where new failed, we'd be crashing left and right already, so the additional check is wasted processing.
2015-07-21 23:22:21 -05:00
Daniel Buckmaster
4f2f1ca4e1
Merge pull request #1356 from Areloch/PVS_Cleanup_813
...
Convert un-modified function arguments to const references.
2015-07-20 22:55:22 +10:00
Areloch
11398bb04e
Issue found with PVS-Studio:
...
A lot of instances where some function args are not actually modified in any way, meaning that it is better for performance to convert them into const references. This prevents an additional copy, which can help performance.
2015-07-16 22:02:18 -05:00
Areloch
2002d74b78
Issue found with PVS-Studio:
...
Many instances of a function or expression being used repeatedly, which can lower performance.
Fixed it in these cases by creating on local var, reference or pointer that's used instead.
2015-07-13 22:51:17 -05:00
Daniel Buckmaster
84e8cbb4ee
Revert recent style cleanup changes.
2015-03-04 11:58:36 +11:00
Daniel Buckmaster
33fcc59543
Merge remote-tracking branch 'origin/style-cleanup' into development
...
Conflicts:
Engine/source/T3D/tsStatic.cpp
Engine/source/console/compiledEval.cpp
Engine/source/ts/tsMesh.cpp
Engine/source/ts/tsShape.cpp
2015-03-01 22:30:22 +11:00
Daniel Buckmaster
6c92ab065e
Merge remote-tracking branch 'jamesu/console_stack_fix2' into development
...
Conflicts:
Engine/source/console/console.cpp
2015-03-01 20:33:29 +11:00
James Urquhart
f44a3f27d6
Fix stack balancing problems by refactoring execution calls
...
- Con::executef now uses a template
- All public execution functions now restore the console stack upon return
- Fixed bad parameters on some callbacks
- Reverts get*Arg behavior
2015-02-08 00:08:18 +00:00
Nathan Bowhay
2458ecad9b
Fixed bug with bad index
...
Fixed a crash that would occur if an incorrect index was passed to
renderNodeName or renderNodeAxes.
2015-02-02 15:48:05 -08:00
Nathan Bowhay
f039c98f08
Fixed bug with dash character in menu item
...
Fixed a bug where if the text for a menu item started with - then it
would auto be disabled.
2015-02-02 15:46:26 -08:00
Nathan Bowhay
ae706b2407
Removed unused parameters
...
I am not sure why there were parameters for this method when they
weren't being used (perhaps leftover from before?), but I removed them.
2015-02-02 15:40:51 -08:00
Nathan Bowhay
881f9abeb6
Added console method docs
...
Added more console method documentation and made parameter names more
descriptive.
2015-02-02 15:39:11 -08:00
Daniel Buckmaster
0605f056e3
Fix changes to moveSelection API.
2015-01-28 21:25:15 +11:00
LuisAntonRebollo
475f218bcd
Modified files for SDL2.
2015-01-18 22:52:29 +01:00
Daniel Buckmaster
3ab048c5b0
Fixes after feedback from Luis.
...
* Made use of dStrIsEmpty in more locations (and fixed it :P)
* Removed commented-out code
* Corrected default params
* Fixed some console warning formats
* Removed tabs
* Corrected setExtent API
2014-12-23 18:48:02 +11:00
Daniel Buckmaster
33ff180593
Merge branch 'development' into style-cleanup
...
Conflicts:
Engine/source/console/astNodes.cpp
Engine/source/console/codeBlock.cpp
Engine/source/console/compiledEval.cpp
Engine/source/ts/collada/colladaAppMesh.cpp
Engine/source/ts/tsShape.cpp
Engine/source/ts/tsShapeConstruct.cpp
2014-12-15 12:15:55 +11:00
Vincent Gee
9907c4592e
Fixed bad string compares and simdictionary
2014-11-04 19:51:13 -05:00
Vincent Gee
acb192e2a5
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
2014-11-03 22:42:51 -05:00
Daniel Buckmaster
b507dc9555
Merge branch 'master' into console-func-refactor
...
Conflicts:
Engine/source/app/net/net.cpp
Engine/source/console/astNodes.cpp
Engine/source/console/compiledEval.cpp
Engine/source/console/console.h
Engine/source/console/consoleInternal.h
Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
Daniel Buckmaster
cf5d48e6ef
Merge pull request #665 from andr3wmac/multiformat
...
Support for large lists of shape formats.
2014-07-08 14:14:54 +02:00
Daniel Buckmaster
feec36731e
Merge pull request #594 from LuisAntonRebollo/unit-tests-without-crash
...
Increased stability Torque3D: unit-tests running without a crash.
2014-06-16 10:57:04 +10:00
bank
f3fc84738b
Use fixed buffer size var when allocating return buffer from console.
...
Conflicts:
Engine/source/T3D/missionArea.cpp
Engine/source/gui/editor/guiDebugger.cpp
2014-06-11 13:09:55 +04:00
LuisAntonRebollo
18ba0646c0
Increased stability Torqu3D: unit-tests running without a crash. See the console.log after ran unitTest_runTests( "", true ). @signmotion
2014-05-25 16:50:19 +02:00
Thomas Fischer
cd978039ac
Merge pull request #635 from just-bank/engine-fixes
...
Various engine fixes
2014-05-23 14:09:00 +02:00
Andrew Mac
eb74525a38
Added support for large lists of shape formats. Needed for assimp.
2014-05-21 14:50:44 -03:00
bank
69dbaf5b85
Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSShape
2014-05-13 14:08:42 +04:00
bank
2112c81446
Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSSkinMesh
2014-05-13 12:45:42 +04:00
bank
e2545c359c
Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSMesh
2014-05-13 12:43:01 +04:00
bank
68b12981ae
Fix: dSprintf should receive size of the buffer, not the size of the pointer.
...
It was safe, as we are using static console return buffer,
which is large enough to hold enough data (default is 2048).
2014-05-06 12:40:45 +04:00
Daniel Buckmaster
87d9e245b7
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
...
Conflicts:
Engine/source/platform/platformCPUCount.cpp
2014-04-04 13:43:25 +11:00
Cameron Porter
91c058ca8a
When setting the field on a GuiInspectorField, check if the field is null before setting the docs.
2013-12-10 23:42:07 -06:00
cpusci
7a8f46b19f
Update for float, double and unsigned char, unsigned short, short, etc. char was left alone: read why here http://msdn.microsoft.com/en-us/library/cc953fe1.aspx
2013-08-04 16:58:59 -05:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
DavidWyand-GG
4b1334db9f
Removed hard coded directory paths
...
- Removed references to core directory.
- Switch some references to tools directory
- Added preferences variables where appropriate
2013-03-07 18:56:53 -05:00
jamesu
08d4f6ebc0
Improvements to console refactor code
...
- Prevent stack corruption in a few places
- Use correct type in printfs
- Reduce type conversions in EngineApi & dAto*
- Fix compilation on GCC
- Tidy up code
2012-10-12 19:12:06 +01:00
James Urquhart
38c8e52c1d
Beginnings of the "pass everything using a native type wrapper" console code.
...
- ConsoleValue class is now the base value class.
- ConsoleValueRef is now used to supply function parameters. Values are disposable.
- Script functions return values instead of just strings where possible.
- Variables can be disposable strings
- Bytecode changed
Fix the issues with console method parameters and fields which prevented missions from loading.
2012-10-12 18:56:17 +01:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00