Commit graph

5158 commits

Author SHA1 Message Date
Brian Roberts 5c9e34a90c
Merge pull request #1515 from Azaezel/alpha41/preLoad
try to load shapes during preload
2025-07-06 22:35:33 -05:00
AzaezelX e8ccb3443a try to load shapes during preload
it's half the point of the protocol
2025-07-06 19:51:55 -05:00
AzaezelX 1b6a0a5f74 further filtering for updatePlayerAttachment
*just* check pathshape/staticshape/terrain for determining if we are attaching/detaching from a pathshape
and don't bother if we're not enabled and not falling
2025-07-05 18:01:01 -05:00
AzaezelX 0f2e4b80e6 add grace hieght for pathshape snapping eval
leverage minFaceDistance plus current hieght to try and ensure stepping down into a pathshape/tsstatic within the 0.1 ot -1.0 detection range range doesn't snap you through another one.
2025-07-03 16:57:00 -05:00
Brian Roberts c1925d9536
Merge pull request #1509 from marauder2k9-torque/ShaderGen-FeatureArgs-Langelement-unification
Shader gen feature args langelement unification
2025-06-29 07:34:26 -05:00
marauder2k7 050d704e77 requirements for windDeformation unified featuer 2025-06-23 02:18:42 +01:00
marauder2k7 ac909e26bd Update featureSet.cpp 2025-06-23 02:18:40 +01:00
marauder2k7 8c7ddb7cf1 Ground work for node editor
Added ability to shader features and shaderGen to create multiple instances of the same feature with the option of calling a static creation function that can take arguments in the form of a struct.

FEATUREMGR now has createFeature to take advantage of this.

The node editor requires this ability as the same node could be used multiple times with different arguments so in its update function we will be calling

```FEATUREMGR->registerFeature(feature_type, (optional default constructor), createFunction);```

then adding it to the feature set with the required arguments to build the shader feature.
```FeatureSet->add(feature_type, index, ParameterStruct);```
2025-06-23 02:18:39 +01:00
Brian Roberts 51b953a931
Merge pull request #1508 from Azaezel/alpha41/aikeybindFix
expand setMoveTrigger to take true or false
2025-06-22 17:59:32 -05:00
AzaezelX 63e3632d00 expand setMoveTrigger to take true or false
have aiplayer actually use it
give a copy to AIController
2025-06-22 16:04:13 -05:00
Brian Roberts f1cf4147a8
Merge pull request #1506 from marauder2k9-torque/SoundAsset_Refactor
Shape Asset Refactor and Image Asset fixes and tweaks
2025-06-21 21:09:28 -05:00
marauder2k7 ff442f5230 keep same naming 2025-06-20 17:13:20 +01:00
marauder2k7 fd7342668c streamline shape asset
shape asset now has the same import "@" as image asset
cut out extra filename parameters that arent needed
refresh hopefully fixed
2025-06-20 15:58:20 +01:00
AzaezelX 17187f4fc2 reduce tsstatic netload
don't bother transmitting animation configs if we're either not animating, or unable to do so
2025-06-19 22:42:31 -05:00
marauder2k7 542563feaf Update ShapeAsset.h
fix linux and mac being pedantic about NULL = 0
2025-06-19 17:32:09 +01:00
marauder2k7 9208cdfcd6 tsforestitem and forestitem 2025-06-19 17:24:43 +01:00
marauder2k7 08f52cfa16 add extra checks
add extra checks around an empty stringtableentry for assets and bitmap controls
2025-06-19 16:58:44 +01:00
marauder2k7 1949ff9d7b projectile 2025-06-19 16:29:59 +01:00
marauder2k7 51f4255c14 explosion and guiobjectview 2025-06-19 16:27:16 +01:00
marauder2k7 2b973abdcf physics shape and physics debris 2025-06-19 14:32:32 +01:00
marauder2k7 5d641929cf player and ground cover 2025-06-19 14:10:00 +01:00
marauder2k7 c6ec2fd6a1 Merge branch 'PreviewAssets_UseAsset' into SoundAsset_Refactor 2025-06-19 13:36:49 +01:00
marauder2k7 ca1604170d initial commit
change the macro to use the refactor (exact same structure as the imageasset macro)
2025-06-19 13:34:07 +01:00
marauder2k7 45f1447d2b Update ImageAsset.h
add check for if _in matches the filename that is already set for image asset, this stops the set being called twice when loading the same image asset
2025-06-19 07:53:32 +01:00
marauder2k7 1918ecfdd6 feedback from az
fixes for interaction from az
2025-06-18 20:44:37 +01:00
marauder2k7 b5cd9d0c73 Update guiCrossHairHud.cpp 2025-06-18 17:08:40 +01:00
marauder2k7 6f9c4158d8 gui offscreen material test
added interaction static guioffscreencanvas to capture mouse events
added test shape
2025-06-18 17:05:35 +01:00
marauder2k7 51b1e3b07e update cursors
GuiCursor needs to be changed to use bitmapAsset
guiTypes.GuiCursor safety around rendering getBitmap()
2025-06-18 09:27:47 +01:00
marauder2k7 794a8c900d Update ImageAsset.cpp
add change notification on intialize asset use this callback to update information about the image on refresh. Remove notification when the asset is removed and when the imagefile changes
2025-06-17 16:49:07 +01:00
marauder2k7 48b512ef73 move population of image metadata to onAssetRefresh 2025-06-17 15:06:07 +01:00
marauder2k7 3d77b59b71 Update assetImporter.cpp
refresh asset so image asset can write out its image metadata
2025-06-17 14:57:18 +01:00
marauder2k7 67f217ada1 Update assetImporter.cpp
asset importing for images shouldnt execute a file copy, original file path is enough as it is relative to exe
2025-06-17 12:20:47 +01:00
Brian Roberts 0aaddcddb4
Merge pull request #1500 from marauder2k9-torque/MissionArea-RemoveTerrainDependency
remove terrain dependency from mission area
2025-06-16 16:36:24 -05:00
marauder2k7 fc9f221ac0 Prepend symbol for image files
Prepend image filenames in imageassets with "@" symbol so expand and collapse works correctly for files relative to that asset.taml file.
2025-06-16 08:33:11 +01:00
marauder2k7 50f74368b3 various fixes around preview assets and imageassets text field
Imageasset text field now displays correctly in inspector
previews now use assets again
assetBrowser hides previewCache folder
2025-06-15 22:07:12 +01:00
marauder2k7 47bff2f0eb Update guiMissionArea.cpp
simplify logic around skipping objects that push the mLevelBounds outside F32_MAX
2025-06-15 17:15:59 +01:00
Brian Roberts dfbfe094bb
Merge pull request #1497 from Azaezel/alpha41/spamSuppression
don't trace setShaderConsts or onNewMessage callbacks
2025-06-15 10:52:45 -05:00
marauder2k7 4fc182444e Update guiMissionArea.cpp
set a minimum size for the level bounds, this stops the mouse drag issue until it is sorted out properly
2025-06-15 16:23:57 +01:00
marauder2k7 0a1e3f74ed remove terrain dependency from mission area
Mission Area now captures the entire level bounds based on objects in the scene
Terrain is no longer required for mission area to be set
2025-06-15 12:41:47 +01:00
JeffR 4be2f05bb1 Disables the behavior for building and exporting polyLists for SceneGroups as you can just do so on the individual items, and it can cause erroneous behavior like looping if triggered improperly. 2025-06-11 00:30:36 -05:00
AzaezelX 83a3ef877e don't trace setShaderConsts or onNewMessage callbacks
they spam up the console to uselessness when using the trace(true/false) command
2025-06-09 13:35:32 -05:00
AzaezelX 2e15018ad3 minor followup to #1494
we do try and avoid auto for places that aren't mutatable patterns so folks can scan what's going on under the hood
2025-06-06 11:00:12 -05:00
Brian Roberts ccd30a19cc
Merge pull request #1495 from Azaezel/alpha41/safeSafties
add extra safeties to safe_delete macros
2025-06-06 10:56:46 -05:00
AzaezelX aebd497fd6 make sure device and texture manager are still around when making a deletion request of them 2025-06-06 10:56:02 -05:00
AzaezelX 2c15877d5a add extra safeties to safe_delete macros 2025-06-06 10:45:05 -05:00
Nick-IronTower 01ffdae89a GFXStateBlockDesc memory leak fix. 2025-06-06 14:52:20 +03:00
AzaezelX a3d2d13d39 remove stray methods.
revisit loadedstate shortcutting of already loaded textures
2025-06-01 12:41:31 -05:00
Brian Roberts f709130e72
Merge pull request #1489 from Areloch/DirectImageFileOption
Direct image file option
2025-05-31 07:18:24 -05:00
JeffR 0e6c33f78a Fixed gui editor drag and drop behavior for image, shape, and sound
Ensure BitmapFile is given a proper default
2025-05-30 20:21:13 -05:00
Brian Roberts 4ccbc37322
Merge pull request #1491 from Azaezel/alpha41/shaderConstConkOut
remove shaderconst timer clamp
2025-05-30 20:10:07 -05:00