Commit graph

5538 commits

Author SHA1 Message Date
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
Brian Roberts
237f5230d7
Merge pull request #788 from Areloch/NewForestItemListFix
Fixes issue where creating a new ForestItem wouldn't have it show in the ForestItemData dropdown on brushes until you restart.
2022-05-24 04:49:10 -05: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
Brian Roberts
30251f5be1
Merge pull request #787 from JeffProgrammer/ts_strempty_is_now_0
Fix edgecase where empty string was not being explicitly set to 0 in …
2022-05-23 20:09:59 -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
Brian Roberts
bb5023fa7d
Merge pull request #785 from Ragora/adjustment-update-sdl
Adjustment: Update libsdl to address a bug in compilation on MacOS
2022-05-21 20:59:35 -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
Brian Roberts
516163fd5d
Merge pull request #781 from Areloch/MiscFixes20220510
Misc Fixes for 2022/05/10
2022-05-11 01:15:07 -05:00
Brian Roberts
81b4cc92b6
Merge pull request #780 from Areloch/UINavigation
Implements a more standardized way to format usual UI pages by having the ability to utilize the UINavigation namespace for page stack navigation
2022-05-11 01:14:57 -05:00
JeffR
8aed00ec4d Fixed graphical level values to set defaultAnisotropy instead of vsync
Forced update of cursor position when using keyboard/mouse on options menu when changing an option to re-establish focus after refresh
Updated missed bitmap field on GuiPopupMenuItemBorder to use assetId
Made folders display before other preview entries in the AB for ease of navigation
Fixed issue where when re-opening the AB the path would reset, especially with select mode
Fixed issue when generating previews for materials, terrain materials and shapes where the very first time the preview generated it wouldn't map correctly
Cleaned up some old commented code blocks
Added text to the Open menubar entry in the GUIEditor to indicate it opens files specifically to add clarity
2022-05-11 00:58:14 -05:00
JeffR
5f871763fb Adds creator callback integration to pair with the base UI module having shortcut creator entries in the GUIEditor for creating stuff like the UINavigation containers, or MenuList controls with the namespace hooks already established. 2022-05-09 20:57:42 -05:00
JeffR
07b3e2789e Adds proper documentation and explains some of the navigation/menu usage behavior via the BaseUI example menus 2022-05-09 16:17:22 -05:00
JeffR
41add628ad Implements a more standardized way to format usual UI pages by having the ability to utilize the UINavigation namespace for page stack navigation
Also fixes behavior handling of menu input buttons not refreshing reliably
Adds ability to define a control on a MenuList to act as a highlighter over the currently selected control
Cleaned up BaseUI pages to use UINavigation which reduced a lot of duplication of elements and code
2022-05-06 23:39:16 -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
Brian Roberts
e43ed41d11
Merge pull request #775 from Azaezel/alpha40/updateSDL2022
update sdl to release 2.0.22
2022-05-06 17:10:42 -05:00
AzaezelX
af88302935 Merge branch 'Preview4_0' into alpha40/updateSDL2022 2022-05-05 17:55:04 -05:00
Brian Roberts
22db2d4291
Merge pull request #779 from JeffProgrammer/make_console_sane_again
Make the Console Sane Again
2022-04-27 21:32:39 -05:00
Brian Roberts
e58dce4997
Merge pull request #778 from JeffProgrammer/torquescript_ternary
Fix weird ternary operator in torquescript regression
2022-04-27 20:29:35 -05:00
Jeff Hutchinson
c6263829c9 Make the Console Sane Again 2022-04-27 21:28:49 -04: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
Brian Roberts
35de012ee7
Merge pull request #776 from Areloch/workflowIfFix
Adds a conditional to the github workflow file so it only runs on the main repo
2022-04-26 11:07:28 -05:00
JeffR
bea7d6f4a1 Adds a conditional to the github workflow file so it only runs on the main repo 2022-04-26 11:06:15 -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
6dae3e940c
Merge pull request #774 from CouleeApps/github-actions-ci
Github actions CI
2022-04-26 08:32:31 -05:00
Brian Roberts
113f9da67f
Merge pull request #771 from Azaezel/alpha40/macCompile
correct mac compilation
2022-04-26 08:31:41 -05:00
Brian Roberts
b37d15d183
Merge pull request #769 from Areloch/MiscFixes20220423
Misc Fixes 2022/04/23
2022-04-26 08:31:22 -05:00
Glenn Smith
e5fba24778
Github actions CI
Using cmake + ninja
2022-04-26 05:37:51 -04: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
Brian Roberts
1444f47b88
Merge pull request #772 from DraconicEnt/cleanup-compile-warnings
Cleanup: Resolve several compiler warnings associated with TORQUE_DEBUG
2022-04-25 17:52:27 -05:00
Robert MacGregor
39952a490f * Cleanup: Resolve several compiler warnings associated with TORQUE_DEBUG. 2022-04-25 18:23:15 -04:00
AzaezelX
bd1bbdc258 correct mac compilation
SDL now leverages https://cmake.org/cmake/help/v3.10/command/enable_language.html
2022-04-25 13:28:32 -05:00
JeffR
81eec1dcb4 Added multi type filter support to AB select mode
Adjusted logic for World Editor's Assets tab to filter by ShapeAssets and Datablocks
Improved ShapeEditor's Assets tab filter and select logic
Added ability for AB search to work on creator section
Fixed icon display of AB on preview cards when in list mode
2022-04-24 13:03:33 -05:00
JeffR
4f3d6c918b Fixes issue where storing of AB position and extent wasn't applying correctly
Changes ShapeEditor's Library tab to an "Assets" tab and opens the AB with the shapeAsset filter on
Adds Asset tab to world editor scenetree window that opens the assetBrowser
Fixes issue where opening default scene in worldEditor would activate the saveAs dirty flag, then if you exit the level and open a new one, you can only saveAs and not save the existing level asset
2022-04-24 12:16:22 -05:00
Brian Roberts
8b127373c0
Merge pull request #770 from zfbx/Preview4_0
add .vs directory to gitignore
2022-04-24 07:48:15 -05:00
Tony zfbx
1ef41d8545 add .vs directory to gitignore 2022-04-23 21:23:26 -07:00
JeffR
70a70dfc10 Fixes issue with some of the On/Off options not properly toggling in the OptionsMenu
Adds staged loading/generation of preview images for image, shape, material and terrain material types to improve navigation responsiveness
Disabled lookup of bitmap info of image assets for tooltip metadata as it was causing major hangs when the images were high resolution
Added function so Import new File button on AB interface will correctly prompt to find and then import in a new file
Fixed theming of AssetBrowser preview card profiles to improve readability
Fixed theming of ToolsGuiTextListProfile to improve readability
Fixed issue where trying to import in a splat map for importing terrain data could fail due to not having full path when trying to load the bitmap's channel data
Corrected Import Terrain Heightmap item in menubar to prompt creation of a new terrain asset in addition to opening the import terraindata window to avoid missed steps foc creation
2022-04-23 16:07:36 -05: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
Brian Roberts
4b391d8a27
Merge pull request #767 from lukaspj/fix/taml-schema-for-array-groups
Fix TAML schema for array groups
2022-04-20 01:14:14 -05:00
Lukas Aldershaab
6d2c108cbd Fix TAML schema for array groups 2022-04-20 00:24:38 +02:00