Commit graph

1118 commits

Author SHA1 Message Date
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 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 0d4221fa59 uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX 0ce2da3a23 clean up math varsize complaints 2023-04-27 16:10:04 -05:00
AzaezelX aa02e48c8d add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05: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 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
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
AzaezelX 4a9f8e0709 get node utility methods by request
courtessy Steve_Yorkshire, tim-mgt
2023-03-12 15:19:44 -05:00
Johan Mattsson 0cbb4fc8a1
Use bitwise instead of logical OR 2023-03-05 12:14:17 +01:00
Johan Mattsson 2e1cfe9332
Fix potential index out of bounds 2023-03-04 22:05:43 +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
JeffR 167f98b767 Expands ScriptAsset behavior to operate as a generic type-settable asset 2023-02-23 15:29:59 -06:00
AzaezelX 15f7f04bee standardize soundasset preloading for datablocks 2023-02-19 05:19:51 -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 727c5b1e59 Fix up handling of assets marked for UseForDependencies during import process 2023-02-01 23:54:11 -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 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
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 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
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
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
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
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 8343c096df need to surpess billboard generation attempts on dedicated servers 2022-09-29 02:04:51 -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 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
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