Areloch
255fec1a9d
Make exec() and getDSOPath() proper Con namespace functions.
...
Moves the console function exec()'s body into an actual function in the Con namespace as the function executeFile() to align with the other execute and eval functions.
Also moved the getDSOPath function(as exec/executeFile requires it) from being local in consoleFunctions.cpp to a Con namespace function as well, furthering the consistency.
2016-04-19 01:35:52 -05:00
Alex Piola
07cf85143b
fixes crash when callOnChildren
...
Anis and me managed to fix this: #1508
2016-03-04 18:03:21 +01:00
Anis A. Hireche
49443d3167
conflict resolution
2016-02-27 02:16:07 +01:00
Anis A. Hireche
b3662d801a
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1334
...
# Conflicts resolved:
# Engine/source/console/consoleFunctions.cpp
2016-02-26 21:58:01 +01:00
Anis
973e5a6c02
Update consoleFunctions.cpp
2016-02-26 20:11:27 +01:00
Anis
794f1b9536
Merge pull request #1532 from GarageGames/pr/1143
...
[CLONE] More consolefunctions #1143
2016-02-26 18:57:49 +01:00
Anis A. Hireche
10cb6ab9c4
Merge remote-tracking branch 'refs/remotes/origin/development' into pr/1153
2016-02-26 14:39:38 +01:00
Azaezel
7a60056365
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 16:07:51 -06:00
Anis
8ec2e534dc
removed tabs
2016-02-21 22:36:27 +01:00
Azaezel
bc433e7c30
Merge branch 'ColorPickerAdvanced' of https://github.com/Azaezel/Torque3D into ColorPickerAdvanced
2016-02-21 15:31:09 -06:00
Azaezel
ca2ffea6cd
Merge branch 'development' of https://github.com/GarageGames/Torque3D into ColorPickerAdvanced
2016-02-21 15:30:54 -06:00
Anis
494922d9ed
fixed the not working text edit RGB field on color picker.
2016-02-21 18:14:41 +01:00
Robert MacGregor
d3c7edfe42
Fix TinyXML Build errors
2015-11-22 02:45:25 -05:00
Areloch
703fff01fb
Merge pull request #1460 from Azaezel/FileFallbackFoulups
...
fillin for fallbacks for filesystem funcs
2015-11-16 21:42:22 -06:00
Areloch
1a009d6dd3
Merge pull request #1443 from Areloch/TAM_Implementation
...
TAML, Assets and Modules implementation
2015-11-12 23:54:27 -06:00
Azaezel
f719731c52
fillin for fallbacks for filesystem funcs
2015-11-09 19:40:30 -06:00
Areloch
165cdb64e9
Merge pull request #1322 from Areloch/String_isEmpty_Convert
...
Replace uses of dStrIsEmpty with new String::isEmpty
2015-10-31 23:40:13 -05:00
Azaezel
dd3c20ece6
transcription error was messing with addProtectedField for arrays
2015-10-14 10:11:58 -05:00
Areloch
7a3b40a86d
Initial Implementation of the Taml, Asset and Modules systems.
...
Only has example and shape assets currently.
2015-10-13 15:19:36 -05:00
Azaezel
f87f7c41b6
backend correction for https://github.com/GarageGames/Torque3D/pull/1425
2015-09-25 17:09:41 -05:00
Areloch
5874b8db59
Merge pull request #1380 from Azaezel/C4946
...
partly addresses C4946 warnings
2015-09-04 21:23:44 -05:00
Areloch
bedc79aacb
Merges in Monkey's fixes PR with a resolution for a conflict
2015-09-03 22:58:57 -05:00
Areloch
b1d2ba8412
Merge pull request #1379 from Azaezel/C4189
...
C4189 warning cleanups
2015-09-02 19:46:28 -05:00
Areloch
4c4a84099b
Merge pull request #1375 from Areloch/Update1001
...
Redux of Winterleaf's PR 1001, with the suggested updated values.
2015-08-28 11:46:41 -05:00
Azaezel
3c1c88d96b
TORQUE_VALIDATE_STACK define for console stack debugging
2015-07-29 04:46:36 -05:00
Azaezel
555610f69f
Addresses roughly half of the C4189 errors though the following methodologies:
...
1) truly unused vars removed
2) vars leading to remmed out code for debugging remmed in turn.
left out:
vars in macros.
2015-07-29 03:03:27 -05:00
Areloch
3a18819e1e
Issue found by PVS Studio:
...
Several instances where we utilize a pointer variable without properly testing that they aren't null first.
2015-07-28 23:25:09 -05:00
Areloch
859e653bd7
Redux of Winterleaf's PR 1001, with the suggested updated values.
2015-07-28 00:53:58 -05:00
Daniel Buckmaster
d91ec87d3e
Merge pull request #1371 from eightyeight/vs2015-warnings-1
...
Random VS warnings
2015-07-25 10:55:45 +10:00
Daniel Buckmaster
d268199f4f
Merge pull request #1339 from Areloch/Remove_Demo_Mode_Checks
...
Remove demo and trial checks
2015-07-23 20:33:31 +10:00
Daniel Buckmaster
5e2de608d5
C4091 typedef ignored.
2015-07-23 20:03:30 +10: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
Azaezel
4bba5d87d0
partly addresses https://msdn.microsoft.com/en-us/library/y775w13y.aspx?f=255&MSPPError=-2147217396 violations
2015-07-16 21:51:37 -05:00
Areloch
5c688260d5
Issue found with PVS-Studio:
...
Many places utilize post-incrementation with iterators, but it's better performance to use pre-incrementation.
Resolved by changing the iter++ instances to ++iter;
2015-07-13 23:08:17 -05:00
Daniel Buckmaster
bac84eec3c
Merge pull request #992 from Winterleaf/Fix-engineFunctions.h
...
Pragma pack for x32/x64
2015-07-12 16:17:45 +10:00
Daniel Buckmaster
5caf62b19f
Merge pull request #1342 from Azaezel/Offsetof
...
offsetof is actually a standard thing nowadays it would seem
2015-07-05 11:26:53 +10:00
Raul Ferriz
5ef130d581
Fixed some random Worder warnings
2015-07-03 15:52:38 +02:00
Azaezel
5d89ab126d
offsetof is actually a standard thing nowadays it would seem
2015-07-03 02:52:08 -05:00
Raul Ferriz
7e172869a9
Fixed warning.
...
Sort struct initialization to match fields declaration avoids a warnings on GCC.
2015-07-02 22:06:24 +02:00
Areloch
0d6768d57b
Removing stuff pertaining to demo modes and trials, as they're redundant now.
2015-07-01 23:36:56 -05:00
Daniel Buckmaster
d89c3b7c6f
Merge pull request #1333 from Azaezel/PluggingLeaks
...
Plugging Memory Leaks
2015-06-28 14:41:13 +10:00
Lopuska
03109c9d6d
Color Picker
2015-06-24 20:36:30 -05:00
Areloch
6e8fa7215a
Moves from using dStrIsEmpty to the new String::isEmpty static function. Keeps things cleaner, consistent, and works with intellisense.
2015-06-06 17:40:49 -05:00
Azaezel
b1e8a45a48
leak prevention according to: https://vld.codeplex.com/ ConsoleValue() constructors and destructors to handle corner-cases not already addressed via init, and cleanup
2015-06-02 14:25:08 -05:00
James Urquhart
d9436e65c5
Add workaround for issue #1292
2015-05-28 20:34:10 +10:00
James Urquhart
e5c28b4d7f
Simplify buffer check when adding a registered variable
2015-05-16 14:57:40 +01:00
James Urquhart
15169eab9f
Fix issue with registered variables becoming corrupted when string value was accessed.
2015-05-16 14:50:20 +01:00
James Urquhart
3a218217f4
Add workaround for issue #1292
2015-05-15 12:32:00 +01:00
James Urquhart
12d435c341
Remove value constructors for ConsoleValueRef & fix callbacks which use them. Fixes issue #1289
2015-05-08 09:04:04 +10:00
Daniel Buckmaster
84e8cbb4ee
Revert recent style cleanup changes.
2015-03-04 11:58:36 +11:00