Commit graph

5980 commits

Author SHA1 Message Date
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
AzaezelX
ab98909f1e if we have no description, the sounds is never 3d 2022-11-28 00:10:32 -06:00
AzaezelX
af1a93f2e1 bloom fix fallback
-in case a better solution doesn't come along by tuesday
2022-11-27 23:01:36 -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
e16351605b
Merge pull request #922 from Areloch/LinuxCLIFixTwo
Properly appending the apt commands in the yml
2022-11-18 00:35:09 -06:00
Areloch
c597ae079f Properly appending the apt commands in the yml 2022-11-18 00:31:27 -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
Brian Roberts
aa7fc26c39
Merge pull request #921 from Azaezel/alpha402/asAboveSoBelow
assign default skybox and groundplane values on creation
2022-11-17 13:47:50 -06:00
AzaezelX
d92bc693d3 assign default skybox and groundplane values on creation 2022-11-14 22:06:19 -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
Brian Roberts
f0206120dc
Merge pull request #919 from Azaezel/alpha402/HDR_Fix
from @GoldenThumbs: HDR editor bloom fix
2022-11-10 01:56:02 -06:00
Brian Roberts
85a37b6c7a
Merge pull request #918 from Azaezel/alpha402/stopStringSpam
supress Mapping string spam unless net debugging
2022-11-08 15:08:05 -06:00