Commit graph

4524 commits

Author SHA1 Message Date
Brian Roberts
80eb4ab2ba
Merge pull request #386 from Azaezel/alpha40_createCompositeCopypasta
adress #385
2020-11-29 21:04:58 -06:00
AzaezelX
0fa8e23475 adress #385 2020-11-29 21:04:11 -06:00
Brian Roberts
9f802fa23f
Merge pull request #383 from Azaezel/alpha40_shapeAssetTransmissionFix
get shapeassetID read. TODO: find further flaws and unrem the filter
2020-11-27 19:03:44 -06:00
AzaezelX
c626bc10e0 get shapeassetID read. TODO: find further flaws and unrem the filter 2020-11-27 19:03:20 -06:00
Brian Roberts
6441ecd941
Merge pull request #317 from Areloch/ShapeBaseDataAssetify
Implements hook-look-up logic for shape assets to ShapeBaseData including autoimport handling
2020-11-27 18:04:16 -06:00
Brian Roberts
77ac215464
Merge pull request #381 from Areloch/PauseMenuFix
Pause Menu toggle fix
2020-11-21 03:05:20 -06:00
Areloch
efa84660bc Added handling for gamepad key input consumption as well. 2020-11-21 02:52:39 -06:00
Areloch
bca972ae24 Adds a flag to the guiGameListMenuCtrl to allow consuming of key input events. This allows for overriding other active keybinds that may be in play when a menu is active. 2020-11-21 02:35:05 -06:00
Brian Roberts
d8e82d1ba6
Merge pull request #379 from Azaezel/alpha40_lightreview
light review (hdr and metalness vs direct lighting)
2020-11-16 04:24:41 -06:00
AzaezelX
1e107ceb94 Merge branch 'Preview4_0' into alpha40_lightreview
# Conflicts:
#	Templates/BaseGame/game/core/rendering/shaders/gl/lighting.glsl
2020-11-16 04:23:00 -06:00
Brian Roberts
800ddd8778
Merge pull request #326 from lukaspj/feature/improve-cinterface
Feature/improve cinterface
2020-11-16 04:13:16 -06:00
Lukas Aldershaab
44dcdc7515 Revert wrong rename of addEffect in comment 2020-11-15 21:37:54 +01:00
AzaezelX
70358d0dbc yet more PostEffect::isEnabled -> enabled that somehow slipped through the search filter 2020-11-15 21:36:11 +01:00
AzaezelX
48a38f61ef Field PostEffect::isEnabled -> enabled followup
GuiScriptNotifyCtrl::onXXX->notifyOnXXX followup
2020-11-15 21:36:02 +01:00
AzaezelX
6ee6d7c717 Field PostEffect::isEnabled -> enabled followup 2020-11-15 21:35:51 +01:00
Lukas Aldershaab
9c4191702c Properly specify type of console types with a different native type 2020-11-15 21:32:29 +01:00
Lukas Aldershaab
763c205451 Add type of Children in SimGroup and GuiControl 2020-11-15 21:32:29 +01:00
Lukas Aldershaab
55f459cf2d Add missing call to CInterface::IsMethod 2020-11-15 21:32:29 +01:00
Lukas Aldershaab
97edf1ae34 Remove duplicate definition of glowMul 2020-11-15 21:32:29 +01:00
Lukas Aldershaab
158bf5528c Remove name-clashes in AFX code-base 2020-11-15 21:32:29 +01:00
Lukas Aldershaab
f4c8e2683e Improve type detection of EngineAPI types 2020-11-15 21:32:29 +01:00
Lukas Aldershaab
a7f3724dd1 Handle MatrixF default values 2020-11-15 21:32:29 +01:00
Lukas
47411e2d3a Properly mark Parent class of DebugDrawer for Console hierarchy 2020-11-15 21:30:45 +01:00
Lukas
90d460d9a4 Remove object and function namespace from argument list 2020-11-15 21:30:45 +01:00
Lukas
e69c4f0f6a Remove typename from ArgumentToValue specifier in MethodTrampoline 2020-11-15 21:30:45 +01:00
Lukas
42ca155301 Fix non-mvc compilation in EngineDefaultArguments 2020-11-15 21:30:45 +01:00
Lukas
bcb75e21ac Remove typename from ArgumentToValue specifier 2020-11-15 21:30:45 +01:00
Lukas Joergensen
c9609fbdbf CInterface integration in CodeInterpreter null ptr fix
mNSEntry can be null if there is no TorqueScript defintion, but there could still be a result from an externally defined source.
´
Furthermore fixes an issue where StringStackConsoleWrapper would die before the value was read.
2020-11-15 21:30:45 +01:00
Lukas Joergensen
d567bc9735 Improve Engine API export, robust Default Value logic and allow _ in arg 2020-11-15 21:30:45 +01:00
Lukas Joergensen
8bede52d3b Comment out unused Call Ins for setting SFXSource transform 2020-11-15 21:30:45 +01:00
Lukas Joergensen
6dae9981b5 Remove double quotes inside string definition in UndoManagerpushCompound 2020-11-15 21:30:45 +01:00
Lukas Joergensen
c0eec93d55 Avoid nameclash in guiScriptNotifyControl fields 2020-11-15 21:30:45 +01:00
Lukas Joergensen
84960633b3 Fix typo in reverbModDepth field name 2020-11-15 21:30:45 +01:00
Lukas Joergensen
b76a3fa508 Correct name of EaseF param in struct EngineAPI export 2020-11-15 21:30:45 +01:00
Lukas Joergensen
03769bb79d Remove superfluous Get/SetField API methods 2020-11-15 21:30:45 +01:00
Lukas Joergensen
e95a5bf139 Expose SimPersistID to EngineAPI 2020-11-15 21:30:45 +01:00
Lukas Joergensen
fe09d6e125 ModuleSystem: Lookup CInterface methods when calling module create func 2020-11-15 21:30:45 +01:00
Lukas Joergensen
68b6884665 EngineAPI: Expose strings as UTF8 instead of UTF16 2020-11-15 21:30:45 +01:00
Lukas Joergensen
0b5fd8db6e Engine API: Pass structs by reference 2020-11-15 21:30:45 +01:00
Lukas Joergensen
6a9c09f145 Update EngineAPI, use fixed_tuple as main underlying data structure
This also fixes a few issues related to type conversions before data is sent to the engine function.
Squash
2020-11-15 21:30:45 +01:00
Lukas Joergensen
4eabbd5bb0 GuiFilterCtrl: Rename identity function to resetFiltering to avoid clash
The field "identity" previously clashed with the method "identity"
2020-11-15 21:30:45 +01:00
Lukas Joergensen
a069496ad3 ModuleDefinition: Remove duplicate addProtectedField for ModuleId 2020-11-15 21:30:45 +01:00
Lukas Joergensen
e1a6fa01ca PostEffect: Rename isEnabled field to enabled, to fix name clash 2020-11-15 21:30:45 +01:00
Lukas Joergensen
5a994bdddc Rename GuiSpeedometer::mColor to mNeedleColor to avoid clash with parent 2020-11-15 21:30:45 +01:00
Lukas Joergensen
a241d27b58 Expand EngineAPI type definitions 2020-11-15 21:30:45 +01:00
AzaezelX
39574e7fee clamp factor entriely for getXXXLight calcs, and take metalness into account for reducing direct light diffusion imact (while this seems to make it match the tooling, I can't say I've seen this exact approach used, so might want to re-review the methodology) 2020-11-13 15:24:12 -06:00
AzaezelX
c0b6007b9f undefined preprocessors on some machines eval to true. given this is purely a bool anyway, might as well stick to ifdef 2020-11-13 15:19:50 -06:00
AzaezelX
2d18d5b280 clamp borghtpass filter return values to smooth out bloom 2020-11-13 15:18:20 -06:00
Brian Roberts
f5f0eb2bb4
Merge pull request #378 from Azaezel/alpha40MacCompilePreprocessor
shader preprocessor fixes
2020-11-11 12:20:33 -06:00
Brian Roberts
b96d342960
Merge pull request #376 from Azaezel/alpha40_FixPrefLookup
be sure to executte defaults prior to clientprefs
2020-11-11 12:20:23 -06:00