Commit graph

1130 commits

Author SHA1 Message Date
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
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 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
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
James Urquhart d9ff5d3f0e Basic zone code refactor using lists instead of linked lists 2023-09-26 12:03:51 -05:00
James Urquhart 596d13f9a4 Optimize container bin lookups 2023-09-26 12:03:51 -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
Lukas Aldershaab 89b0c7f73b Console Refactor 2023-09-13 10:33:20 +02:00
Brian Roberts 1473a162a8
Merge pull request #1072 from Azaezel/alpha41/sfxEmitterWipWork
sfxemitter misc cleanups
2023-08-17 22:03:32 -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 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 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
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