Commit graph

430 commits

Author SHA1 Message Date
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
Areloch
52c83d19e1 Added shapeFile field to TSForestItemData convert setting
Fixed modulePath not setting in some cases for project importer
Fixed not assigning drop and splash textures in precipitation
Fixed stringtable insert for sfxProfile
2021-07-28 12:01:17 -05:00
Areloch
abf5a09bc3 Removed duplicate checkbox image
Added asset import conflict resolution option to prepend folder name
Cleanups of Project Importer and fixed importing of material and terrain materials, specifically, fallbacks in the event they are unnamed to utilize the mapTo and internalName fields, respectively
Fixed typos in guiTerrainMaterialDlg
Added AssetBrowser button to GuiEditor
Improved FileObject's PeekLine function to be able to peek forward further via an optional lineOffset argument
2021-07-28 09:26:13 -05:00
AzaezelX
438e6cbb3c fix for diffuse map mangling in several cases, filter imposters out of real time lighting (for now?) fix the blankskybox via a resave, and filter "badfilereference" and "failed" assets out of variable replacement for the project converter 2021-07-25 17:18:55 -05:00
Areloch
432d201569 Further conversions of missed file fields in core and tools
Assets created for missed objects and files
Improvements to the Project Importer to correct a number of issues, including not parsing ,'s from object names, trimming whitespace, pruning script extensions from exec invokes
2021-07-24 02:08:23 -05:00
AzaezelX
4df5baffec alter project importing in the following ways:
A) if the file reference string lacks a "/" or "\" entirely, assume it's truly oldschool relative-to-scriptfile when generating links
B) leverage a combination of getClassHierarchy(%currentObjClass); and a new T3Dpre4ProjectImporter::genProcessor(%classType, %conversionMap) method to list-generate ittertatively applied entry conversions in a typo avoiding manner. (will stil need to ensure the old entries are properly listed. this only really avoids copypasta errors)
2021-07-22 12:25:45 -05:00
AzaezelX
795292bed5 alter nomaterial asset to a) use an imageasset, and b) remove the .cs assumption 2021-07-22 12:21:22 -05:00
Areloch
3e131f5b8e Added changes missed via merge failures.
Removed some unused files/references that were causing errors, related to issues #502 & #512
2021-07-20 20:05:49 -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
AzaezelX
3c0ca5ea88 typofix in getScreenResolutionList 2021-07-09 21:17:13 -05:00
OTHGMars
dd665496d1 Borderless window defaults.
Limits borderless windows to the monitor usable area on non windows platforms to prevent the window from rendering behind taskbar/title bars.
2021-05-14 03:57:00 -04:00
OTHGMars
a5c809a738 Limit fullscreen resolution to options that match the monitor aspect ratio. 2021-05-13 20:52:04 -04:00
Brian Roberts
793c4c3701
Merge pull request #484 from Azaezel/alpha40/matEditorSaveFix
form steve yorkshire: mat editor save extension fix
2021-04-22 20:02:29 -05:00
AzaezelX
0289090c34 minor cleanup 2021-04-22 20:02:21 -05:00
Brian Roberts
2a2987869b
Merge pull request #478 from Bloodknight/SDL_OpenGL_BPP_Fix
Fixes a resolution switching issue when the game uses **only** OpenGL…
2021-04-22 19:51:14 -05:00
Brian Roberts
880cb13762
Merge pull request #448 from Azaezel/alpha40/genericObjectSpawner
general spawnspheres
2021-04-22 19:39:00 -05:00
Brian Roberts
9323bac5ea
Update Templates/BaseGame/game/core/gui/scripts/canvas.tscript
Co-authored-by: Lukas Joergensen <lpjoergensen@gmail.com>
2021-04-13 16:53:31 -05:00
AzaezelX
fadafbfa1b form steve yorkshire: mat editor save extension fix 2021-04-11 19:57:31 -05:00
Areloch
92abfb8ccf Updates the masterserver domain referenced in the default scripts, pointing it to the new torque3d master server 2021-04-08 20:32:22 -05:00
Marc
3d2f3bda64 Fixes a resolution switching issue when the game uses **only** OpenGL as the renderer
Canvas.tscript fixes provided by @OTHG_Mars
2021-03-18 21:37:36 +00:00
Brian Roberts
b6a1acabf8
Merge pull request #471 from Areloch/forestCreationEditingFixes
Adjusts Forest object creation and forest item data creation/management to work with asset/module workflows
2021-03-14 01:12:58 -06:00
Brian Roberts
a8e2ec6df4
Merge pull request #475 from Areloch/importAssetSuffixes
Adds import config settings for forcefully adding configurable suffixes for shapes, materials and images
2021-03-14 01:12:29 -06:00
Brian Roberts
1695e76514
Merge pull request #472 from Areloch/moduleFriendlyDBCreation
Makes the DB creation process better jive with modules
2021-03-14 01:12:05 -06:00
Brian Roberts
6e6f90b8f6
Merge pull request #473 from Areloch/AssetScriptFileABFix
Misc. minor AB fixes
2021-03-14 01:11:55 -06:00
AzaezelX
e5bc0a6e54 reset emissive to show 0,0,0,0 for local/vector lights in a manner that doesn't cause them to black out. 2021-03-09 15:26:48 -06:00
Areloch
a0c8a77043 Adds import config settings for forcefully adding configurable suffixes for shapes, materials and images 2021-02-27 02:43:37 -06:00
Areloch
87bd7bbeae Fixes script presentation logic in the AB so it only shows scripts that isn't an asset file for an asset.
Also fixes a reference to the Inspector for refreshing purposes.
Adds a pop call to ensure AB is in focus when shown
2021-02-21 02:16:34 -06:00
Areloch
12b58dc7ef Makes the DB creation process better jive with modules by having you select the destination folder for the managed datablock script file to be saved off into 2021-02-21 02:09:40 -06:00
Areloch
8af6513aea Adjusts Forest object creation and forest item data creation/management to work with asset/module workflows 2021-02-21 02:04:13 -06:00
Brian Roberts
bea11acc66
Merge pull request #450 from Azaezel/alpha40/playgui_onwake_callback
provides a general Playgui_onWake callback for modules
2021-02-15 22:28:26 -06:00
Brian Roberts
f4982f3b7d
Merge pull request #464 from Azaezel/alpha40/ribbonParticles
ribbon particle resource port
2021-02-15 22:28:10 -06:00
AzaezelX
39c914101d fix emissive 2021-02-14 18:47:42 -06:00
Areloch
931556c3c6 Added the makeRelative call to the other openShapeAsset function to ensure it works both ways 2021-02-13 00:18:48 -06:00
Areloch
372a7887be Fixes the constructor path compare logic in the shape editor so the lists can populate correctly. 2021-02-12 00:21:36 -06:00
AzaezelX
e96624032f ribbon particle resource port 2021-02-07 13:43:21 -06:00
AzaezelX
e153bed606 Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into alpha40/genericObjectSpawner 2021-01-27 19:11:25 -06:00
AzaezelX
863da35ca0 Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into alpha40/playgui_onwake_callback 2021-01-27 19:06:51 -06:00
Brian Roberts
47ec7e8d98
Merge pull request #460 from Azaezel/fix/moduleHelpers
re-fix file exclusivity, readd callonmodules variable extension
2021-01-27 15:12:42 -06:00
AzaezelX
7e3e1941c6 add a toggle for the standard canSaveDynamicFields flipped by default to off so folks can bolt variables on the fly onto the spawner (like thing spawned, how many ect) without it poluting level saves 2021-01-27 14:03:12 -06:00
AzaezelX
1f518499c9 typofix 2021-01-27 13:28:12 -06:00
Areloch
85a9a9b608 Implements shape preview caching for shape assets
Also standardizes the loading gui overlay so it can be used to inform that the asset preview generation is happening
2021-01-27 01:54:26 -06:00
AzaezelX
dee5b46169 re-fix file exclusivity, readd callonmodules variable extension
new method loadAssetsByType(%assetType)
2021-01-27 00:45:49 -06:00
Brian Roberts
762a84550f
Merge pull request #458 from Areloch/ObjectCreatorABAdd
Integrates object creator logic into the AB
2021-01-24 15:15:31 -06:00
Areloch
3cb1699ed1 Fixed guiProfile references 2021-01-24 04:40:19 -06:00
Areloch
b7a2c30337 Integrates object creator logic into the AB
Adds lookup logic to Datablock AB entries to try and find class icons for the preview
Adds 2 new datablock class create methods
2021-01-24 04:33:28 -06:00
AzaezelX
e3933f7769 augment datablock file handling to include references with no suffixes 2021-01-24 02:43:21 -06:00
Areloch
a71805515c Corrects missed asset script file references in asset definitions when swapping to the tscript extension 2021-01-20 19:41:28 -06:00
Areloch
c051a0357c Fixes some conversion mistakes in the scripts 2021-01-19 21:32:31 +01: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