Commit graph

394 commits

Author SHA1 Message Date
AzaezelX 594c4f65c7 bad constructor usage! bad! GCC no like! 2021-08-09 21:34:24 -05:00
Areloch 34f0f01cea Adds console function to compare file modified times
Adds console function to save a scaled image
Improved logic of generating previews for shape, material and image assets to regen if original asset loose file was modified
Added logic to generate scaled preview image for material and image assets to improve load times of AB
2021-08-08 16:20:58 -05:00
AzaezelX c5d0310bc3 Merge branch 'EngineAssetify' of https://github.com/Areloch/Torque3D into EngineAssetify_Followups_XML2Check
# Conflicts:
#	Engine/source/ts/tsShapeConstruct.cpp
2021-08-02 13:54:51 -05:00
Areloch 88ae8a9665 Added getShapeConstructorFilePath console function on shapeAsset
Fixed typo in import config settings for DuplicateAutoResolution
Converted TSShapeConstructor to utilize assets
Updated shape editor to work with assetified constructors
Converted guiBitmapButtonCtrl to use assets
2021-08-02 04:20:27 -05:00
AzaezelX c43cee13ab Merge branch 'task/update-tinyxml' of https://github.com/lukaspj/Torque3D into EngineAssetify_Followups_XML2Check 2021-07-31 17:12:44 -05:00
Lukas Aldershaab 9a795e89f3 Update usage of TinyXML to use TinyXML2 2021-07-31 21:54:19 +02:00
AzaezelX 313466f57c new method from JeffH and Marauder: getClassHierarchy(classname). dumps a list of the class inhericance in reverse ancestor order (so that class first, next parent, *it's* parent, ect 2021-07-22 11:55:34 -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
Areloch 4d40e3cab5
Merge pull request #449 from OTHGMars/Zip_Test2
Loading from zipped game directories.
2021-07-17 11:03:19 -05:00
Brian Roberts 5ed7cda822
Merge pull request #492 from Azaezel/alpha40/simSetSupport
report simset names for add/remove errors
2021-06-22 12:04:48 -05:00
bank 5d1c29f54b
Fix return value conversion when using SimObject::call() method from scripts. 2021-06-15 19:03:43 +03:00
AzaezelX 3caa83284c report simset names for add/remove errors 2021-06-07 17:34:38 -05:00
Jeff Hutchinson e981fd2cc3 Add support for aarch64 / apple silicon 2021-05-10 15:55:56 -04:00
Jeff Hutchinson ef34210fef Implement Unit Test Suite for TorqueScript. 2021-04-12 21:43:57 -04:00
Lukas Aldershaab 9ccaa6d3ea Improve handling of non-default script filenames 2021-01-19 21:32:31 +01:00
Lukas Aldershaab 099dd4f1f3 Parametrize script extension, default to 'tscript' 2021-01-19 21:32:31 +01:00
OTHGMars 0ece989560 Updates SimXMLDocument, fsTiXmlDocument, Taml and TamlXmlParser for reading from zip. 2021-01-11 04:57:10 -05:00
OTHGMars 8765d3a46e Con::isBasePath() performs the same path expansion on both input paths. 2021-01-11 04:54:41 -05:00
rextimmy 5a933c00d3 Removed old fixed function code from GFX. 2021-01-05 12:57:17 +10:00
Lukas Aldershaab 9c4191702c Properly specify type of console types with a different native type 2020-11-15 21:32:29 +01:00
Lukas Aldershaab 763c205451 Add type of Children in SimGroup and GuiControl 2020-11-15 21:32:29 +01:00
Lukas Aldershaab 55f459cf2d Add missing call to CInterface::IsMethod 2020-11-15 21:32:29 +01:00
Lukas Aldershaab f4c8e2683e Improve type detection of EngineAPI types 2020-11-15 21:32:29 +01:00
Lukas Aldershaab a7f3724dd1 Handle MatrixF default values 2020-11-15 21:32:29 +01:00
Lukas 90d460d9a4 Remove object and function namespace from argument list 2020-11-15 21:30:45 +01:00
Lukas e69c4f0f6a Remove typename from ArgumentToValue specifier in MethodTrampoline 2020-11-15 21:30:45 +01:00
Lukas 42ca155301 Fix non-mvc compilation in EngineDefaultArguments 2020-11-15 21:30:45 +01:00
Lukas bcb75e21ac Remove typename from ArgumentToValue specifier 2020-11-15 21:30:45 +01:00
Lukas Joergensen c9609fbdbf CInterface integration in CodeInterpreter null ptr fix
mNSEntry can be null if there is no TorqueScript defintion, but there could still be a result from an externally defined source.
´
Furthermore fixes an issue where StringStackConsoleWrapper would die before the value was read.
2020-11-15 21:30:45 +01:00
Lukas Joergensen d567bc9735 Improve Engine API export, robust Default Value logic and allow _ in arg 2020-11-15 21:30:45 +01:00
Lukas Joergensen e95a5bf139 Expose SimPersistID to EngineAPI 2020-11-15 21:30:45 +01:00
Lukas Joergensen fe09d6e125 ModuleSystem: Lookup CInterface methods when calling module create func 2020-11-15 21:30:45 +01:00
Lukas Joergensen 68b6884665 EngineAPI: Expose strings as UTF8 instead of UTF16 2020-11-15 21:30:45 +01:00
Lukas Joergensen 0b5fd8db6e Engine API: Pass structs by reference 2020-11-15 21:30:45 +01:00
Lukas Joergensen 6a9c09f145 Update EngineAPI, use fixed_tuple as main underlying data structure
This also fixes a few issues related to type conversions before data is sent to the engine function.
Squash
2020-11-15 21:30:45 +01:00
Lukas Joergensen a241d27b58 Expand EngineAPI type definitions 2020-11-15 21:30:45 +01:00
Tony a5b31a3cef Added space to append to timestamps if they're used 2020-10-24 20:39:27 -04:00
Tony f7a0047391 Fixed date order to be YYYY/MM/DD 2020-10-24 20:34:03 -04:00
Tony afa8124301 Added date/time stamps option to console log 2020-10-24 05:41:18 -04:00
Areloch 6a3603c737 Overhauls the handling of probes to utilize an active probe list to improve performance and allow a greater total number of active probes in a scene.
Also fixes handling of metal materials during bakes to render properly, and fixes a possible double-up return in findObjectByType, which could cause doubling when getting probes in the scene
2020-10-19 00:53:09 -05:00
AzaezelX eaf814f2e3 EngineExportScope(){} *can't* be initialized by default, aparantly 2020-10-05 13:44:08 -05:00
Brian Roberts d50f1f0b81
Merge pull request #342 from lukaspj/fix/replace-dstrcmp
Replace uses of dStrCmp with new String::compare
2020-10-03 17:01:12 -05: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
Jeff Hutchinson 2bf3c8384c Fix global variables not being able to be used inside of a foreach$ loop. 2020-10-03 00:47:20 +02:00
AzaezelX 1d71ee70e8 memleak fix 2020-09-25 12:25:35 -05:00
Areloch 8956559bfd Various misc. tweaks and fixes based on static code analysis to minimize/fix memleaks, crashes, or other performance impacting code. 2020-09-19 18:25:10 -05:00
Areloch 0b954459a3 Added recursive scanning for utilized assets on any object within the scene, soas to catch objects in simgroups or parented
Disabled initial materialSlot fill-out until logic for looking up assetName from material list name can be done to avoid 'unable to find assetid' spam
Added function to SimGroup to easily acquire child object by index
Some minor cleanup of commented lines in asset browser
Fixed forward/backward navigation arrow behavior in asset browser
Fixed double-click navigation when the AB is in select mode
Fixed erroneous 'could not acquire asset' messages when navigating folders in AB
Added editor setting for UseGroupSnap snap option and integrated it into the UI interface
Removed some duplicate settings from the EditorSettingsWindow
2020-09-02 01:26:43 -05:00
Areloch 2c2c9659e1 Merge branch 'alpha40_HiddenHugs' of https://github.com/Azaezel/Torque3D into Preview4_0_w_alph40_cleanups 2020-05-16 02:17:24 -05:00
AzaezelX 2c1508c169 uninitialized variables-console 2020-05-11 14:40:31 -05:00