Commit graph

7232 commits

Author SHA1 Message Date
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
Brian Roberts
35e7a204cd
Merge pull request #945 from CouleeApps/fix_macos_warnings
Fix some compiler warnings on macos
2023-01-02 01:02:52 -06:00
Glenn Smith
3bdbe5965e
Fix some compiler warnings on macos 2023-01-01 22:56:56 -05:00
Areloch
10d61e3a37
Merge pull request #944 from Areloch/GCCCompileCompliance20230101
Rollback of this change because GCC is weird
2023-01-01 17:52:54 -06:00
Areloch
6fa57362b3 Rollback of this change because GCC is weird 2023-01-01 16:56:59 -06:00
Brian Roberts
b256d62b85
Merge pull request #942 from Azaezel/alpha403/miscSoundFixes
misc fixes
2022-12-30 00:15:16 -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
543eac4720 clean up lefotvers 2022-12-29 13:54:26 -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
AzaezelX
d960f941e1 add a setControllingClient method to vehicles referencing the shapebase class direct.
fix shapebase::setControllingClient swap getControllingObject() test
2022-12-25 14:48:10 -06:00
Brian Roberts
54a2235128
Merge pull request #940 from Areloch/ModuleRootScopeNamespace
Establishes a common namespace for Module ScopeSet objects to make it easier to work with function calls out of module namespaces
2022-12-22 02:25:01 -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
Brian Roberts
ad78f8686c
Merge pull request #932 from Azaezel/alpha402/LevelLoadInjection
adds a mechanism to inject additional steps into mission loading
2022-12-18 11:05:09 -06:00
Brian Roberts
120302383d
Merge pull request #939 from JeffProgrammer/macos_fixes_again
Fix LibPNG on Universal MacOS + Bump minimum MacOS version to 10.14
2022-12-17 21:55:30 -06:00
Jeff Hutchinson
d4a6ea4628 Fix LibPNG on Universal MacOS + Bump minimum MacOS version to 10.14 2022-12-17 22:45:09 -05:00
Brian Roberts
7d02eea6e4
Merge pull request #938 from Areloch/OptionsAndRemappingFixes
Misc fixes for options and key remapping
2022-12-16 01:26:12 -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
d8b2ffbce0
Merge pull request #933 from Azaezel/alpha402/bloomBashing
bloom operates off of color>1.0. adjust defaults to suit
2022-12-15 02:33:12 -06:00
Brian Roberts
7c90f6e680
Merge pull request #937 from Azaezel/alpha402/rtTrouble
fix bad rtParams refrence
2022-12-15 02:32:41 -06:00
AzaezelX
4deae92c48 fix bad rtParams refrence 2022-12-14 23:07:35 -06:00
AzaezelX
29e06fc327 refactor, with the following wrappers to keep in mind:
Core_ClientServer.clearLoadStatus();
Core_ClientServer.inishMapLoad();
Core_ClientServer.FailMapLoad( %moduleName, %isFine);
Of special note: the postevent method must only take one entry, so we store off  Core_ClientServer.failedModuleName = %moduleName; priorto triggering the event so that the failing module can be reported.
2022-12-12 14:07:52 -06:00
AzaezelX
78cb2e1d80 adds a fail state method+event to the load chain
at time of writing:
    Core_ClientServer.GetEventManager().postEvent( "mapLoadFail", false );
kicks players and closes the server
    Core_ClientServer.GetEventManager().postEvent( "mapLoadFail", false );
proceeds to continue loading reguardless
2022-12-12 13:02:11 -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
Brian Roberts
2d26d35687
Merge pull request #934 from Areloch/AssetInspectorFieldExpand
Updates the behavior and layout of the ImageAsset, MaterialAsset and ShapeAsset inspector fields
2022-12-09 00:07:20 -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
6f8df41c6d Remove debug messaging that isn't needed with the drag-n-drop field behavior 2022-12-08 20:18:51 -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
1eb59e77e8 bloom operates off of color>1.0. adjust defaults to suit 2022-12-08 18:36:58 -06:00
AzaezelX
2e47e7d823 adds a mechanism to inject additional steps into mission loading
leverages the EventManager and ScriptMsgListener() classes to set up a third mission load stage triggered by the following flow:
function <module>::onLoadMap(%this) starts an execution chain that leads to <module>::finishMapLoad()
each  <module>::finishMapLoad() MUST contain the line
     Core_ClientServer.GetEventManager().postEvent( "mapLoadComplete" );
once all have called back that they have finished thier tasks, players finish loading into a hosted mission
2022-12-08 14:34:50 -06:00
Brian Roberts
fc1bbabe46
Merge pull request #931 from Areloch/KeybindRemapCleanup
Cleanup and standardization of keybind remapping handling
2022-12-06 00:25:24 -06:00
Areloch
44c894d335 Adds utility function to clean up and standardize the remapping handling for keybinds
Adds sanity check so if no remappable binds are found for an actionMap, it isn't listed in the controls menu
Updates ExampleModule's keybinds to use new utility function
2022-12-06 00:16:13 -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
Brian Roberts
178163dba3
Merge pull request #928 from LakoMoor/patch-1
Fix for build
2022-12-03 07:36:33 -06:00
Brian Roberts
d191b4488c
Merge pull request #929 from Areloch/keybindRemapUIFix
Fixes the movemap toggle in the options menu
2022-12-03 04:17:10 -06:00
Areloch
48680558c7 Fixes the movemap toggle in the options menu 2022-12-03 00:57:03 -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
Brian Roberts
411572d204
Merge pull request #927 from Azaezel/alpah402/lurkingLerps
use the templated mLerp
2022-11-29 12:33:12 -06:00
Brian Roberts
a56a7312b3
Merge pull request #925 from Azaezel/alpha402/bloomHack
bloom fix fallback
2022-11-29 12:32:44 -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
Brian Roberts
d021c5ddfa
Merge pull request #926 from Azaezel/alpha402/soundSafety
if we have no description, the sounds is never 3d
2022-11-28 00:10:51 -06:00