Brian Roberts
917cb882e9
Merge pull request #1136 from Areloch/TabbedEditorFormBaseline
...
Moves the world Editor guis to be based through a tabbed structure
2023-11-14 19:31:42 -06:00
Areloch
59247bd9ca
Moves the world Editor guis to be based through a tabbed structure to make it easier to begin separating out editor/tool guis into their own tabs or elements for better separation.
...
Currently establishes the MainScene tab and otherwise retains existing behavior directly
2023-11-14 18:58:58 -06:00
Brian Roberts
52b5ab197c
Merge pull request #1134 from Azaezel/alpha41/spotlightFix
...
revert b5d1d1a02c
2023-11-14 12:10:00 -06:00
AzaezelX
182fec8b1a
revert b5d1d1a02c
...
turns out that caused lighting 'occlusion' artifacting
2023-11-14 12:09:32 -06:00
Brian Roberts
fcd611353d
Merge pull request #1133 from Azaezel/alpha41/updateAudioStateCrashFix
...
fix updateAudioState null crash
2023-11-12 21:32:56 -06:00
AzaezelX
155477492d
fix updateAudioState null crash
2023-11-12 21:32:24 -06:00
AzaezelX
7a9715654d
fix bitmap button state display
2023-11-12 19:49:45 -06:00
AzaezelX
1cf754dbca
asset load refactor
...
genral load method, now returns loadedstate across the board
2023-11-12 16:33:17 -06:00
AzaezelX
eeb42632f5
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/clusterCluck
...
# Conflicts:
# Engine/source/gui/worldEditor/guiConvexShapeEditorCtrl.cpp
# Engine/source/gui/worldEditor/guiConvexShapeEditorCtrl.h
# Engine/source/scene/sceneContainer.h
2023-11-10 02:50:13 -06:00
Brian Roberts
e20e31072b
Merge pull request #1129 from Azaezel/alpha41/sigSour
...
fix getPrototypeSig
2023-11-10 02:46:10 -06:00
AzaezelX
b0aadfb6e6
fix getPrototypeSig for cases of no input values whatsoever for a given method
2023-11-10 02:31:58 -06:00
AzaezelX
4e93c0543e
hide scopealwaysshape from the "add" list, by consensus shive portals et al back to being tagged as volumes
2023-11-09 16:09:27 -06:00
AzaezelX
fbcfe02098
clean up "Add" menubar categoes on the 3d object side via the following:
...
SceneObject now defaults to a category of "misc"
getCategoryOfClass now checks parent classes for what categories they hold so that variants can inherit
categories are in one of a few rough groups and subgroups depending on actual mapper needs/usages
2023-11-08 20:42:47 -06:00
Brian Roberts
a44c57aee4
Merge pull request #1127 from Azaezel/alpha41/playAudioCrashfix
...
fix playAudio crash
2023-11-05 15:31:09 -06:00
AzaezelX
12d0688abd
fix playAudio crash
2023-11-05 15:30:19 -06:00
James Urquhart
97d7d2e992
Alternate fix for castRay issue
2023-11-04 22:06:13 +00:00
AzaezelX
0303cadcc0
imageasset entries can be blank
...
don't spam the console. and definitely don't try and load it
2023-10-31 12:00:35 -05:00
James Urquhart
e8271413e1
Set ri.object for castRay so convex shape editing works
2023-10-28 19:39:21 +01:00
Areloch
473e566b70
Adds a separate gui profile for the popupmenus themselves that has a lighter border color, making it easier to keep track of the layout
...
Fixes the C++ asset creation and management function names so the AB can create C++ assets now
removes duplicate menuBuilder script file
2023-10-24 17:53:37 -05:00
Brian Roberts
083e367be1
Merge pull request #1117 from marauder2k9-torque/AppleToolchainTest
...
Apple toolchain fixes
2023-10-22 09:35:14 -05:00
Areloch
c2d1e9d654
Expands functionality of MenuBuilder to act as primary API for building out menus
...
Shifts "Help" menubar entry in world editor to use new API structure as example/test
Removes extraneous 'MainEditor'
Adds EditorCore module
Moved Menubuilder to EditorCore module
Fixes Help Menu editor settings so they properly point at modern documentation and forum URLs
Fixes handling of MenuBar so when inserting new items, ensures the menubar refreshes as would be expected
Adds remove function to menubar to remove a menu
Removes old commented console methods from menubar file
Adds checks for onMouseDown and onMouseUp for PopupMenu so items that are submenus aren't clickable like normal items
2023-10-22 00:47:29 -05:00
marauder2k7
dbb6359d80
Update CMakeLists.txt
...
add remaining torque requirements
2023-10-22 00:56:57 +01:00
marauder2k7
be3d26d9e6
SDL_FILESYSTEM
...
-Set the base dir based on build type
-enable only building active arch on debug
2023-10-22 00:47:14 +01:00
marauder2k7
2b2ce0229c
Merge remote-tracking branch 'upstream/development' into AppleToolchainTest
2023-10-22 00:19:52 +01:00
marauder2k7
54959f0d19
SFXEmitter play pause and stop buttons ( #1115 )
...
-Add buttons to the inspector for SFXEmitter that will play pause and stop the sfxEmitter.
NOTE: Purely effects the state of the emitter when in the editor this will not effect sfxEmitter functionality in a level.
2023-10-21 18:09:19 -05:00
marauder2k7
852ed8f225
Sfx playlist asset working ( #1109 )
...
* GroundWork
-Reverted SFXPlaylist since it is going to be made from an asset now instead.
-Added extra options to soundAssets description.
-SFXPlaylist may need an onAdd function
* Update sfxController.cpp
* SFXPlaylist data
-Added sfxPlaylist init persist fields for the slots to sound asset
-Added logic to fil sfxPlaylist if more than 1 slot is filled
* Update SoundAsset.cpp
to stop git ci complaining, assetImporter........
* Update SoundAsset.h
* sfxPlaylist
-Fix: incomplete type error
-Added onAdd and onRemove to playlist
-SoundAsset getProfile define now returns playlist if the asset is a playlist.
* Update SoundAsset.h
-updated asset array to return playlist or profile depending on what the asset is
* SFXPlaylist working
-SFXPlaylist works
AudioChannelDefault gets its volume set to 0 for some reason and was throwing off making sfxPlaylist inaudible.
Still an exception when closing if using a playlist trips on line 355 of sfxSound
* Update sfxSound.h
* setSoundFile index null fix
* Update SoundAsset.h
* Update SoundAsset.h
* netstream safety in case of a null asset assignment
* Update sfxController.cpp
added safeties around a null playlist trying to play.
* Update with Az's asset err code changes
---------
Co-authored-by: AzaezelX <quillus@hotmail.com>
2023-10-21 17:19:02 -05:00
marauder2k7
aebcf3fc87
Merge remote-tracking branch 'upstream/development' into AppleToolchainTest
2023-10-21 21:24:27 +01:00
AzaezelX
e6c2fe78fb
generateCachedPreviewImage needs loadShape()
2023-10-21 15:15:27 -05:00
Brian Roberts
a8194fdf3a
Merge pull request #1114 from Azaezel/alpha41/assetAnalysisAugs
...
asset load flow work
2023-10-21 01:37:38 -05:00
marauder2k7
acf3177021
Revert "example cmake workflow"
...
This reverts commit 233c6a8045 .
2023-10-21 07:08:12 +01:00
marauder2k7
233c6a8045
example cmake workflow
2023-10-21 01:50:31 +01:00
JeffR
92743f6fd8
Adjusts the logic for when creating a simObject from a taml so that array elements(like material slots or sound asset slots) properly can handle prefixed field values, such as referencing loose asset files.
2023-10-20 17:51:49 -05:00
marauder2k7
8b7e318fd5
multiplatform fixes
...
-Wrap macosconfig in if(apple)
2023-10-20 22:33:20 +01:00
marauder2k7
9bc06f0887
main dir
...
SDL_BaseDir was returning the directory that contains the app, now it returns the resources directory
2023-10-20 22:23:38 +01:00
marauder2k7
f10520e751
Macosx build with rpath
...
Archiving builds no longer have linking errors when run
2023-10-20 21:06:53 +01:00
marauder2k7
b6617b1b0f
Working multi-arch archiving
...
-Working multi arch compile
-Required assets now copy to the app bundle
TODO: Make the logic to wrap around whether its multi arch
-The changes in torqumacosconfigs.cmake are not required if we are only building one architecture, also if it is x86_64 we can drop min deployment target to 10.13
2023-10-20 12:04:56 +01:00
marauder2k7
e381bf4838
Working archive
...
-Archive now working if we override the shared libs rpath with the correct installation path
2023-10-20 00:19:40 +01:00
marauder2k7
0af0b5a24a
MACOS working
...
Mac working in this stage
2023-10-19 14:39:22 +01:00
marauder2k7
c11587cad3
Attempt 2
...
-Missing includes may be due to no parent_scope
2023-10-19 11:04:16 +01:00
AzaezelX
4fb67ed618
refactor by request
2023-10-15 16:09:49 -05:00
AzaezelX
3bdce1f33e
lower engine requirements back to c++17 standards, not c++20.
2023-10-15 16:09:49 -05:00
marauder2k7
e6ead9f268
Update console.cpp
2023-10-15 15:14:58 -05:00
marauder2k7
09b1e9783a
Mem fix
...
-Data chunker was leaking, (my bad) fixed
-Added != operator to scene container for std:c++17 conformance.
2023-10-15 15:14:58 -05:00
AzaezelX
b278802645
cmake cleanups
...
new global defines: TORQUE_LIB_ROOT_DIRECTORY and TORQUE_LIB_TARG_DIRECTORY for source location and target to build static libs, respectively
reassign location back to torqueConfig.h, torque.rc, and Info.plist to "${TORQUE_APP_ROOT_DIRECTORY}/source/ aka \My Projects\<apname>\source by request
2023-10-14 23:02:55 -05:00
AzaezelX
a8d640e311
clean up redundant loads, shift first load to getResource methods for sound and shape.
...
still need to properly sort image
2023-10-09 14:41:14 -05:00
Lukas Aldershaab
a5e75dfd61
Make sure TORQUE_TARGET_PROPERTIES is populated before using it
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
df8041e689
Add support for replacing the main.tscript file with a specified Console Function
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
bcea9bfc3a
Support setting target properties and link options from modules
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
87c6884433
Expose SimObjectPtr C-API functions using EngineAPI
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
8748a2cac8
Expose some information in EngineFunction exports for better interop capabilities
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
ee93dc3b57
Ensure that getGlobalScope always returns the same object
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
2c9f6a5350
Remove EngineXMLExport filtering
2023-10-08 17:36:51 -05:00
Lukas Aldershaab
25c1ebcf13
Properly call endGroup instead of addGroup
2023-10-08 17:36:51 -05:00
AzaezelX
b710a309bd
asset load flow work
...
add reloading state to asset tracking,
convert most asset.isnull() checks on over to skipping out unless the errcode is ::Ok, or ::UsingFallback
add more errstriongcodes to hook up
skip load<type> execution if the asset loaded state is ::Ok
2023-10-08 13:19:43 -05:00
Lukas Aldershaab
753cbe32d9
Fix SkipMainCs flag, it was inverted
2023-09-28 08:31:39 -05:00
Lukas Aldershaab
27b6973da0
Reintroduce getFileLine for Console Modules
2023-09-27 14:58:44 -05:00
Lukas Aldershaab
01cfa4a604
Add sensible defaults for Console Module interface
2023-09-27 14:58:44 -05:00
Lukas Aldershaab
569f3a1e41
Allow skipping main.tscript execution
2023-09-27 14:58:44 -05:00
AzaezelX
0f55389712
rigidshape and derivatives cleanups
...
dragforce for rigidshapes and children defaulted to a value it's own debuggers won't complain about out of the gate
removed duplicate invalidation for flying vehicle sounds causing network instability
removed redundant hovervehicle vars
2023-09-27 14:37:41 -05:00
Lukas Aldershaab
5615cc33d8
Remove CInterface script hooks, superseded by console refactor
2023-09-27 14:11:13 -05:00
Lukas Aldershaab
a4e3a000fb
Fix Dynamic Library builds on Windows
2023-09-27 13:53:30 -05:00
Lukas Aldershaab
d05d9b6cf1
Fix minor typo
2023-09-27 13:53:30 -05:00
James Urquhart
6605ddc66a
Improve ray intersection tests
2023-09-26 12:03:51 -05:00
James Urquhart
568f889dbc
Correctly handle currentT processing between bin checks during castRay
2023-09-26 12:03:51 -05:00
James Urquhart
dad888f862
Fix compile issue with gcc/clang
2023-09-26 12:03:51 -05:00
James Urquhart
175831fd30
Remove dead code comment
2023-09-26 12:03:51 -05:00
James Urquhart
d278aab929
Improve SceneContainer testing code
2023-09-26 12:03:51 -05:00
jamesu@gmail.com
32a5644d2e
Add preliminary testing code for SceneContainer util classes
2023-09-26 12:03:51 -05:00
James Urquhart
7e0016e670
Correct zone insertion logic
2023-09-26 12:03:51 -05:00
James Urquhart
d9ff5d3f0e
Basic zone code refactor using lists instead of linked lists
2023-09-26 12:03:51 -05:00
James Urquhart
7e5eacc43d
Fix SceneContainer ray test
2023-09-26 12:03:51 -05:00
James Urquhart
596d13f9a4
Optimize container bin lookups
2023-09-26 12:03:51 -05:00
Lukas Aldershaab
c6047b24eb
Fix foreach over non-existant objects
2023-09-24 14:36:56 -05:00
AzaezelX
0c97732ae9
cleanups for disablemove
...
downshift the exposure of the entry to rigidshape so it and vehicles all have the button.
fix moving them after they've become atrest failing to apply gravity untill collided with or applyimpulse is called on them
de-duplicate vehicle networking in reguards to rigid body instance variable transmission
2023-09-22 19:02:26 -05:00
Areloch
7819ca4037
Adds the hlsl and glsl wind deformation shader feature implementation code back into the cmake logic
2023-09-17 19:14:42 -05:00
Lukas Aldershaab
09befb1e3b
Cleanup includes
2023-09-17 00:35:03 +02:00
Lukas Aldershaab
7c46789a9e
Add assertions around registerObjects
2023-09-17 00:30:40 +02:00
Lukas Aldershaab
24f8e6ff87
Update InspectorField test name
2023-09-17 00:28:23 +02:00
Lukas Aldershaab
6de2b455c4
Fix evaluatef argument handling and add regression test
2023-09-17 00:22:44 +02:00
Lukas Aldershaab
ff03c43b03
Cleanup after datablock tests
2023-09-16 23:34:48 +02:00
Lukas Aldershaab
e7d17e5453
Fix error in DB substitution logic and add regressiontest
2023-09-16 23:29:13 +02:00
AzaezelX
a746957cd9
Merge branch 'development' into weirdtsbug
2023-09-13 08:46:47 -05:00
Lukas Aldershaab
83ea6cd0df
Improvements based on experience from implementing Python runtime
2023-09-13 10:33:28 +02:00
Lukas Aldershaab
e28e24a802
ConsoleValue improvements
2023-09-13 10:33:28 +02:00
Lukas Aldershaab
89b0c7f73b
Console Refactor
2023-09-13 10:33:20 +02:00
Jeff Hutchinson
5d842fc79f
TScript - Fix Type Bug
...
The compiler was found to have a bug where the variable type cannot ever change, causing issues.
2023-09-12 22:07:28 -04:00
Areloch
c6f0f9cfd3
Based on Tron's suggestion, making the startTime var static to avoid possible collisions
2023-09-07 20:54:22 -05:00
Brian Roberts
436cc91512
Merge pull request #1080 from Azaezel/alpha41/rangeUnRage
...
expand editor range fidelity to 7digits, and min/max to 10^32, not 10^3
2023-09-06 10:30:33 -05:00
Areloch
24c758d383
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into NilsUI_Updates_GuiClassTweaks
2023-09-05 17:49:27 -05:00
AzaezelX
e54c9428f0
expand editor range fidelity to 7digits, and min/max to 10^32, not 10^3
2023-09-05 11:04:39 -05:00
Brian Roberts
1f9cc0d5ef
Merge pull request #1076 from Areloch/NilsUI_Updates_ConsoleTimeTweaks
...
Tweaks some of the handling for timestamp stuff
2023-09-05 08:14:37 -05:00
Areloch
2a7965dd71
Removed the extra timestamp formatting change
2023-09-05 00:09:44 -05:00
Areloch
d0f914b3e6
From Nils' UI work
...
Adds ability to control button margin of IconButtons
Adds ability to define button offset of window controls
Add mouse drag callback for window controls
Tweaks colors of gui slider control
Tweak to line split for text edit slider bitmap control
Tweaks to colors for text edit slider control
Tweaks to colors for Edit control
Tweaks to default menubar height
2023-09-04 22:50:45 -05:00
Areloch
3451c11393
From Nils' UI Update work. Adds some new named colors
2023-09-04 22:36:28 -05:00
Areloch
53869495fd
From Nils' UI Update work. Tweaks some of the handling for timestamp stuff, and adds some utility console functions for getting/resetting said timestamp stuffs.
2023-09-04 22:28:49 -05:00
Brian Roberts
a445a43646
Merge pull request #1074 from Azaezel/alpha41/vertColorCorrection
...
re-fix vert color swizzle
2023-08-24 09:44:43 -05:00
AzaezelX
62b6b57405
re-fix vert color swizzle
2023-08-22 21:23:54 -05:00
Brian Roberts
1473a162a8
Merge pull request #1072 from Azaezel/alpha41/sfxEmitterWipWork
...
sfxemitter misc cleanups
2023-08-17 22:03:32 -05:00
AzaezelX
bd3fc1a936
terrain debug reporting cleanups
2023-08-17 13:37:42 -05:00
marauder2k7
4ae888e4f8
Update POSIXFileio.cpp
2023-07-27 21:48:13 +01:00
marauder2k7
f86f947f70
Update unitTesting.cpp
...
Return 0
2023-07-27 21:46:07 +01:00
marauder2k7
5427e941ce
UnitTest
...
Change unit tests to run without script
runTests now just holds a purely script test example
Test Explorer in VS now works with tests
NB do not use test explorer on purely script based tests.
2023-07-27 21:02:27 +01:00
marauder2k7
3d46cf51d0
Update POSIXFileio.cpp
...
fixe fileio test linux
2023-07-27 20:23:30 +01:00
marauder2k7
2e91837f6a
Update thread.cpp
...
fix linux thread tests.
2023-07-27 19:46:04 +01:00
marauder2k7
37dd2fe349
Update unitTesting.cpp
2023-07-26 16:00:03 +01:00
marauder2k7
434c7f7ea2
test report
...
-check to see if emojis are messing with triggering the test reporters
-remove success spam from unit test output
2023-07-26 15:49:58 +01:00
marauder2k7
3ba845cd6f
test report file
...
-fix test report file path
2023-07-26 10:36:58 +01:00
marauder2k7
206ba83ee9
Update gfxD3D11Device.cpp
2023-07-25 15:22:48 +01:00
marauder2k7
f2292a6a1f
missed define
2023-07-25 13:30:53 +01:00
marauder2k7
564d48e95f
fix for windows
...
Windows segfault was only appearing after changes to windowManagerTest, either that or because linux was failing first it wasn't giving windows a chance to fail. see if this works.
2023-07-25 13:29:22 +01:00
marauder2k7
149f97119b
Update CMakeLists.txt
2023-07-25 12:25:04 +01:00
marauder2k7
b97c8fc980
test
...
this is the fix!!!!!
2023-07-25 12:15:53 +01:00
marauder2k7
f452ea9823
Update sdlWindowMgr.cpp
2023-07-25 11:25:42 +01:00
marauder2k7
69ab86f87b
Update sdlSplashScreen.cpp
2023-07-25 10:43:24 +01:00
marauder2k7
4098be88db
Update CMakeLists.txt
2023-07-25 09:34:13 +01:00
marauder2k7
6eb051b5a4
disable mem mngr
2023-07-25 08:57:08 +01:00
marauder2k7
0636ba5765
Update windowManagerTest.cpp
...
test to see if segfault triggers at this point in testing
2023-07-25 07:26:37 +01:00
marauder2k7
ce36ea6c0b
Revert "SDL.h"
...
This reverts commit ec5624f890 .
2023-07-25 07:03:32 +01:00
marauder2k7
afd5a7dfec
Revert "more sdl"
...
This reverts commit e00c894064 .
2023-07-25 07:02:34 +01:00
marauder2k7
aa13342d41
Revert "Update semaphore.cpp"
...
This reverts commit 88691a7a87 .
2023-07-25 07:02:29 +01:00
marauder2k7
88691a7a87
Update semaphore.cpp
2023-07-25 06:32:30 +01:00
marauder2k7
e00c894064
more sdl
2023-07-25 06:31:07 +01:00
marauder2k7
ec5624f890
SDL.h
...
should probably put access to all sdl header files into 1 location...
2023-07-25 05:29:48 +01:00
marauder2k7
cf874b55e3
Update CMakeLists.txt
2023-07-25 05:21:59 +01:00
marauder2k7
2377db85e1
Update gfxD3D11Device.cpp
2023-07-25 04:54:13 +01:00
marauder2k7
192250cc7c
last test
2023-07-24 23:24:12 +01:00
marauder2k7
83c448eba1
Update POSIXProcessControl.cpp
2023-07-24 22:08:06 +01:00
marauder2k7
a3cfc7f008
Update POSIXProcessControl.cpp
2023-07-24 21:33:23 +01:00
marauder2k7
2ef93acac6
define TORQUE_TESTS_ENABLED
2023-07-24 13:47:22 +01:00
marauder2k7
c09f79d199
separate testing environment
...
-Separate main for running unit tests
-Move unit tests into testing folder
2023-07-24 12:38:36 +01:00
AzaezelX
2e8f5795fa
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments
2023-07-23 15:32:48 -05:00
JeffR
0bdacb8795
Testing just disabling gfx device enumeration in test mode
2023-07-23 14:42:13 -05:00
AzaezelX
8de12d9818
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments
...
# Conflicts:
# Engine/source/windowManager/test/windowManagerTest.cpp
2023-07-23 13:40:07 -05:00
Areloch
368b687043
This implements a fix to an issue with the CICD that causes a segfault.
...
The fix adds a sanity check to the D3D and GL device enumeration function that exits early if there's no registered display from the OS(implying it's running in commandline).
With newer versions of SDL, attempting to enumerate the GL device causes a segfault because the OS will return back a valid context, but the context isn't actually valid. So when tested against, it crashes. Avoiding enumerating the device when you're not in a position to render works around the issue.
TODO: If the machine is running in terminal-only mode, and thus has no valid render context, but still has a monitor plugged into the machine, it can sidestep the sanity check and still result in a segfault. Need a more robust check for that circumstance in a future fix.
2023-07-23 01:04:29 -05:00
AzaezelX
bf02918f6e
_get_current_locale needs #include <locale.h>
2023-07-22 09:49:43 -05:00
AzaezelX
1205632f92
revised monitor existsence check
2023-07-21 09:27:52 -05:00
AzaezelX
2866b3afd6
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments
2023-07-21 08:53:46 -05:00
Brian Roberts
45673a8b9e
Merge pull request #1051 from Azaezel/alpha41/gtestCheck
...
gtest tweaks
2023-07-19 11:14:57 -05:00
marauder2k7
e0119efbb5
move border to gfxglstateblock
2023-07-19 16:33:01 +01:00
marauder2k7
63b2aba467
Apply suggestions from code review
2023-07-19 15:41:24 +01:00
marauder2k7
e325902bac
init commit
2023-07-19 13:36:14 +01:00
JeffR
38b81eb804
Adds a logical check for when we try and check for found adapters, so if we're defined to use a Null device, we can skip looking around
2023-07-17 21:12:46 -05:00
AzaezelX
3e5ab1f197
90% sure we never actually use this in the manner it's being tested, so seing if remming it makes CI happy...
2023-07-13 19:35:52 -05:00
AzaezelX
e0fa082cf9
sleep for an actual tick (also do so between dfiletouch and isfile on the off chance the o/s is choking)
2023-07-13 18:43:01 -05:00
AzaezelX
dfd3e65ba4
gtest tweaks
...
refactor concurency test conu=sumer thread runner to generate timeouts at excessive attempts (32ms*runlength)
threadsafefreelist reporting augs
scripttest object name conflict resolutions
skip testing platform window creation if no monitor was found
2023-07-13 17:16:50 -05:00
AzaezelX
c07d631b48
threadsafeFreelist error reporting aug: get total and free values
...
gtest consumer lock prevention rev2- timeout baiilout
2023-07-12 13:20:09 -05:00
AzaezelX
962202cd91
resolve scripttest name conflicts
2023-07-11 23:23:41 -05:00
AzaezelX
16bc962c38
debug enclosures for suffixed libs
2023-07-11 09:49:31 -05:00
AzaezelX
f1df1c5fba
Merge branch 'development' into alpha41/cmake_adjustments
2023-07-08 01:32:45 -05:00
Areloch
cb766f2878
Merge pull request #1033 from marauder2k9-torque/GuiInspectorFields
...
Add multi dimensional entries to inspector
2023-07-07 22:59:27 -05:00
AzaezelX
0e1e36bbbb
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments
2023-07-06 19:39:18 -05:00
marauder2k7
f127b084ce
Add 2d value types
...
- TypePoint2F and TypePoint2I now display as multi dimensional
2023-07-04 07:15:03 +01:00
AzaezelX
1821933b51
minor double to float warn cleanup in unit test suite
2023-07-03 17:08:38 -05:00
AzaezelX
061c25686d
add setEulerRotation to pair with getEulerRotation for sceneobjects
2023-07-03 15:14:17 -05:00
marauder2k7
22f8e46288
Copy and Paste
...
Copy and paste buttons added for multi dimensional fields
No longer name conflict errors coming up.
2023-07-03 20:59:16 +01:00
marauder2k7
4abd6d6bc2
Merge remote-tracking branch 'upstream/development' into GuiInspectorFields
2023-07-03 19:19:14 +01:00
AzaezelX
678fd2a3cc
assert to skip the rest
2023-06-21 13:02:12 -05:00
AzaezelX
fd758b1736
fix forest element inspector
2023-06-17 11:31:32 -05:00
marauder2k7
5527207805
AngAxis toEuler
...
Add Euler set and to functions to AngAxis.
Removes the need to use a matrix
2023-06-13 15:11:28 +01:00
marauder2k7
a4e2bfe34e
Commit before cleanup
...
-TypeRotationMatrix working as designed
no more funny business on focus.
2023-06-11 22:37:08 +01:00
marauder2k7
cbe2bd4c7b
Conversions
...
Commit from Azaezel to fix the naming of inspector fields.
TypeMatrixField still messes around on first responder, we know these functions convert angAxis to eul properly and from eul to angAxis but when the data comes to TypeMatrix it changes.... weird issue is weird.
2023-06-11 21:59:03 +01:00
AzaezelX
1ddef642c1
helps if we test the right order azy...
2023-06-10 18:20:05 -05:00
AzaezelX
dc1c1b6c0d
try an additional CI gtest filter...
2023-06-10 18:17:34 -05:00
marauder2k7
92920dbcd9
Change to GuiTextEditSliderCtrl
...
Change dimension elements to a guiTextEditSliderCtrl
add a button to copy all elements of the multi dimension class to the platform clipboard
2023-06-10 21:30:58 +01:00
marauder2k7
0a7550eeba
Update guiInspectorTypes.cpp
2023-06-10 18:15:03 +01:00
marauder2k7
e6dbe0a860
Add multi dimensional entries to inspector
...
-Added 3 new classes
GuiInspectorType2DValue - 2 dimensional value
GuiInspectorType3DValue - 3 dimensional value
GuiInspectorType4DValue - 4 dimensional value
Added GuiInspectorTypePoint3F for 3 dimensional positions.
Added GuiInspectorTypeMatrixRotation for object rotation. Translates rotation to degrees atm. Input from this is not accounted for just yet.
2023-06-10 16:50:59 +01:00
AzaezelX
52093cbde5
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/cmake_adjustments
2023-06-08 13:31:34 -05:00
AzaezelX
1c8af18b35
if a module lacks a cmakelists.txt or cmake file, yet contains a /source/ directory, throw in the .h and .cpp files under modules/modulename/source
2023-06-07 10:34:28 -05:00
AzaezelX
9f01515e78
library containment:
...
after execution of found cmakelists.txt files, searh the engine/lib and apname/data directories recursively for a *torque_postbuild.cmake file, including the contents, to ensure any values used, such as TORQUE_LINK_LIBRARIES remain in parent scope
2023-06-06 19:32:58 -05:00
AzaezelX
3ef60ffcb6
rework apple specific rpath assigns
2023-06-05 17:35:34 -05:00
AzaezelX
db3e7984ad
fix mac compile
2023-06-04 12:45:55 -05:00
AzaezelX
653580b469
get ogg working
2023-06-03 20:29:35 -05:00
AzaezelX
8906c12ddd
kill dupe macro definitions, add macro(addFramework framework) for mac support to append frameworks, and further mark-as-advanced cleanups
2023-06-03 13:47:36 -05:00
Brian Roberts
06e4ce01a9
Merge pull request #1024 from Azaezel/alpha41/TypeHints
...
add TypeHints for scenetree viewing
2023-06-02 10:46:33 -05:00
Brian Roberts
b481dc5db9
Merge pull request #1021 from ohmtal/development
...
FreeBSD ready reloaded
2023-06-02 10:46:16 -05:00
Brian Roberts
687fd97ce0
Merge pull request #1025 from Azaezel/alpha41/unsignedunmangle
...
fix strrepeat <0
2023-06-02 10:46:04 -05:00
AzaezelX
06f20a0476
correct a few cmake flags and options
2023-05-31 16:43:51 -05:00
AzaezelX
81ed240bf6
typofix
2023-05-30 20:00:20 -05:00
AzaezelX
60c27696ea
get addDef back to working, add additional compiler flags win side to set the warning level back to 4 (and supress the more innocuous ones that we were doing previously till we've time for a focused pass there)
2023-05-30 19:24:35 -05:00
AzaezelX
a14c7d7113
partial backport of the old addDef code. still needs fixup.
...
fix exe naming winside. todo: same for mac and 'nix
set startup project winside
2023-05-29 21:51:32 -05:00
AzaezelX
8d434807af
more targetted fix for c++20
...
readd blacklist via a filterOut macro
2023-05-28 00:13:36 -05:00
AzaezelX
a5f3e70653
further conflict resolutions
2023-05-27 19:57:51 -05:00
AzaezelX
c61439c2f9
Merge branch 'cmake_adjustments' of https://github.com/Ragora/Torque3D into alpha41/cmake_adjustments
...
# Conflicts:
# Engine/lib/assimp/INSTALL
# Engine/source/console/fileSystemFunctions.cpp
# Tools/CMake/basics.cmake
# Tools/CMake/modules/module_testing.cmake
2023-05-27 18:18:17 -05:00
AzaezelX
f79c6280b3
fix strrepeat <0
2023-05-25 18:38:45 -05:00
AzaezelX
361ea5286e
set typehint for spawners to the spawndatablock
2023-05-24 19:58:34 -05:00
AzaezelX
b1f118898e
add TypeHints for inspector viewing
...
typehints operate as an additional label for a given class in the inspector, allowing one to specify what class-entry to use as a tag
examples: Prefab displays prefab filename
TSStatic displays the used shape asset name
SFXEmitter displays the played sound asset
GameBase derivatives display the datablock used
2023-05-23 12:35:07 -05:00
Brian Roberts
cc3c2c53ae
Merge pull request #1023 from Azaezel/alpha41/mInvLerp
...
inverse lerp function
2023-05-22 12:08:17 -05:00
AzaezelX
c5afb407db
inverse lerp function
2023-05-21 12:10:33 -05:00
AzaezelX
a03586a5fe
account for null dumpmatix captions
2023-05-18 10:19:30 -05:00
XXTH
ed1402cbd3
better cpu count guess
2023-05-12 13:47:55 +02:00
XXTH
4a0c4a69f0
added comments
2023-05-12 13:32:01 +02:00
XXTH
cb47c2849c
disabled PosixCPU info for freebsd
...
added sdlCPUInfo
2023-05-12 13:17:35 +02:00
XXTH
a81c6ebd06
clean up
2023-05-12 11:42:06 +02:00
XXTH
31481931e8
added fix for onExit => https://torque3d.org/forums/topic/7261-fix-for-onexit-not-called-on-linuxbsd-posix/
2023-05-11 20:46:36 +02:00
XXTH
6cbc09954a
fixed POSIXCPUInfo trim
2023-05-10 20:14:24 +02:00
XXTH
e0ab3830af
bsd ready
2023-05-10 14:58:47 +02:00
Brian Roberts
0d981b62cf
Merge pull request #1015 from Azaezel/alpha41/consoleCleanups
...
fix warn reports for buffer over-runs
2023-05-09 14:44:01 -05:00
Brian Roberts
2dd0bde5e1
Merge pull request #1019 from Azaezel/alpha41/massCenter
...
fix massCenter exposure
2023-05-09 11:51:17 -05:00
AzaezelX
5693adb348
fix massCenter exposure
2023-05-09 11:50:43 -05:00
Brian Roberts
a6f03897ed
Merge pull request #1016 from Azaezel/alpha41/mangledMath
...
clean up math varsize complaints
2023-05-08 21:28:49 -05:00
Areloch
667a0db760
Fixed getAssetBy... functions so the lookup loop is more stable and doesn't fail if null results return
...
Added sanity check to reflectionProbe preview shape so if the material didn't load right, it doesn't crash
Added logic to better control if module groups as a whole should fail if a module dependency in that group fails, defaulted to off
Added sanity check if a shape's material failed to load so it doesn't crash when checking accumulation rules
Added search bar to SimView control for easier use
2023-05-08 21:18:23 -05:00
Brian Roberts
3538da30d0
Merge pull request #1014 from Azaezel/alpha41/EnumErrata
...
add safeties for enum math across define boundaries
2023-05-03 13:38:23 -05:00
AzaezelX
3f2113bf7d
revert some removals of vert to pixel shader getters to avoid register mismatches.
...
(cherry picked from commit 1e1e39f4f72ac6d4ce19704f69ba34bbff29d89c)
2023-05-01 17:10:38 -05:00
AzaezelX
835d6f009a
thread var initialization fixes
2023-05-01 14:17:17 -05:00
AzaezelX
e386a360ca
more arithmetic overflow warns
...
(cherry picked from commit 3974775b9c6bc49fba7295dcdd35e8f2cc06a0c9)
2023-05-01 10:43:11 -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
0d4221fa59
uninitialized and unused value cleanups
...
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX
fed381c945
more console cleanups
...
(cherry picked from commit a66ff6407cdcdf233996f49c74d7a42537314562)
2023-04-28 17:16:48 -05:00
AzaezelX
0ce2da3a23
clean up math varsize complaints
2023-04-27 16:10:04 -05:00
AzaezelX
339393aa85
adress https://github.com/TorqueGameEngines/Torque3D/pull/1015#discussion_r1179352178
...
docs for CodeBlock::calcBreakList() sizing
2023-04-27 11:12:24 -05:00
AzaezelX
9e036f142b
fix warn reports for buffer oveeruns
...
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
AzaezelX
aa02e48c8d
add safeties for enum math across define boundaries
2023-04-26 22:27:35 -05:00
bank
93cea86312
Fix buffer overflow in GuiTreeViewCtrl class.
...
When calculating test length (in method `GuiTreeViewCtrl::Item::getDisplayTextLength()`)
the code doesn't take into account the `ItemState::Marked`, which
adds additional char in `GuiTreeViewCtrl::Item::getDisplayText()` method.
This commit fixes warning printed into console when calling `dSprintf()`
as the buffer is now enough to fit all data.
2023-04-24 13:41:19 +03:00
AtomicWalrus
c64c2212ad
Fix for MacOS OGL 4.1 support
...
Workaround: MacOS does not have access to glClipControl.
Because the lower range of the 32F buffer is not available using this workaround, the improvements to depth behavior from depth reversal will be limited on MacOS. Behavior is equivalent to reversed depth on a 24UINT buffer; Better than stock, but not dramatically.
2023-04-15 15:21:49 -06:00
AtomicWalrus
75625dc679
Reverse depth & 32F buffer format
...
-Adds reversed depth projection model, dramatically increasing depth buffer effective resolution.
-Adds 32F depth 8U stencil format GFXFormatD32FS8X24 (following DX naming conventions). Note this is a 64-bit format, and likely not suitable for mobile platforms. Revert to GFXFormatD24S8 in renderManager.tscript for mobile & "ancient" platforms.
-Corrects alignment of texture type details array.
2023-04-14 20:13:28 -06:00
Brian Roberts
26adb11e49
Merge pull request #1008 from Azaezel/alpha41/timeTrouble
...
fileModifiedTime cleanups
2023-04-11 18:29:28 -05:00
AzaezelX
4c86d4d699
fileModifiedTime cleanups
...
leverage more windows-specific commands for _CopyStatAttributes to among other things account for timezones when comparing vs the getTimeStamp() command
2023-04-08 21:05:24 -05:00
Brian Roberts
43b38bb8fb
Merge pull request #1007 from Azaezel/alpha41/miscFixes08-04-2023
...
misc warn fixes
2023-04-08 14:19:35 -05:00
AzaezelX
a956264bbc
misc warn fixes
...
parser had a few spots where it was throwing int compares to ints instead of bools for logical and/ors. not bitwise ones.
_dumpDirectories had a stray itterator dupe
2023-04-08 12:39:09 -05:00
Lukas Aldershaab
0550eb3109
Cleanup
2023-04-08 01:02:23 +02:00
Lukas Aldershaab
be4f3e7f1b
Prevent tests from never ending due to threading bug
2023-04-08 00:50:57 +02:00
Lukas Aldershaab
1d28ddf734
Cleanup and improve
2023-04-06 15:28:09 +02:00
Brian Roberts
7c67c2c326
Merge pull request #1003 from Azaezel/alpha41/safeLandings
...
address #96
2023-04-01 10:55:49 -05:00
AzaezelX
1fb4f57f6e
adress #96
2023-03-30 14:19:50 -05:00
Brian Roberts
5c8be2bea5
Merge pull request #1001 from Azaezel/alpha41/springString
...
shift setWheelSpring script command to use a char*, not a wheeledvehicleSpring*
2023-03-28 16:46:18 -05:00
AzaezelX
5d94728f58
confine pathshape callbacks to server
2023-03-26 22:08:55 -05:00
AzaezelX
0174cb215a
report setWheelTire misfires like we do setWheelSpring
2023-03-26 11:54:46 -05:00
AzaezelX
416a35b2b9
shift setWheelSpring script command to use a char*, not a wheeledvehicle*
...
need to be able to tell what the attempted assignment is for reporting
2023-03-26 09:47:31 -05:00
Areloch
b4f62a8005
Adds console methods to GuiInspectorField to ensure we can set the special edit variable name, type and callbacks for proper editor integration of script-managed types.
...
Adds default value for mVariableType to prevent bad data causing a crash.
2023-03-25 13:56:30 -05:00
Areloch
a62024a677
Fixes the handling for special edit fields in the inspector to properly hook into the field's docs display
2023-03-21 19:48:25 -05:00
Brian Roberts
81bf7fc538
Merge pull request #996 from Azaezel/alpha41/furtherFontFixes
...
cut control chars for font population
2023-03-18 15:03:37 -05:00
Areloch
2f40b843d4
Adds expanded ability to create and insert specialized script-based inspector fields
...
Adds logic during the editor script initialization to let game modules have embedded tools
Changed setting to force prompt for target modules when creating things like datablocks to minimize confusion about where they save to
2023-03-18 02:22:47 -05:00
AzaezelX
fd02044d20
cut control chars for font population
...
zip referenceablilty for font files
2023-03-17 23:02:27 -05:00
Brian Roberts
bb44fa4bb7
Merge pull request #995 from Azaezel/alpha41/profileAugs
...
guiprofiles augs
2023-03-17 22:39:47 -05:00
AzaezelX
73e3b44e12
guiprofiles augs
...
guiprofiles now have additional options: borderSEL and borderERR in keeping with the fillcolor variants. fontColors now also takes an optional ERR entry on the backend, though that remains unleveraged at time of writing.
guiiconbuttonctrl now uses the expanded list in conjunction with renderFilledBorder
asset browser profiles now contain a AssetBrowserProtoProfile that type-profiles derive from for consistency in border selection, highlight, (and down the line error) colors and border thickness while maintaining type-sepcific border color entries for general display
2023-03-16 17:21:07 -05:00
Brian Roberts
4489ebbf95
Merge pull request #992 from Azaezel/alpha41/methodSig
...
better callback filtering for getMethodSigs
2023-03-16 00:39:56 -05:00
AzaezelX
25e96b613b
better callback filtering for getMethodSigs
...
add a bool filter to getMethodSigs so it can also return script commands
example code reminder note:
//MainMenuGui.getPrototypeList();
//MainMenuGui.getPrototypeDef("onAdd");
function simObject::getPrototypeList(%this)
{
%methodArray = %this.getMethodSigs();
%methodCount = %methodArray.count();
for (%i=0;%i<%methodCount;%i++)
{
%methodDef = getRecord(%methodArray.getValue(%i),0);
%methodName = strreplace(%methodDef,"::"," ");
%methodName = getWord(strreplace(%methodName,"("," "),2);
warn(%methodName);
}
}
function simObject::getPrototypeDef(%this, %funcName)
{
%methodArray = %this.getMethodSigs();
%methodCount = %methodArray.count();
for (%i=0;%i<%methodCount;%i++)
{
%methodDef = %methodArray.getValue(%i);
%methodName = strreplace(%methodDef,"::"," ");
%methodName = getWord(strreplace(%methodName,"("," "),2);
if (%funcName $= %methodName)
warn(%methodDef);
}
}
2023-03-15 00:14:20 -05:00
AzaezelX
10fd02137a
sfxemitter misc cleanups
...
largely asset vs instance logic and network optimization focued
2023-03-14 23:16:07 -05:00
AzaezelX
4a9f8e0709
get node utility methods by request
...
courtessy Steve_Yorkshire, tim-mgt
2023-03-12 15:19:44 -05:00
Brian Roberts
6cb34ab3e9
Merge pull request #988 from Azaezel/alpha41/getDirectoryList
...
fix getDirectoryList
2023-03-11 13:24:28 -06:00
AzaezelX
4572a0c774
fix getDirectoryList
...
used dStrcat (note: not dStrncat, so there the buffer destination size *is* the third var)
2023-03-11 12:48:57 -06:00
Brian Roberts
bab419fd65
Merge pull request #986 from Azaezel/alpha41/assetCleanups
...
Alpha41/asset cleanups
2023-03-09 21:10:22 -06:00
Areloch
14d099ce37
Corrects logic handling the TypeString for the onInspect dynamic field behavior.
2023-03-08 13:01:52 -06:00
AzaezelX
7872f01689
since we do in fact allow arbitrary tack on variables to scriptobject derivatives, and thus tamls, reporting theres a non hardcoded variable entry is actively counterproductive to flexibility.
...
plus minor format fix
2023-03-07 16:10:46 -06:00
Brian Roberts
9eab4559fd
Merge pull request #984 from Azaezel/alpha41/safeArray
...
check whether or not mBitmapArrayRects.empty(). not simply if size()
2023-03-07 16:07:24 -06:00
Brian Roberts
b257ac3d1e
Merge pull request #979 from mjunix/small-fixes
...
Small fixes
2023-03-06 19:31:07 -06:00
AzaezelX
d6480cb63c
check wether or not mBitmapArrayRects.empty(). not simply if size()
...
(cherry picked from commit fea81a4d57edff9c05bf397a5b21d8422838cc1c)
2023-03-06 15:29:40 -06:00
Johan Mattsson
0cbb4fc8a1
Use bitwise instead of logical OR
2023-03-05 12:14:17 +01:00
Johan Mattsson
5b8bfffdec
Fix operator
2023-03-05 12:12:57 +01:00
Johan Mattsson
70a464b3f4
Fix corruption of file encoding.
2023-03-05 11:56:47 +01:00
Johan Mattsson
77e808cc3a
Use correct calculation for dStrncat
2023-03-05 11:28:23 +01:00
Brian Roberts
f1d42d3867
Merge pull request #983 from Areloch/GuiPanelDeGradient
...
Removes the unnecessary gradient effect from GuiPanel when rendered.
2023-03-04 21:32:49 -06:00
Areloch
197aa9f887
Removes the unnecessary gradient effect from GuiPanel when rendered. Now uses just the fill color like most all other gui controls
2023-03-04 21:26:55 -06:00
Brian Roberts
59ed9ee7b6
Merge pull request #982 from Areloch/OnInspectEditorLogic
...
Adds logic and handling for Inspected SimObjects to be able to injectnew InspectorGroups and InspectorFields when being inspected for editing.
2023-03-04 20:07:25 -06:00
Areloch
3991019912
Adds logic and handling for Inspected SimObjects to be able to inject new InspectorGroups and InspectorFields when being inspected for editing.
...
Allows for expanded editing capabilities of existing classes without needing to add static fields to classes
2023-03-04 19:04:44 -06:00
Johan Mattsson
2e1cfe9332
Fix potential index out of bounds
2023-03-04 22:05:43 +01:00
Johan Mattsson
2efd5f0acd
Fix potential index out of bounds
2023-03-04 22:03:17 +01:00
Johan Mattsson
11a9edd263
Release memory
2023-03-04 22:01:36 +01:00
Johan Mattsson
e46e744dc7
Release memory
2023-03-04 21:59:17 +01:00
Johan Mattsson
3c0a251f71
Release memory
2023-03-04 21:58:16 +01:00
Johan Mattsson
390be98140
Release memory
2023-03-04 21:55:39 +01:00
Johan Mattsson
18ca6c406a
Prevent memory leak
2023-03-04 21:54:21 +01:00
Johan Mattsson
acc2e73f48
Release memory
2023-03-04 21:53:02 +01:00
Johan Mattsson
518f2c6a27
Release memory
2023-03-04 21:51:56 +01:00
Johan Mattsson
7519f18035
Check correct variable
2023-03-04 21:48:42 +01:00
Johan Mattsson
fa5b377ec3
Fix argument to dStrncat
2023-03-04 21:47:04 +01:00
Johan Mattsson
4f4184ab68
Assign result from mClampF
2023-03-04 21:44:52 +01:00
Johan Mattsson
3c19b8c679
Fix operators
2023-03-04 21:42:41 +01:00
Brian Roberts
eeab0c1e06
Merge pull request #977 from Azaezel/alpha41/spawnSphereThisTracking
...
spawnsphere %this tracking
2023-03-03 20:53:08 -06:00
AzaezelX
e944d117e1
spawnsphere %this tracking
...
fill out a %this var for sawnobjects prior to running the spawnscript command to give it acess to the spawner instance in addition to the spawned instance
2023-03-01 17:49:10 -06:00
AzaezelX
c4ae6258cc
sound safeties and future notes
2023-02-26 17:26:43 -06:00
Brian Roberts
bae7166cc0
Merge pull request #971 from Azaezel/alpha41/isFileFix
...
fix isFile detection, and aug for script extension searching
2023-02-23 21:53:19 -06:00
AzaezelX
f77fa1f286
fix isFile detection, and aug for script extension searching
2023-02-23 16:59:10 -06:00
JeffR
167f98b767
Expands ScriptAsset behavior to operate as a generic type-settable asset
2023-02-23 15:29:59 -06:00
Brian Roberts
b6f3c25fea
Merge pull request #968 from AtomicWalrus/TerrainMacroAndBlendHardness_PR
...
Enables terrain macro maps, adds height blend "hardness" setting
2023-02-21 00:14:10 -06:00
Brian Roberts
ae72247be2
Merge pull request #967 from Azaezel/alpha41/audiopreloadFixes
...
standardize soundasset preloading for datablocks
2023-02-20 22:15:50 -06:00
AtomicWalrus
13fec9bb80
Squashed commit of the following:
...
commit 678d0ea2357915c6502af90083f1d34b6b21b7b4
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date: Mon Feb 20 20:46:15 2023 -0700
Removed some commented-out code
commit 4a149157f7a7b781e2246b1417b144625ff559cd
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date: Mon Feb 20 20:42:03 2023 -0700
Remove un-used instance of the blendHardness var
commit e5dc42adef00ed371cbc89b731ae16889ba68d9a
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date: Mon Feb 20 18:57:51 2023 -0700
Cleanup un-needed conditionals and other leftover code
commit dccd10010e058f00cd41f5c5c111443f9cb71721
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date: Mon Feb 20 18:05:31 2023 -0700
Use validator instead of protected field (2)
commit 4cc7f1d32fcc6ab788de54bb38763283fbd5533e
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date: Mon Feb 20 18:03:40 2023 -0700
Use validator instead of protected field
commit e8d7e1731e383a99e8a0539d23a3b04f9c252491
Author: AtomicWalrus <headlesschickens.inc@gmail.com>
Date: Mon Feb 20 15:34:48 2023 -0700
Terrain macro textures and blending hardness
2023-02-20 20:47:46 -07:00
AtomicWalrus
8c04446893
Fix height blending detail color doubling when no normal
2023-02-20 18:48:02 -07:00
AzaezelX
15f7f04bee
standardize soundasset preloading for datablocks
2023-02-19 05:19:51 -06:00
Brian Roberts
6c8dfdbe4c
Merge pull request #964 from Azaezel/alpha41/protoMethods
...
new method, getMethodSigs. spits out callback proto-functions
2023-02-16 08:27:22 -06:00
AzaezelX
a8e74787b7
new method, getMethodSigs. spits out callback proto-functions
2023-02-15 17:38:45 -06:00
Brian Roberts
c1d417806a
Merge pull request #963 from Azaezel/alpha41/terrainNormSafety
...
terrain safeties
2023-02-15 15:48:11 -06:00
AzaezelX
747dd3ecd4
terrain safeties
...
ensure terrain normals don't nan
ensure the blend range for terrains is floored
2023-02-15 14:51:28 -06:00
Brian Roberts
36771d9f0b
Merge pull request #959 from Azaezel/alpha41/guiiconBorderfix
...
fix GuiIconButtonCtrl not taking borderThickness entires
2023-02-15 14:37:43 -06:00
Brian Roberts
6f2e9adc70
Merge pull request #960 from Azaezel/alpha41/audioGuiCtrl2
...
audio gui control
2023-02-15 14:37:33 -06:00
AzaezelX
57037080b2
add an ignoreLighting entry to materials
...
by request:, flag to utterly ignore lighting in favor of the base texture
2023-02-14 20:57:44 -06:00
AzaezelX
4543aaec26
audio gui control
...
a gui element that plays a sound on loop, with minor configuration options and a logcal block for conditional plug in
2023-02-14 18:54:25 -06:00
AzaezelX
76a7b024e8
fix GuiIconButtonCtrl not taking borderThickness entires
2023-02-14 17:32:31 -06:00
Areloch
29510c474b
Fixed logic in SFXEmitter so it wouldn't keep overriding local properties with the asset Description DB values any time a property was changed
2023-02-12 23:11:36 -06:00
Areloch
5599721a1e
Adds logic so the canvas keeps track of the last input device
2023-02-09 18:54:36 -06:00
Areloch
3d8220c413
Merge pull request #952 from Areloch/T3D403Version
...
Update version string to 4.0.3
2023-02-04 00:44:56 -06:00
Areloch
727c5b1e59
Fix up handling of assets marked for UseForDependencies during import process
2023-02-01 23:54:11 -06:00
Areloch
622a9b1f6d
Missed the second var
2023-01-30 19:04:47 -06:00
Areloch
c45beb75c4
Update version string to 4.0.3
2023-01-30 19:01:38 -06:00
AzaezelX
0d35016795
fix needing to doubleclick to bring up a docs link
2023-01-28 16:15:59 -06:00
AzaezelX
1b33b01eb1
add "docsURL" filter to assignFieldsFrom to prevent it from triggering opening web pages when inheriting values
2023-01-28 16:12:05 -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
AzaezelX
a0bbe0ec18
layout consistency pass pt 3 - some afx bits, correct malformed shapeimage grouping causing a crash.
...
-must have addgroup and endgroup
2023-01-26 20:01:10 -06:00
AzaezelX
41cb2e63cf
remove auto-documentation experiment
2023-01-24 19:43:07 -06:00
AzaezelX
ace18d0246
layout consistency pass pt 2 -place shapebase inheriting initpersistfields up top so the child layout appends to the parent
2023-01-24 19:30:09 -06:00
AzaezelX
f07c8745b2
inspector cleanups
...
clustering work for datablocks for both consistent scanning for object parameters, as well as an eye towards orgainizing things to make reviewing what variations of components we'll be needing down the line clearer
2023-01-24 17:12:23 -06:00
Robert MacGregor
2f1d21eea6
* Feature: Re-add NFD support.
2023-01-22 21:13:39 -05:00
Robert MacGregor
c672a27e76
* BugFix: Correct a mismatched if.
2023-01-22 19:57:04 -05:00
Brian Roberts
23895e365a
Merge pull request #947 from Azaezel/alpha403/atlasSizeAug
...
bump up max allowable texture dimensions
2023-01-11 15:49:00 -06:00
AzaezelX
7284d44833
bump up max allowable texture dimensions
2023-01-10 17:44:17 -06:00
Brian Roberts
95b8028e5a
Merge pull request #943 from Azaezel/alpha403/emissiveToReciveShadows
...
emissive to recivesShadows
2023-01-09 15:28:30 -06:00
Brian Roberts
cff90549b6
Merge pull request #946 from Azaezel/alpha403/pokeProbes
...
probe code review
2023-01-09 15:28:15 -06:00
AzaezelX
5f319e50ed
ammend caputre mask so that skylight et al gets terrain, but skips editor-only renders
2023-01-03 06:53:59 -06:00
Glenn Smith
3bdbe5965e
Fix some compiler warnings on macos
2023-01-01 22:56:56 -05:00
Areloch
6fa57362b3
Rollback of this change because GCC is weird
2023-01-01 16:56:59 -06:00
AzaezelX
4203c4d064
since the baseline assumptions now recievesshadows defaults to on, set it so for terrains
2022-12-29 15:10:41 -06:00
AzaezelX
712e7c67ff
remove lighting, visibility, and probe polling features from sky objects. ensure all use isBackground
2022-12-29 14:34:10 -06:00
AzaezelX
645f88d4af
emissive to recivesShadows
...
now we've got a glow mask and multiplier, ditch the emissive flag in favor of a proper recivesShadows
2022-12-29 13:38:30 -06:00
AzaezelX
8821f62b0c
misc fixes
...
utilize specialty case soundarray macros.
slim duplicate entries in vehicle already hand;ed by rigidshape.
create a gamebasedata::onnewdatablock which calls onremove and onadd for the db for those classes like wheeledvehicle that expect mounting logic to occur
2022-12-27 21:10:15 -06:00
Areloch
00c27095f7
Establishes a common namespace for Module ScopeSet objects to make it easier to work with function calls out of module namespaces
2022-12-22 00:02:34 -06:00
Brian Roberts
6f0a93bdcc
Merge pull request #935 from Azaezel/alpha402/versionLock
...
lock 4.0.2 version in
2022-12-18 13:54:29 -06:00
Areloch
f2585fea4d
Fixes handling of click/activation events on keybind options ctrls so clicking on it at all activates it, instead of needing to click on the button image specifically
...
Adjust the scaling of the options rows to be a consistent 50/50 divide between the options name and the actual options values to make the layout and scaling consistent
Fixes key remapping behavior to work properly
Added SubHeader text gui profile that is centered
Made the remapping gui control be stylistically consistent to messageboxes
2022-12-16 00:35:16 -06:00
Brian Roberts
abbfb634f3
Merge pull request #936 from Azaezel/alpha402/vehicleCleanups
...
rigidshape and wheeledvehicle perf work
2022-12-10 19:26:31 -06:00
AzaezelX
01ba573543
rigidshape and wheeledvehicle perf work
...
a) add more profiling for analysis
b)don't bother trying to update collision if we're set to imobility or not moving fast eough for even the contact velocity tolerance threshold to trip
c) updateforces and updateWheelParticles already trigger extendWheels(); . no need to do it a third time
2022-12-10 17:07:28 -06:00
AzaezelX
1f346ccb22
lock 4.0.2 version in
2022-12-09 14:51:07 -06:00
Areloch
74ac45e877
Fixed Edit button tooltip for Shape Asset field
...
Disabled Edit button on image asset field as there's no current image editor
Fixed positioning of edit buttons to align with preview
Fixed horizontal sizing for the edit control so it keeps to the width of the field
Fixed handling on the preview display so if an invalid asset is input, it clears the preview display to help indicate it's invalid
Disabled the MaterialSlot handling for TSStatics until it can be further refined
2022-12-08 23:45:56 -06:00
Areloch
739a111fc2
Re-added accidentally deleted line that removed the preview tooltip
2022-12-08 20:15:20 -06:00
Areloch
6162c5da05
Updates the behavior and layout of the ImageAsset, MaterialAsset and ShapeAsset inspector field types to be clearer, with previews and obvious edit buttons
...
Also fixes drag-n-drop behavior from the AB into the image and shape fields to ensure they update as expected.
2022-12-08 20:00:55 -06:00
Brian Roberts
a304198abb
Merge pull request #930 from Azaezel/alpha402/fixORMChanMap
...
fix orm vs single channel mapping
2022-12-03 08:55:43 -06:00
AzaezelX
4c50270e25
fix orm vs single channel mapping
2022-12-03 08:54:30 -06:00
LakoMoor
0780cac6c8
Fix for build
...
Fix error: "getStringValue: is not a member of ConsoleValue"
2022-12-02 11:58:45 +06:00
Brian Roberts
120691abee
Merge pull request #923 from Azaezel/alpha402/puppies
...
adds wetness
2022-11-29 12:33:21 -06:00
AzaezelX
9f9049e6bd
use the templated mLerp
...
turns out a) it exists, and b) it uses the standard input order, so shoud be easier for new folks to remember
2022-11-28 22:12:25 -06:00
Jeff Hutchinson
82b5084875
Merge pull request #924 from JeffProgrammer/cpp20
...
Compilation fixes for C++20
2022-11-28 22:32:04 -05:00
Jeff Hutchinson
1940becb2d
Compilation fixes for C++20
2022-11-28 21:39:06 -05:00
AzaezelX
ab98909f1e
if we have no description, the sounds is never 3d
2022-11-28 00:10:32 -06:00
AzaezelX
d23ee397e6
adds wetness
...
cliffsnotes:
$Core::WetnessTexture = "core/rendering/images/wetMap.png"; //for the influence degree map
probes/skylight have a new canDamp boolean, set to off for probes, on for skylight by default.
:levelinfo has a dampness multiplier (0-1)
kicked up numTextures from 8 to 16 for shaderdata and postfx since that hit the 8 texture-in prior limit, and we've already adopted apis that can handle the higher count
2022-11-21 21:12:23 -06:00
Brian Roberts
d40351414f
Merge pull request #920 from Azaezel/alpha402/ramblinRoad
...
add MeshRoadEditorGui::onRoadCreation callback
2022-11-17 13:48:00 -06:00
AzaezelX
15d5aafadb
add MeshRoadEditorGui::onRoadCreation callback
...
use it, and the RoadEditorGui::onRoadCreation one to assign default road matrials on initial creation
2022-11-14 21:30:13 -06:00
AzaezelX
be108d8e48
supress Mapping string spam unless net debugging
2022-11-06 15:32:22 -06:00
AzaezelX
1dd8149074
cleanups for terrain blending
2022-11-03 10:07:27 -05:00
Brian Roberts
84f1e673fc
Merge pull request #915 from Azaezel/alpha402/sortSorting
...
correct the moduleDependencySort callback
2022-10-31 19:10:58 -05:00
AzaezelX
ac1cbe8198
set default (true) case for findModules
2022-10-30 14:10:36 -05:00
AzaezelX
ebcee97d5c
leverage the pre-existing vector<foo>.sort(&method) hooks for better self containment. also sort by dependency count, and above all else, skip sorting entirely if we've already populated mModulesLoaded since that already takes dependencies into account when generating the vector
...
also defualt to using that one for the general findmodules case
2022-10-30 14:02:30 -05:00
AzaezelX
b168617034
correct the moduleDependencySort callback
2022-10-27 18:14:30 -05:00
Areloch
e4cca8d3f0
Fixes the setting of binary file download config for httpObject
2022-10-16 11:39:56 -05:00
AzaezelX
cdf3b6cf79
kill console spam
...
no point in reporting mismatched texture formats the line right before we try and convert the things and report if we couldn't
*was mostly due to excessive reports for fully compatible rgb vs rgba mixes
2022-10-09 00:30:06 -05:00
Brian Roberts
ea7ca63301
Merge pull request #908 from Azaezel/alpha401/dediserverfixes
...
dedicated server cleanups
2022-10-01 14:19:42 -05:00
AzaezelX
04f4a5fcf4
dedicated server nulltexturemanager work
...
also supress warning for imageassets not loading a texture in nulldevice, and early out of _determineFeatures shadergen methods under the same conditions
2022-10-01 12:44:45 -05:00
AzaezelX
4f00c48ff0
sfx bypass doe dediservers.
2022-10-01 01:41:24 -05:00
OTHGMars
640af98807
Monitor DeviceId setting.
...
The SDL_WINDOWEVENT_DISPLAY_CHANGED event reports an incorrect DeviceId when changed via command. The resolution sanity check that is applied when changing monitors is moved to the SDL_WINDOWEVENT_MOVED event where DeviceId is properly detected.
2022-09-29 03:45:25 -04:00
AzaezelX
8343c096df
need to surpess billboard generation attempts on dedicated servers
2022-09-29 02:04:51 -05:00
AzaezelX
0e8e93f1e5
lock in version point
2022-09-28 18:13:59 -05:00
AzaezelX
be0f3097d6
$platform $= "macos" is used throughout the codebase
2022-09-20 19:58:02 -05:00
AzaezelX
6ce2d4cd9e
helps to report which asse...
2022-09-20 16:08:36 -05:00
AzaezelX
91d843b8bd
correct constructorfile reference
2022-09-20 15:39:42 -05:00
AzaezelX
aafbb7bfba
add debug reportingfor cubemap arrays, and correct transcription flaw
2022-09-18 07:30:47 -05:00
AzaezelX
62a99adb74
aug GFXTextureArray::setTexture to report what texture sizes are mismatching
2022-09-18 05:36:11 -05:00
Areloch
5e9d7d63a1
Adjusts handling for httpObject class so that if curl flag is off, files are not included and references are disabled to avoid compilation issues
...
Adds SMAA anti aliasing
Adjusts AA option setting to properly work and facilitate SMAA
Added defaults for AA to facilitate SMAA
Updated brightness and HDR values on Example Level to comply more closely to the Editor default to give better default results
Fixed issue where ShapeEditor wasn't initialized properly when we'd open it from the Asset Browser
2022-09-16 16:16:12 -05:00
Brian Roberts
ae1131e167
Merge pull request #878 from CouleeApps/curl_http
...
WIP: libcurl integration with HTTPObject
2022-09-15 18:02:49 -05:00
Brian Roberts
3a800e51cc
Merge pull request #891 from Azaezel/alpha401/CubeMapMangle
...
get probes displaying with low Texture quality
2022-09-15 18:01:24 -05:00
Jeff Hutchinson
2e006390f8
Add GFXFormatA8L8 for OpenGL
2022-09-15 17:59:00 -04:00
AzaezelX
ad3c961579
get probes displaying with low Texture quality
...
refactored detection of texture sizes for cubemaps
removed the assumption that if we give U32 GFXTextureManager::getTextureDownscalePower( GFXTextureProfile *profile ) no profile, it should go right ahead and downscale anyway
sniped the downscaling strings in the resulting U32 getProbeTexSize(); and void setCubeTexSize(const U32 cubemapFaceSize); until sucj time as we can properly follow up all possible combinations of shiping in one scale, and a customer choosing to use lower resolution textures as the current result is a hard shutoff entirely
2022-09-14 15:58:32 -05:00
AzaezelX
567e766ffe
correct a flaw with mapto importing.
...
addImportingAsset was improperly applying cleaning to cleanAssetName rather than leaving it as the raw origional. may or may not want a tighter target there
2022-09-12 01:10:20 -05:00
AzaezelX
90cb07a550
uniform float targetRatio; var by request
2022-09-04 13:15:50 -05:00
Glenn Smith
20eb0a911a
HTTPObject with CURL
2022-09-03 00:54:26 -04:00
Areloch
fb5ad738e0
Merge branch 'development' into MiscFixes20220829
2022-08-30 01:31:42 -05:00
Areloch
cd82186231
Fixes setter issue for image/shape/material custom inspector fields where it was not correctly passing through the changed value from the Asset Browser select
...
Swapped the water's disableTrueReflections variable to be enableTrueReflections for simplicity and consistency(also fixed a persistent typo)
Swapped disableVerticalSync to be enableVerticalSync for simplicity and consistency
Swapped disableParallaxMapping to be enableParallaxMapping for simplicity and consistency
Fix click detection on slider mode entries for guiGameSettingsCtrl so the click position correctly matches the percentage
Fixed problem where postFX initialization would always exec default.postfxpreset.tscript, even if a level's got it's own preset, which can cause problems
Fixed range field type behavior so that editing the values applies in real time, and also consistently applies between slider and text field
2022-08-30 01:29:39 -05:00
AzaezelX
73c1a902de
cAps fix
2022-08-29 21:43:14 -05:00
AzaezelX
65275a8a35
leftover profile reference flaw
2022-08-29 21:18:20 -05:00
AzaezelX
b79b1ae65e
remove leftover
2022-08-29 20:39:04 -05:00
marauder2k7
5d85664b40
Change GuiProfile to use Sound Asset
...
-Added SoundAssetInspector to bypass circular issue
-Added SoundAsset to GuiTypes
2022-08-29 23:40:51 +01:00
marauder2k7
fe47048293
Mac OpenAL 1.1
...
Added compatibility function to return max sources the old way.
If openal 1.2 method returns 0 it will do it the old way.
2022-08-29 20:06:29 +01:00
marauder2k7
5b1e20f28c
OpenAL Mac
...
Cleanup print functions cos mac hates them. All these functions did was print what was capable on openal anyway end user doesn't really get any benefit from this. Will save these for the refactor.
2022-08-29 18:04:55 +01:00
AzaezelX
5453d53f4c
correct capturing flag test
2022-08-28 17:24:59 -05:00
AzaezelX
748f884671
adds light fade and cap trackign to probe manager
...
prebake removes them, postbake restores them to ap settings.
also went ahead and threw the probes::capturing val at it as well
2022-08-28 14:27:15 -05:00
AzaezelX
111f0c840d
probe capture cleanups pt1
...
fix high-metalness object capture (had the lerp the wrong direction for canceling out NULL-ibl due to full metallic)
use dStrcmp for (Con::getVariable("$Probes::Capturing", "0") comparisons. and early out on rendering probes when we are capturing, not when we aren't.
2022-08-27 17:25:35 -05:00
AzaezelX
d24df92a8b
Revert "provide a new levelinfo. fallbackAmbient value for scenes with no global light source"
...
This reverts commit 270cf0e054 .
2022-08-27 15:14:09 -05:00
Areloch
ded99cd8cb
* Fixes handling for Image, Material and Shape Assets' inspector fields so they properly work with non-object targeted inspectors, such as the PostFXEditor
...
* Updated PostFXEditor scripts to handle refreshing properly when certainl field types(assetId fields) are changed
* Adjusted display handling of slider values on guiGameSettingsCtrl to show 0.x decimal format instead of 0.xxxxx
* Fixed pad length of item names in guiTreeView for items that are marked to avoid console spam
* Fixed local offseting for popupMenus so scaled/offset window position doesn't cause the popup menu to offset from mouse click position(courtesy OTHG_Mars)
* Fix issue with terrain where, due to default value save validation, the global scope for the terrain collision list would be whiped when saving, causing players to fall through terrain. Moved to per-terrain convexLists
* Fixed issue with the core camera model mesh and updated references so camera bookmarks display properly
* Fixed console spam during asset browser initialization where it would try and expand the directory tree even though the dir tree isn't populated yet
* Fixed handling of Open File Location RMB menu action to properly deal with script and datablock types
* Removed unusuable "Create ___" asset type prompts from the RMB menus for the AB to avoid confusion
* Improved slider offset positioning for various popup sliders on editor toolbars
* Anchored the visibility popup menu to the button for more consistent formatting and better feel
* Shifted various visibility toggles from 'in place' on the menu buttons to functions, allowing it to also properly mark the menu entries as checked or not, improving usability
2022-08-26 15:25:17 -05:00
Brian Roberts
a4cda42328
Merge pull request #852 from OTHGMars/WinShiftArrow
...
WinKey+Shift+L/R Arrow handler.
2022-08-23 17:34:51 -05:00
AzaezelX
270cf0e054
provide a new levelinfo. fallbackAmbient value for scenes with no global light source
2022-08-23 13:59:48 -05:00
marauder2k7
3eca15cb31
OpenAL Internal name
...
-Now there is an internal name for openal and a default name for the device to be displayed
2022-08-16 15:55:56 +01:00
marauder2k7
52dc5cf3da
Device Name
...
-OpenAL wraps device name in brackets, if found return only device name.
2022-08-16 11:02:36 +01:00
marauder2k7
4006615723
OpenAL Initialization
...
-Device capabilities left until a device is actually selected and is loading
-ALDEVICEINFO possibly no longer needed.
-aldlist possibly no longer required as well.
2022-08-16 08:33:26 +01:00
marauder2k7
16062fb996
Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into development
2022-08-16 08:25:32 +01:00
AzaezelX
f4cc0e8151
default translucency for PBR authoring tools generally assume premul, not lerpalpha nowadays
2022-08-15 16:50:06 -05:00
OTHGMars
13a53dd0ca
WinKey+Shift+L/R Arrow handler.
...
Attempts to constrain canvas when switching between monitors via keyboard shortcut.
2022-08-15 03:10:42 -04:00
marauder2k7
d02f5da414
OpenAL enumeration fix
...
Openal enumeration after default device loading.
2022-08-14 10:36:02 +01:00
AzaezelX
5ec4e8fb62
forgot the.h
2022-08-07 15:55:42 -05:00
AzaezelX
23bc293b88
Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into alpha40/tsStaticCleanup
2022-08-07 15:55:22 -05:00
AzaezelX
a75c64fef3
tsstatic aug cleanups
...
1- adds a hasNode method to see if a named node exists
2- cleans up getNodeTransform nomenclature and notes, and adds safeties
2022-08-07 15:16:08 -05:00
AzaezelX
4fd8436911
targeted fix for #45
...
as there was no consensus on conversion to explosions from the RFA, holding 7a88b2d489 on back untill we adress that in the ECS pass with 4.1
2022-07-31 13:24:01 -05:00
Areloch
0a1fd3c278
Merge pull request #831 from Areloch/MiscFixes20220724
...
Misc FIxes 2022/07/24
2022-07-30 01:02:44 -05:00
Brian Roberts
332193b53a
Merge pull request #835 from Azaezel/alpha40/pathShapeSillies
...
pathshape cleanups and callbacks
2022-07-29 17:22:46 -05:00
Brian Roberts
14d1b16892
Merge pull request #833 from Azaezel/alpha40/particlePainPunt
...
particle emission safeties
2022-07-29 17:22:35 -05:00
AzaezelX
f4e6060b52
pathshape cleanups and callbacks
...
sceneObject:
UpdateXformChange(mat); operates on the parent object, so made no sense to shove it in void SceneObject::PerformUpdatesForChildren(MatrixF mat){
provide callbacks for when the parent/child relationship changes
simpath+camerapline+pathshape
provide a mechanism to embed a callback for a pathshape defined on a path node. example:
new Marker() {
seqNum = "7";
hitCommand = "TheCommand" // <------------------------------;
position = "-17.0856 -92.2349 4.00051";
rotation = "0.0334943 -0.254411 0.966516 179.495";
};
function PathShapeData::TheCommand(%this,%obj)
{
echo("Do the thing");
}
2022-07-27 16:35:09 -05:00
Brian Roberts
c8db2ea955
Merge pull request #834 from Azaezel/Preview4_0
...
soundAsset profile and description getter fixes
2022-07-27 16:29:06 -05:00
AzaezelX
f59c5f152f
soundAsset profile and description getter fixes
2022-07-27 16:28:07 -05:00
AzaezelX
77ef842670
particle emission safeties
...
both for player specifically, and emission in general
2022-07-27 16:26:58 -05:00
Joseph
d56227fccd
Update TORQUE_GAME_ENGINE_VERSION_STRING version number 4.0.0
...
Update TORQUE_GAME_ENGINE_VERSION_STRING version number to reflect current version 4.0
I somehow forgot to push this with my pull request #486 commit 6f52b87360
2022-07-27 20:18:06 +01:00
Brian Roberts
70971f7c6c
Merge pull request #830 from Azaezel/alpha40/boundsDisplayfix
...
fix bounds box display
2022-07-24 20:56:09 -05:00
Areloch
dbf60a95a2
Adds handling to winVolume's _BuildFileName so if it's a filename-less filename(has only extension but no name) then we process the filename string correctly
...
Adds logic so when trying to do a path copy, if it's not a valid source filename, we merely fail the copy, rather than crashing due to a nullref
Makes guiPopUpCtrlEx respect the mActive flag so the mouse cannot interact with it if it's inactive
2022-07-24 13:12:46 -05:00
AzaezelX
74d847c513
fix bounds box display
2022-07-24 00:14:19 -05:00
JeffR
305e4851e0
Fixes issue with using Edit Asset in RMB menu in AB on datablocks where it wouldn't correctly recognize the datablock
...
Fixes issue where the local sfxProfile in a sfxEmitter would share pointer reference to the utilized shapeAsset's sound buffer, so when it's deleted it would nuke the soundAsset's buffer, causing reference exceptions
Adds includes to torqueConfig.h in several files that are blocked out with TORQUE_TOOLS to ensure that if the flag is on in the config file, the files are loaded/compiled as expected
Add sanity check to AssetManager::unloadAsset to ensure that the assetDef being unloaded was actually correctly loaded/registered into the console in the first place
2022-07-02 23:27:18 -05:00
AzaezelX
0aab4b63a5
make sure the volfog manager is dead before we kill scene
2022-06-26 10:04:26 -05:00
Robert MacGregor
1a76d3e84d
* BugFix: Remove the absolute rpath removal to prevent build errors on MacOS in some cases.
2022-06-22 09:36:47 -04:00
AzaezelX
f0b218f1e2
fix shape errorcodes
...
corrects out of bounds flaw
2022-06-16 22:07:45 -05:00
Brian Roberts
b753c9d91c
Merge pull request #713 from Ragora/feature-vfs-security
...
Feature: VFS Security
2022-06-16 21:23:49 -05:00
Brian Roberts
41f5350173
Merge pull request #815 from Azaezel/alpha40/TORQUE_TOOLS
...
fix TORQUE_TOOLS = off compilation
2022-06-16 21:23:38 -05:00
Robert MacGregor
35b348f93c
* Adjustment: Change Platform::makeFullPathName to use "game:/" as cwd if none is specified.
2022-06-16 19:04:43 -04:00
Robert MacGregor
2a865d387a
* BugFix: When loading sound assets, don't resolve the absolute path.
2022-06-16 18:46:25 -04:00
Robert MacGregor
2b8f9e3999
Merge https://github.com/TorqueGameEngines/Torque3D into feature-vfs-security
2022-06-15 18:12:39 -04:00
AzaezelX
a808990bc6
you want the higher number, not the lower
2022-06-15 16:46:54 -05:00
Brian Roberts
003ba9f059
Merge pull request #818 from Azaezel/alpha40/fixForward
...
fix computeForwardProbes shadergen gl side
2022-06-14 23:18:15 -05:00
AzaezelX
691eb5f2ba
fix computeForwardProbes shadergen gl side
2022-06-14 22:40:40 -05:00
Brian Roberts
fedee8d2a0
Merge pull request #817 from Azaezel/alpha40/arrayObjectOutOfBoundFix2
...
fix out of bounds reference in arrayobject
2022-06-13 21:38:07 -05:00
AzaezelX
c91002d5ec
fix out of bounds reference in arrayobject
2022-06-13 21:10:28 -05:00
Brian Roberts
5fb227a1e7
Merge pull request #813 from Areloch/MiscConvexToolFixes
...
Fix Misc ConvexShape Tooling Issues
2022-06-13 16:32:04 -05:00
AzaezelX
4a7104e5ea
fix TORQUE_TOOLS = off compilation
2022-06-13 12:38:08 -05:00
Robert MacGregor
bd3a990140
* BugFix: Correct the 'gotoWebPage' function not using the VFS.
2022-06-13 12:21:06 -04:00
Robert MacGregor
0a45fac224
* BugFix: Switch a few raw platform calls in reflectionProbe.cpp to the VFS.
2022-06-13 12:02:58 -04:00
Robert MacGregor
1cd2b3ead9
* BugFix: Correct a small typo in the script function 'compareFileTimes'.
2022-06-13 11:45:05 -04:00
Robert MacGregor
a390e0d8d5
* BugFix: Correct script function 'compareFileTimes' not going through the VFS when making the comparisons.
2022-06-13 11:43:43 -04:00
Robert MacGregor
3dafdef5da
* BugFix: Mount home:/ to refer to Torque's original Documents/<APPNAME> output for eg. prefs while leaving data:/ as an option for those that may want it.
2022-06-13 10:53:01 -04:00
Robert MacGregor
59cf242a7a
* BugFix: Fix the data:/ VFS not being mounted if the root directory didn't already exist.
2022-06-13 10:32:39 -04:00
Robert MacGregor
93a4f8780c
* BugFix: Correct simple incorrect references after changing Platform::isFile to Torque::FS::isFile in the asset importer.
2022-06-13 08:20:46 -04:00
Robert MacGregor
ba07e6c6d7
* Cleanup: Remove the partial editor tools integration from the TORQUE_SECURE_VFS implementation in preference for developers building mod tools builds instead.
2022-06-13 08:08:43 -04:00
Robert MacGregor
161ffc62fe
Merge branch 'Preview4_0' into feature-vfs-security
2022-06-13 08:05:26 -04:00
AzaezelX
01ba199dc7
fix vectorlight visualizer varnames
2022-06-12 14:43:26 -05:00
JeffR
7cdace8da3
Fixes bounds scaling issue making the object box in the editor be double the convex's size
...
Fixes loading of modified surfaceTextures by properly inserting into stringtable
Fixes display of the active and default material previews in the ConvexShape editor
Adds buttons to hollow and recenter selected convex to tool window
2022-06-12 04:27:32 -05:00
Brian Roberts
607f62bf03
Merge pull request #812 from Ragora/str_cpp_memory_experiment
...
BugFix: Remove the GCC Workaround
2022-06-09 22:49:59 -05:00
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
JeffR
67d8448915
Fixes cleanup handling on guiBitmapButtonCtrl and guiGameSettingsCtrl to release the bound textures like other GUI controls when they sleep, avoiding a texture object leak.
...
Fixes a call for UINavigation to getPageCount that was erroneously referencing the pageStack
Fixes fetch and binding of the image for display when using the uvEditor
2022-06-09 16:29:32 -05:00
Robert MacGregor
2cdfe70e50
* Experiment: Change the way StringData is allocated in the code, experimentally.
2022-06-08 11:27:16 -04:00
AzaezelX
66820fee90
let me underscore this is painfully incorrect and we'll want to revisit it when we have more time, but... this seems to fix mangled decal and decalroad rendering
2022-06-07 22:06:48 -05:00
AzaezelX
de6ee93159
slim ambient down to vec3, default to premul for translucency
2022-06-07 22:05:47 -05:00
AzaezelX
0e0088cab9
forward lit ambient application. fix GL side IBL overwriting forward lit color.a
2022-06-07 11:18:53 -05:00
JeffR
1acf4b2dae
Adjusts engine cleanup ordering on shaderFeatureMgr to avoid periodic crashes on Mac ARM machines
...
Adds missing disconnect/timeout handling callbacks to the clientServer core module
Adds page refresh function to UINavigation to be able to selectively nudge the current page to refresh its contents if needbe
2022-06-05 01:21:38 -05:00
JeffR
834116c513
Uncomments networking lines that ensure client has the particle's textures
2022-06-04 21:53:12 -05:00
JeffR
7efab038d1
Adjusts handling for special-case networking of sound assets where we may need to account for stuff like SFXPlaylists. DB names aren't transported, so we need to do Id lookups
2022-06-04 00:59:06 -05:00
JeffR
448a453e51
Fixes logic check for sound asset macros so if the defined field value is an object, we consider it valid, as it's almost certainly an SFXPlaylist or track. This removes some unneeded error spam
2022-06-03 03:23:27 -05:00
JeffR
943cf8351b
Adds safety check to SoundAsset's playSound so if we don't have a source, it doesn't crash
...
Adds logic to SoundAsset's load sound to 'nudge' the SFX system to load the required data for first use
Shifts SimSoundAssetEvent constructor to utilize assetId instead of raw asset so we can safely fail if for whatever reason we end up default constructor'ing blanks
Standardizes the shapeImage playList lookup a bit into a common function and ensures that on packet receive we force an update of the state's sound
2022-06-03 02:04:39 -05:00
Robert MacGregor
b1d36c0cca
* Feature: Add TORQUE_DYNAMIC_LIBRARY as an experimental flag to allow building the core engine as a shared library.
2022-06-01 16:59:06 -04:00
Robert MacGregor
c90d3ddc2a
* BugFix: Correct a variable overwrite issue causing headers to not show up on OSX.
2022-06-01 13:26:44 -04:00
Robert MacGregor
3d963d44e3
* BugFix: Allow header files to appear in the filters through use of a helper function torqueAddSourceDirectories.
2022-06-01 13:18:34 -04:00
Robert MacGregor
05cce33be3
* BugFix: Corrections to filter generation to properly separate modules and engine code.
2022-06-01 12:18:59 -04:00
Robert MacGregor
51bf96a290
* BugFix: Initial work on generating filters.
...
* BugFix: For now, comment out a line in libpng's CMake scripts causing issues on XCode.
2022-06-01 11:56:31 -04:00
AzaezelX
bba3b1a8d6
proper player head rot clamp
2022-06-01 10:30:45 -05:00
Robert MacGregor
a71ebf6ea8
* Feature: Add TORQUE_ADDITIONAL_LIBRARY_BINARIES for modules to specify eg. dll files to be installed next to the executable. On OSX this installs the file into the frameworks directory.
2022-06-01 11:02:32 -04:00
Robert MacGregor
eaa18b42df
* Feature: Add game/data to the default module search paths.
2022-06-01 10:48:56 -04:00
Brian Roberts
35e946e627
Merge pull request #800 from Azaezel/alpha40/constraintConsternation
...
constrain player mRot.z reguardless of translation
2022-06-01 09:24:34 -05:00
AzaezelX
c3eb5e028b
constrain player mRot.z reguardless of translation
2022-05-31 22:00:15 -05:00
Robert MacGregor
d0f4084fcb
* BugFix: When searching for OpenAL on Linux, search for both libopenal.so.1 and libopenal.so.
2022-05-31 21:26:56 -04:00
Brian Roberts
d9361a0128
Merge pull request #799 from Areloch/MiscFixes20220530
...
Misc Fixes for 2022/05/30
2022-05-31 14:33:59 -05:00
Robert MacGregor
0038a9d3f3
* BugFix: Clear the absolute rpath generated on OSX by default.
2022-05-31 10:00:01 -04:00
Robert MacGregor
c1d1999a9c
* BugFix: Correct MacOS bundles not referencing shared libraries properly.
2022-05-31 09:49:10 -04:00
Robert MacGregor
792a3cb461
* BugFix: Correct MacOS libraries being outputted to the wrong directory.
2022-05-31 09:15:54 -04:00
Robert MacGregor
4a36a998ab
* Cleanup: Reorganize the engine main CMakeLists.txt for readability.
2022-05-31 08:30:11 -04:00
Robert MacGregor
342449625b
* BugFix: Correct icon file handling on OSX.
2022-05-31 07:30:32 -04:00
Robert MacGregor
688f201011
* BugFix: Correct applications built on Windows or OSX not having icons.
2022-05-31 07:27:54 -04:00
Robert MacGregor
f395c7d9ee
* BugFix: Correct a few typos in the CMakeLists.txt.
...
* Feature: Mirror support for TORQUE_SFX_DirectX which appears to be
broken anyway.
2022-05-31 07:08:18 -04:00
JeffR
27b20c14d7
Cleans up the ExampleModule to have up-to-date examples of module init'ing, game modes, levels and basic input logic
...
Cleans up prototyping module to trim unneeded extra scripts and files
Adds PlayerBot model to Prototyping module
Adds metalGray material to Prototyping module
Fixes issue where logic wasn't changed for forcing AB preview images to regenerate
Removes unneeded legacy lines from editor template level
Removes unneeded extra asset import config
Disables terrain material name field from editing in terrain material editor for now to prevent bad behavior
Adds mapTo line to newly created material asset definitions to ensure shapes doing mapTo lookups can properly utilize the materials
2022-05-31 00:26:20 -05:00
Robert MacGregor
b1cba705b4
* BugFix: Fix missing link libraries for Linux.
...
* BugFix: Fix calling a CMake function that was not available in the minimum Cmake version.
2022-05-30 22:23:36 -04:00
Robert MacGregor
128a50f635
* BugFix: Correct a typo.
2022-05-30 20:52:40 -04:00
Robert MacGregor
0dab9e2044
* BugFix: Add Xft to the Linux link libraries.
2022-05-30 20:51:39 -04:00
Robert MacGregor
9b8350dd2b
* BugFix: Tweak the way dynamic libraries are loaded to the game directory and make FreeType a required package on Linux.
2022-05-30 20:43:08 -04:00
Robert MacGregor
3e74acaf8e
* BugFix: Utilize Cmake's built in FindFreetype when building on Linux.
2022-05-30 20:39:17 -04:00
Robert MacGregor
790cb17435
Merge branch 'cmake_adjustments' of github.com:Ragora/Torque3D into cmake_adjustments
2022-05-30 19:06:24 -04:00
Robert MacGregor
13d632a503
* BugFix: Set DirectX linkages correctly.
2022-05-30 19:05:30 -04:00
Robert MacGregor
ffd6b09b1a
* BugFix: Set the CXX standard to C++17.
2022-05-30 18:08:20 -04:00
dottools
0f81ececae
Engine SDL: Use screen space coordinates for both mouse pointer set and get position
...
Changed mouse pointer coordinates from client to screen space. Done in order to be consistent with existing engine comments, API help doc string, and how it used to work in Win32 window management code.
2022-05-30 16:14:18 -05:00
dottools
01a3163d40
Engine GUI: Don't translate mouse coordinates in GuiCanvas::setCursorPos()
...
Removed translating passed mouse pointer coordinates from client to screen space. Source comments and exposed canvas script API help doc line for the same function states that passed mouse pointer coordinates are supposed to already be in screen space.
2022-05-30 16:09:48 -05:00
Robert MacGregor
24707b38cf
* BugFix: Correct the platformPOSIX sources not being compiled for Mac.
2022-05-30 16:45:35 -04:00
Robert MacGregor
7380161054
* BugFix: Correct convexDecomp compilation by setting the LINUX flag when necessary.
...
* BugFix: Update OpenAL to correct a compilation error on Linux.
2022-05-30 16:32:45 -04:00
Robert MacGregor
e071f1d901
* Feature: Implement template configuration at the CMake configure stage.
...
* BugFix: Correct some source references in the Engine CMakeLists.txt
2022-05-30 15:22:52 -04:00
Robert MacGregor
2ee56751dd
* BugFix: Corrections to allow the Windows build to work correctly with D3D11.
...
* BugFix: Corrections to allow executables and libraries to build in the game directory without an install.
2022-05-30 14:22:59 -04:00
Brian Roberts
925f6ebe41
Merge pull request #794 from Azaezel/alpha40/convexShapeShaderStandardization
...
set convexshape to use a standard vertex type
2022-05-29 22:53:13 -05:00
AzaezelX
dd920bb537
set convexshape to use a standard vertex type
...
we were seeing vert type vs shadergen mismatches. this is a route to conform the former to the latter, which avoids generating a unique shader/processedmaterial combo
2022-05-29 13:18:01 -05:00
Robert MacGregor
49204fa88d
* Feature: Dynamic library checker and installer.
...
* BugFix: Minor fixes for compilation.
2022-05-27 20:14:17 -04:00
AzaezelX
c47cb54702
fix on-RPC-command explosion sounds not playing the first time
2022-05-26 18:04:37 -05:00
Robert MacGregor
e686a9850e
* BugFix: Correct the MacOS hotkey workaround causing eg. the Windows key to potentially be processed as part of a hotkey combo.
2022-05-25 21:50:14 -04:00
Robert MacGregor
3f944874f3
* BugFix: Correct MacOS not responding to Command+C, Command+X, Command+A and Command+V by removing a hack in guiTextEditCtrl and shifting the logic to sdlWindow.
2022-05-25 21:46:12 -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
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
74faab3fb4
* Feature: Implement scanning for sub projects.
2022-05-21 20:01:23 -04:00
Robert MacGregor
b23554295c
* BugFix: Correct some errors in the module scripts.
...
* BugFix: Fixes for compiling on Windows.
2022-05-21 18:07:14 -04:00
Robert MacGregor
dfc03da9d9
* Feature: Begin working the new engine module system.
2022-05-17 20:42:35 -04:00
Robert MacGregor
9901fa76b4
* Feature: Initial testing with module (file) searches.
2022-05-17 18:04:19 -04:00
Robert MacGregor
c3540acf94
* Feature: Remove the intermediate libraries and simply collate the sources into one target. This is necessary for eg. console function registration to work properly.
2022-05-17 15:42:30 -04:00
Robert MacGregor
786dac7419
* Feature: Obtain a building executable on MacOS, but need to resolve the crashing issues and multi-configuration settings.
2022-05-17 13:14:00 -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