Commit graph

3765 commits

Author SHA1 Message Date
Robert MacGregor 4ef3f89280 * BugFix: Correct a minor post-merge typo. 2022-06-09 23:10:13 -04:00
Robert MacGregor 1e9aa8b86f Merge branch 'Preview4_0' into str_cpp_memory_experiment 2022-06-09 22:49:43 -04:00
Robert MacGregor 704113577b * Cleanup: Remove leftover comments from str.cpp. 2022-06-09 19:30:25 -04:00
Robert MacGregor 6d0e81763b * BugFix: Correct not setting the string to interned when allocating a StringData with a DataChunker in str.cpp. 2022-06-09 19:26:39 -04:00
Robert MacGregor 2cdfe70e50 * Experiment: Change the way StringData is allocated in the code, experimentally. 2022-06-08 11:27:16 -04:00
Robert MacGregor d5d846f311 * BugFix: Correct invalid fall-through behavior in sdlInputManager.cpp. 2022-05-25 19:25:33 -04:00
Brian Roberts 13a296aae8
Merge pull request #783 from Azaezel/alpha40/ambeintOrderOps
fix sDefaultAmbience intialization.
2022-05-25 00:26:27 -05:00
Brian Roberts dd801ec1a1
Merge pull request #790 from Areloch/MiscFixes20220524
Misc Fixes for 2022/05/24
2022-05-25 00:25:37 -05:00
JeffR 70a9666cc3 Removes erroneous assignment of loaded state onto fallback assets when we fail to find an assetId by filename for image and shape assets
Fixed handling of TSStatics' materialSlot fields, where if the field has been changed, it properly loads the modified field and ensures the reskin action happens correctly.
Changed text on some context popup menu to better indicate the action Views loose files, not imports them
Makes the Loose File Viewer skip cached.dts files.
2022-05-25 00:12:12 -05:00
Robert MacGregor 0df555f9eb * Adjustment: Add static keyword to getCPUInformation in POSIXCPUInfo. 2022-05-24 21:38:03 -04:00
Robert MacGregor 3be4f5983e * Cleanup: Remove mInstallLibrary_Vec from platformMac. 2022-05-24 21:27:13 -04:00
Robert MacGregor 4a92ecf9e5 * BugFix: Remove the last remnant of 3DNow! Extensions. 2022-05-24 21:11:08 -04:00
Robert MacGregor 2368f1d97c * Feature: Reimplement POSIX CPU information.
* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
2022-05-24 20:58:28 -04:00
Robert MacGregor c687c0d23a * BugFix: Remove unused 3DNow! extensions and broken SSE extensions. 2022-05-24 20:39:34 -04:00
Jeff Hutchinson 27fd15de83 Merge remote-tracking branch 't3d/Preview4_0' into cpuinfo 2022-05-24 17:16:57 -04:00
JeffR 52368a0428 Fixes issue where creating a new ForestItem wouldn't have it show in the ForestItemData dropdown on brushes until you restart. 2022-05-24 02:10:06 -05:00
Jeff Hutchinson 8f2beb3219 Fix edgecase where empty string was not being explicitly set to 0 in torquescript when used as integers/floats/bools.
We found this in the setInventory standard module. in setInventory, %max was being set to empty string, but being compared to 0 during TorqueScript comparison ops. I knew to look in ConsoleValue's type conversion functions, as the interpreter internally uses ConsoleValues when working with torquescript variables under the hood. ConsoleValue is responsible for handling all type conversions on the fly as needed inside of the core interpreter logic.
2022-05-23 20:25:32 -04:00
Brian Roberts 7984777336
Merge pull request #786 from JeffProgrammer/ts_conversion_buffer_allocator
Better allocator for TorqueScript temp conversions during interpretation
2022-05-21 21:31:53 -05:00
Jeff Hutchinson 3988e7baee Better allocator for TorqueScript temp conversions used during interpretation
instead of using a Vector<> that never frees and grows for torquescript temporaries created when doing type conversions)
2022-05-21 21:55:44 -04:00
Robert MacGregor eab544c8f3 * Adjustment: Update libsdl to address a bug in compilation on MacOS devices. 2022-05-21 20:25:30 -04:00
AzaezelX ff0e418132 fix sDefaultAmbience intialization.
we don't want to spool that up before the SFX subsystem has kicked in
2022-05-16 19:22:25 -05:00
Brian Roberts fea5f325ea
Merge pull request #777 from Azaezel/alpha40/assimp523
update assimp to 5.2.3 Bugfix-Release
2022-05-06 17:10:51 -05:00
AzaezelX af88302935 Merge branch 'Preview4_0' into alpha40/updateSDL2022 2022-05-05 17:55:04 -05:00
Jeff Hutchinson 59125c85eb Fix weird ternary operator in torquescript regression
With a test!
2022-04-27 21:02:55 -04:00
AzaezelX 7716663346 need to unhide OBJ for this one 2022-04-26 17:11:02 -05:00
AzaezelX 82e608f990 add workaround logic for configuration file generation 2022-04-26 16:03:00 -05:00
AzaezelX f297476092 update assimp to 5.2.3 Bugfix-Release 2022-04-26 11:56:24 -05:00
AzaezelX d4307ea413 update sdl to release 2.0.22 2022-04-26 09:17:21 -05:00
Brian Roberts 9a436f3c17
Merge pull request #773 from Areloch/VertexColorHLSLBRGAFix
Removes the BGRA inversion when displaying vertex colors on materials
2022-04-26 08:32:44 -05:00
Brian Roberts 113f9da67f
Merge pull request #771 from Azaezel/alpha40/macCompile
correct mac compilation
2022-04-26 08:31:41 -05:00
AzaezelX 4ae7d7ce3f from higuy: "PATH_MAX is defined there on macos" 2022-04-26 02:00:34 -05:00
JeffR cbf758e089 Removes the BGRA inversion when displaying vertex colors on materials 2022-04-25 23:53:40 -05:00
Robert MacGregor 39952a490f * Cleanup: Resolve several compiler warnings associated with TORQUE_DEBUG. 2022-04-25 18:23:15 -04:00
Brian Roberts 3f796d2a06
Merge pull request #768 from Azaezel/alpha40/singleSlotORMs
drop the prior requirement for a createcomposite to have a minimum of…
2022-04-21 06:00:55 -05:00
Brian Roberts 30300e93bd
Merge pull request #766 from Azaezel/alpha40/BigusNumerus
requested feature: large number display
2022-04-21 06:00:47 -05:00
AzaezelX c14c9b78c0 drop the prior requirement for a createcomposite to have a minimum of roughness and metalness. also kick it off if it's got just an ao map. 2022-04-20 15:53:29 -05:00
Lukas Aldershaab 6d2c108cbd Fix TAML schema for array groups 2022-04-20 00:24:38 +02:00
AzaezelX b795776b23 requested feature: large number display
origional author: Peter Simard
2022-04-17 13:03:44 -05:00
AzaezelX 880ac5a264 bump down saveScaledImage default to 256
also add a "Assets/Browser/PreviewImageSize" value lookup, which if left blank defaults to 256
2022-04-12 19:46:19 -05:00
JeffR 1c7c32baa6 Separates out acquireAsset call for importing assets until after all assets have been imported, then runs it as a post step to ensure all assets are properly loaded before they're used 2022-04-10 19:41:37 -05:00
JeffR 50973b7f6f Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into MiscFixes2022049 2022-04-10 18:54:33 -05:00
AzaezelX 0136af477f getAssetIdByFilename loaded state fix
getAssetIdByFilename should set the <type>Asset->mLoadedState = AssetErrCode::BadFileReference; so we know we're using a fallback
2022-04-10 17:29:55 -05:00
JeffR 5c8d8fab00 Changes behavior with suffix appending of asset importer so it doesn't contaminate the original "clean" name, which is used for setting the mapTo value of material definitions
Also adds a sanity check when applying the type suffix to see if it's already there to avoid needless doubleups
Fixes offsetting/positioning behavior on icon buttons to actually respect the icon position variable
Adds sanity checks to ensure we're not trying to utilize a in-process-of-deleting decoy dummy
Fixes handling of sliders in option menus to properly store and test unapplied values
Fixes handling of display device setting to properly store and test unapplied values
Adds additional logic to creation of shape and material asset previews to attempt to force-load dependencies to improve likelihood that they'll actually be loaded when we go to generate the preview.
Temp disables creating cubemap 'assets' via the RMB context menu in the AB
2022-04-10 01:40:15 -05:00
Brian Roberts ab90f288c1
Merge pull request #751 from Azaezel/alpha40/sdl2Sync22MAR22
update sdl to https://github.com/libsdl-org/SDL 22March 2022
2022-04-09 05:52:30 -05:00
Brian Roberts be3be2eb7d
Merge pull request #760 from Areloch/ForestBrushGroupToolingFixes
Fixes tooling of Forest Editor to be module-friendly
2022-04-08 01:29:06 -05:00
JeffR bfe3d4d02b Shifts handling of forest brush and item elements into standard simsets for consistency
Updates the forest editor tooling to utilize the new sets, and adjusts the creation of new Brushes in the forest editor to have user select a target module first.
This ensures all a module's brushes are grouped into the new ForestBrushGroup class which auto-registers into the ForestBrushSet, thus allowing modules to have their own sets of brushes that automatically hook into the editor workflow.
2022-04-07 18:19:13 -05:00
Brian Roberts 67b5afcfbe
Merge pull request #758 from Azaezel/alpha40/spawnDisplayAug
display the item to be spawned
2022-04-07 11:48:20 -05:00
JeffR 976c0bca79 Fixed uninitialized values for renderMeshExample and renderShapeExample which would cause a crash on creation
Added utility method to prefab to be able to get the internal simGroup that contains it's children
Adjusted logic for mounting items in GuiShapeEdPreview to utilize assetIds for the shapes
Moved the Asset and AssetBrowser editor settings populate functions to the AssetBrowser script to better organize things
Fixed command usage for General, Player and Observer spawn point creator entries to use the correct callback commands
Fixed logic for creator callback commands that don't just route through the class name based structure
Added RMB context menu actions for opening asset file or folder locations in OS file explorer
Fixed lookup of animation assets when editing a shape's animations in the shape editor so it provides the assetId of the anim if it exists
Fixes handling of mounting in the shape editor so it utilizes assets and the asset browser like everything else
2022-04-06 01:08:20 -05:00
AzaezelX e1a127715e sanity checks 2022-04-05 20:17:51 -05:00
AzaezelX ed33c70a23 display the item to be spawned
given a valid datablock name, use that meshes shape to display the spawnsphere mesh, rather than the default one
2022-04-05 18:54:09 -05:00