Areloch
03efedab37
Adds a TORQUE_TOOLS_EXT cmake flag/preprocessor and moves the systemCommand method into that so that one can lock down full shell command execution calls without dropping tools support
2024-09-01 16:55:58 -05:00
marauder2k7
56a89ee0b0
Update consoleFunctions.cpp
2024-07-22 21:20:54 +01:00
marauder2k7
6807abc8b6
ID10T error
...
no default does not need case -_- id10t error, few other fixes
2024-07-22 21:12:48 +01:00
Lukas Aldershaab
5615cc33d8
Remove CInterface script hooks, superseded by console refactor
2023-09-27 14:11:13 -05:00
Lukas Aldershaab
89b0c7f73b
Console Refactor
2023-09-13 10:33:20 +02:00
AzaezelX
f79c6280b3
fix strrepeat <0
2023-05-25 18:38:45 -05:00
AzaezelX
b86716c670
further console cleanups. mostly of the form of correcting uninitialized values. some arithmatic sizes
...
(cherry picked from commit 833149e962d165aa4c10e6c760bb1a1116d1baf8)
2023-05-01 10:41:33 -05:00
AzaezelX
9e036f142b
fix warn reports for buffer oveeruns
...
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
AzaezelX
0d35016795
fix needing to doubleclick to bring up a docs link
2023-01-28 16:15:59 -06:00
AzaezelX
f5a34308f9
add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector
2023-01-27 01:13:15 -06:00
Robert MacGregor
bd3a990140
* BugFix: Correct the 'gotoWebPage' function not using the VFS.
2022-06-13 12:21:06 -04:00
AzaezelX
d883575d0f
fix compilation flaws
2022-03-17 17:38:41 -05:00
JeffR
1496ffac6e
Adds a systemCommand console utility function, which invokes the standard system() function call, and also has an optional callback return parameter.
2022-03-15 21:10:55 -05:00
JeffR
fda722e355
Updates asset importer and project importer to output to separate log files into tools/logs
...
Add utility console function for getting current datetime
2021-11-03 00:13:00 -05:00
Jeff Hutchinson
4293aef858
This one slipped through - nextToken can't use local variable for its token variable. This was stated as one of the breaking changes in the origional PR.
2021-10-19 20:34:57 -04:00
Jeff Hutchinson
27a4868b6e
Fix buffer corruption.
2021-09-07 21:52:36 -04:00
Jeff Hutchinson
9448256422
Fix console garbage error when evaluating strings.
2021-09-01 20:16:08 -04:00
Areloch
48e994f7bd
Shift file handling in importer to a standardized function
...
Added santizing of strings to filenames, object names and asset names for the importer process
Added sanitizeString console function for above
Added processing of terrainBlock object's fields for importer
Added check to avoid updateTSShapeLoadProgress spam
Adjusted folderPrefix logic to walk up directory to find assetName that isn't already in use.
2021-08-15 03:07:40 -05:00
AzaezelX
594c4f65c7
bad constructor usage! bad! GCC no like!
2021-08-09 21:34:24 -05:00
Areloch
5525f8ecdd
Converts all game, gui editor, and system classes to utilize assets
...
Processed core, tools and default modules to utilize assets
Converted all console types that were string based, such as TypeImageFilename to utilize const char*/the string table, which avoids a lot of type swapping shenanigans and avoids string corruption
Removed unneeded MainEditor mockup module
Removed some unused/duplicate image assets from the tools
2021-07-19 01:07:08 -05:00
Lukas Aldershaab
099dd4f1f3
Parametrize script extension, default to 'tscript'
2021-01-19 21:32:31 +01:00
rextimmy
5a933c00d3
Removed old fixed function code from GFX.
2021-01-05 12:57:17 +10:00
Lukas Aldershaab
55f459cf2d
Add missing call to CInterface::IsMethod
2020-11-15 21:32:29 +01:00
Lukas Aldershaab
197a62f6ea
Convert dStrcmp to String::compare for more cases
2020-10-04 00:00:01 +02:00
Lukas Aldershaab
c999baf7ed
Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense.
2020-10-03 14:37:55 +02:00
Areloch
6cf0c9e360
Merge branch 'development' into EngineAPI-Refactor
2018-12-09 14:48:50 -06:00
Lukas Joergensen
7d91d0a577
Eliminate ConsoleFunction and ConsoleMethod, replace with DefineEngineStringlyVariadic
2018-04-20 22:09:58 +02:00
Lukas Joergensen
2bbc716db6
Eliminate unnecessary uses of ConsoleFunction
2018-04-17 21:41:29 +02:00
Lukas Joergensen
e718841467
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02: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
Azaezel
9b8c950701
console membervar cleanup
2018-03-16 20:05:47 -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
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
25686ed4be
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
Phillip Khandeliants
959701208b
Fixed V547: Bad C-string comparsion
...
This comparison of a string to an empty is meaningless, since in fact two pointers will be compared and the expression will always be false.
2017-04-27 12:03:44 +03:00
Thomas "elfprince13" Dickerson
849a1c1eb1
merged numerous changes from upstream
2017-03-03 21:17:07 -05:00
Thomas "elfprince13" Dickerson
45ae5e71cb
fixed lots of tabs and space
2017-01-06 18:04:28 -05:00
Areloch
170cdadf60
Fixes window icons with SDL, hooking it through the var $Core::windowIcon as the path.
...
Also adjusted the splash window icon to use the var $Core::splashWindowImage for it's path.
2016-12-22 00:52:34 -06:00
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
Anis
973e5a6c02
Update consoleFunctions.cpp
2016-02-26 20:11:27 +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
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
Areloch
bedc79aacb
Merges in Monkey's fixes PR with a resolution for a conflict
2015-09-03 22:58:57 -05:00
Areloch
0d6768d57b
Removing stuff pertaining to demo modes and trials, as they're redundant now.
2015-07-01 23:36:56 -05:00
Lopuska
03109c9d6d
Color Picker
2015-06-24 20:36:30 -05:00