Commit graph

3944 commits

Author SHA1 Message Date
Areloch
7b02d81b54 Adds preferences for limiting the maximum number of local lights, as well as distance-based fading of local lights. 2020-08-02 23:16:03 -05:00
Areloch
a257dc8399 Adds some console preference variables for object fade overriding on TSStatics 2020-08-02 22:33:10 -05:00
Brian Roberts
9e792845f7
Merge pull request #262 from Azaezel/alpha40_reverbBlurb
fix reverb out of bound initializations
2020-07-30 11:49:51 -05:00
Brian Roberts
914fc3e80c
Merge pull request #263 from Azaezel/alpha40_decalDrek
crashfix: decal report when missing the DB entry was malformed
2020-07-30 11:49:37 -05:00
Brian Roberts
7575d82d90
Merge pull request #264 from Azaezel/alpha40_lightLoopiness
crashfix: `const U32 numVerts = curEntry.vertBuffer->` is invalid for vectorlights
2020-07-30 11:49:24 -05:00
Areloch
fc225a7f0b Adds a default value to the lodType of the asset importer to prevent utilizing an un initialized value 2020-07-29 15:42:28 -05:00
AzaezelX
33d82ea1f6 crashfix: const U32 numVerts = curEntry.vertBuffer-> is invalid for vectorlights 2020-07-27 20:30:26 -05:00
AzaezelX
a661a9089d revert instancing vert tweak after polling game-released devs limiters and cornercases 2020-07-27 20:26:24 -05:00
AzaezelX
820cd5cb10 crashfix: decal report when missing the DB entry was malformed 2020-07-27 18:22:08 -05:00
AzaezelX
6b2db37f8a followup to array acess breaches: waterobject and guiparticlegraphctrl need to check >=, not just > 2020-07-27 10:45:45 -05:00
AzaezelX
1f93e362cc fix out of bound initializations 2020-07-27 10:22:39 -05:00
AzaezelX
ec7f7df5f1 groundframe generation cleanup work 2020-07-26 17:29:07 -05:00
Areloch
7d0831143c Captures secondary window close events so secondary windows can be closed via hitting the x on the window itself. 2020-07-26 15:58:53 -05:00
Brian Roberts
b2c4ff7745
Merge pull request #257 from Bloodknight/UbuntuGCC9-fixes
Fix GCC9 complaints
2020-07-26 13:09:27 -05:00
Brian Roberts
4890ed8789
Merge pull request #258 from Areloch/BaseGameThemeUpdate
Updates the BaseGame UI theme
2020-07-26 13:09:00 -05:00
Areloch
5f95f9f8c0 Made GuiFadeinBitmapCtrl not only respond to mouse and keyboard events, but gamepad events as well, allowing gamepad inputs to skip opening splash pages
Ensured that guiGameListMenuCtrl adjusts values for rows marked as sliders via the left and right gamepad actions
Corrected the button maps for look and move on the gamepad for the ExampleModule's default movement binds
Fixed ExampleModule's default keybinds so alt+enter correctly toggles fullscreen
Fixed joinServerMenu so it has a guiInputCtrl that can catch keybind events and pass them to the menuInputButtons
Removed erroneous input consumption on OptionsMenuList
Removed unneeded check against Graphics API list
Flipped order of Anti Aliasing option to match ordering of the others
Removed old, unneeded legacy option menu script files
Added logic for message boxes to automatically return active MenuInputButton control to the holder before it was pushed
Added fill color for the UI list gui profile so the sliders render more legibly
2020-07-25 01:29:25 -05:00
Areloch
5b289bce5e Shifts the tools messageboxes to be distinct from any messageboxes in the main game
Reorged the canvas handling of gamepad inputs for the axis and triggers to use the SI_ versions in the right spots
Fixed issue where pause menu would be hidden and not display again
Made the pause menu active from the gamepad start button rather than back
2020-07-24 00:40:03 -05:00
Areloch
ef4cc8b573 Updated names of some of the input images to match the names of the inputs to simplify lookups
Altered a few of the input images to improve readability of some of the text
Standardizes the menuInputButton set usage to just use the raw action names rather than a middleman naming scheme for simplicity and standardization
Added comments to menuInputButtons.cs
Split out the menuInputButton containers to simplify and stabilize the code on the messageBox dialog
Removed old reference to script/gui files not there anymore
Simplified the input state check in guiGameListMenuCtrl.cpp
Added a check so we don't try exec'ing the selected list item in guiGameListMenuCtrl.cpp if nothing has actually be selected
2020-07-23 16:26:38 -05:00
Areloch
37420cda66 Updates the BaseGame UI theme to be more legible and visually consistent.
Also standardizes and fixes the menuInputButtons system.
2020-07-23 00:22:15 -05:00
Bloodknight
af126ad089 Fix GCC9 complaints 2020-07-22 16:40:01 +01:00
Bloodknight
f52ae7f1b3 Fix GCC9 complaints 2020-07-22 14:29:54 +01:00
Areloch
247c0eb34a Moves the delta-based rounding function Verve used up into the engine so it wouldn't override the regular mRound function. Now is mRoundDelta. 2020-07-18 02:53:34 -05:00
AzaezelX
454192ed02 from @rextimmy new isbackground shader feature. used the same z=w trick we've done before to force things to render behind everything else. applied to fog 2020-07-14 14:08:12 -05:00
Brian Roberts
dda0cc9aa7
Merge pull request #249 from Areloch/InspectorGroupInserts
Adds additional functions for inserting inspectorGroups
2020-07-14 03:22:46 -05:00
Areloch
5b4af68793 Adds ability to get InspectorGroup index, as well as inserting a new inspectorGroup at a specific position in the list 2020-07-13 18:58:00 -05:00
AzaezelX
f829303ded cleanup singlechannel glowmask leftovers (we use a full rgb map now) 2020-07-12 17:39:16 -05:00
Brian Roberts
3cd5932cef
Merge pull request #246 from Areloch/AssetImporterUpdate
Various improvements, fixes and expansions for Asset Importing
2020-07-12 14:08:02 -05:00
Brian Roberts
fbb11027b6
Merge pull request #245 from Areloch/PopupMenuBitmapArrays
Minor additions to popup menus
2020-07-12 14:07:49 -05:00
Areloch
7818b1ba49 Correct to make the getModuleFromPath function static again. 2020-07-11 21:57:40 -05:00
Areloch
a3d6afc197 Corrects lookup/in-place auto import logic for ImageAssets
Fixed sizing issue for material asset ptr fields
Fixed type of comment in Particle Asset
Hooked GLSL and HLSL shader files to be proper asset loose files for PostEffectAsset
Adjusted some default values for default ImportConfig
Corrected field type of multiple fields  for the importConfig
Corrected loading of PopulateMaterialMaps config setting from config file
Corrected field types of multiple fields for AssetImportObjects
Exposed several utility fields for the Importer to script
Added ability to create an AssetImportObject in script and add it to the Importer's current session
Ensured stable naming behavior(replacing spaces, -, and . in names with _
Improved getAssetTypeByFile logical lookup so it doesn't accidentally grab cached.dts files
Added ability to hard reset an import session, wiping all inbound files for a full reset
Added ability to process DTS files to shape import so it can parse out content such as materials for associated asset imports
Added better handling for shape materials that are just colors
Added callback hook-in so if the importer doesn't have a defined function for importing a given asset type, it'll try calling down into the editor
Stabilized imageAsset processing logic when generating a material for it
Improved imageType lookup/processing logic in Importer
Improved logic for binding in associated image files to materialAssets
Improved logic for processing shapes to get related materials and images, ensuring better likelyhood of finding and associating related assets
Cleaned up validation logic
Added ability to properly look up the editor's default import config if it's set to be used for autoimport
Improved handling of originalFilePath logic, so if it's an in-place import, it doesn't bother populating the field
Set default UP axis value on shape importing to ensure better default behavior
2020-07-11 16:20:10 -05:00
Areloch
a71f5cfd9d Missed header changes 2020-07-11 15:58:39 -05:00
Areloch
a5404ad216 Adds ability to utilize bitmap arrays and set entry indexes for popup menus
Also enables the ability to fetch the text of a popup menu item
2020-07-11 15:57:13 -05:00
Areloch
758dd20724 Adds logic to guiTextEditCtrl to have placeholder text when the control is empty. 2020-07-11 15:53:21 -05:00
Brian Roberts
67dbe4dfe2
Merge pull request #229 from Areloch/TerrainAssetFixup
Reworks the terrain loader code to work with the assets.
2020-07-10 17:30:27 -05:00
Brian Roberts
ef6137ac6f
Merge pull request #242 from Azaezel/alpha40_stuckSpots
from practicing: aiplayer onstuck correction
2020-07-10 17:28:29 -05:00
AzaezelX
b8c3b515f8 from @practicing01: trigger mounting 2020-07-10 15:50:25 -05:00
AzaezelX
1619b7cd23 from practicing: aiplayer onstuck correction 2020-07-10 12:15:46 -05:00
Brian Roberts
55c95a6146
Merge pull request #241 from Azaezel/alpha40_macCompile
comparison flaw in spotlight animation check.
2020-07-08 12:27:28 -05:00
AzaezelX
61db21aaaf comparison flaw in spotlight animation check. also, proper location of shadercache dir 2020-07-07 16:54:25 -05:00
Jeff Hutchinson
7880c71d9a fixed cpu detection on 64bit windows (and removing nasty assembly for win32).
Note that this still works for 32bit windows.
2020-07-07 01:05:08 -04:00
Brian Roberts
1173c4f153
Merge pull request #239 from Azaezel/alpha40_compilefix
#include "console/typeValidators.h"
2020-07-05 20:39:07 -05:00
Brian Roberts
d86c6aff35
Merge pull request #238 from Azaezel/alpha40_gl_cubemapWipwork
fix cubemap capture for gl
2020-07-05 20:38:53 -05:00
AzaezelX
fcffca65e6 #include "console/typeValidators.h" 2020-07-03 22:58:27 -05:00
AzaezelX
c57205b1f4 from @rextimmy: final fixes 2020-07-03 22:56:44 -05:00
AzaezelX
a41b28f6b7 safety check
ensures
`   Knot *p1 = getKnot((S32)mFloor(t));
   Knot *p2 = next(p1);`
can't trip bad memory
2020-07-03 15:47:05 -05:00
Brian Roberts
52c93ab5ea
Merge pull request #234 from chaigler/fix_gl_sreenies
Implements missing _captureBackBuffer method for GL gfx layer.
2020-07-02 16:18:00 -05:00
chaigler
e2bf5cb8fe Implements missing _captureBackBuffer method for GL gfx layer.
GL layer was missing _captureBackBuffer() implementation which caused screenShot() function to fail. Also caused ScreenShot::capture() to be called every frame afterward which caused significant performance issues.
2020-07-02 16:02:05 -04:00
chaigler
c4e00be91a Fix for crash in _onZoningChanged methods when called by hidden objects.
Hidden objects are removed from the scene manager so calls to getSceneManager()->getZoneManager() crash and burn.
2020-07-02 15:50:29 -04:00
AzaezelX
ce2b05e0e2 a) grab the source mipmap levels not the dest ones for copy. b) lets rely less on trusting sizeof*4 when we've gor a size per pixel lookup already there 2020-06-29 21:26:08 -05:00
Areloch
7b1c083839 Adjusts importer logic of assets to fill spaces in the names as underscores to avoid issues. 2020-06-26 23:28:53 -05:00