Commit graph

7475 commits

Author SHA1 Message Date
marauder2k7
7c3fbfc9d8 add getter for console get types
templated function for getting data from a field
2025-04-09 15:14:46 +01:00
marauder2k7
47f68d9371
Merge pull request #6 from Azaezel/IntegerParsing
on balance we'll want to round instead of truncate
2025-04-08 22:15:19 +01:00
AzaezelX
b886cbb527 on balance we'll want to round instead of truncate 2025-04-08 16:09:54 -05:00
marauder2k7
f30ff6734e Update mathTypes.cpp
mathtypes.cpp ConsoleSetTypes now converted
2025-04-08 10:13:48 +01:00
marauder2k7
1cb2109d6e Update mathTypes.cpp
update matrix/ang types to use the new function
change all print's to warn's
2025-04-08 09:51:38 +01:00
marauder2k7
802f90bf69 init commit
initial commit of templated ParseProperty function
TypePoint and TypeRect consoleSetTypes now use the new templated function
2025-04-08 08:16:09 +01:00
Brian Roberts
a996c09b04
Merge pull request #1437 from Azaezel/alpha41/bakePosPoke
fix make a mesh sometimes shifting position in level
2025-04-05 21:10:04 -05:00
AzaezelX
8ef5760b5d fix make a mesh sometimes shifting position in level
leverage the fact that when we create the backup prefab, that compresses down to one selected object
from there we can get it's position and use that for the bake location
2025-04-05 16:38:27 -05:00
Brian Roberts
86627f2fca
Merge pull request #1436 from Azaezel/alpha41/rangeFinding
add difFloatPi range validator
2025-04-03 16:53:18 -05:00
AzaezelX
2d974cebf5 add difFloatPi range validator
player:
apply to player min/max angle
allow fallingspeedthreshold to go negative
splashdata:
velocity, hieght, acceleration and startradius can all be negative
wrap material animation range from -1 to 1
2025-04-03 16:52:49 -05:00
Brian Roberts
68f44c1596
Merge pull request #1435 from Azaezel/alpha41/rotationRot
fix (?) rotation
2025-04-03 12:05:56 -05:00
AzaezelX
0e78312e95 fix (?) rotation
set the behaviour back to prior calcs, plus allow the desired scroll combo to work
2025-04-02 23:07:09 -05:00
Brian Roberts
67a1805061
Merge pull request #1434 from Azaezel/alpha41/badDB
typofix for bad %client.spawnDataBlock filtering
2025-04-02 17:40:53 -05:00
AzaezelX
3b2651c0ab typofix for bad %client.spawnDataBlock filtering 2025-04-02 17:40:37 -05:00
Brian Roberts
f41cdaaa7e
Merge pull request #1430 from Azaezel/alpha41/GFXRedundancyCleanups
clean up (some) shader variation redundancies
2025-04-02 16:21:57 -05:00
Brian Roberts
46a4cd71e2
Merge pull request #1433 from Azaezel/alpha41/dontBeATool
encapsulate tool-only code for levelassets
2025-04-02 16:21:47 -05:00
Brian Roberts
2e33228009
Merge pull request #1432 from Azaezel/alpha41/percent
add 0-100 percent ranges
2025-04-02 16:21:36 -05:00
Brian Roberts
79ceb9a798
Merge pull request #1431 from Azaezel/alpha41/fixFailspawn
fix spawn failure reports
2025-04-02 16:21:23 -05:00
AzaezelX
664e9db571 fix S32Percent type-o 2025-04-02 15:44:49 -05:00
AzaezelX
b299b54467 encapsulate tool-only code for levelassets 2025-04-02 15:38:43 -05:00
AzaezelX
3d2a923a30 add 0-100 percent ranges
F32 and S32
apply to guibitmapbarctrl
2025-04-02 15:33:39 -05:00
AzaezelX
8ac9da0e9f fix spawn failure reports
also force the fallbacks on failures
2025-04-01 20:48:50 -05:00
AzaezelX
d82e8dbec4 clean up (some) shader variation redundencies
don't need to use macros for the shader textfile hashkeys
several no longer used GFXVertexFormats removed
2025-04-01 18:23:29 -05:00
Brian Roberts
0546eae408
Merge pull request #1428 from Azaezel/sgCleanups
clean up shadergen ambient handling
2025-03-29 14:58:01 -05:00
AzaezelX
b92b5b34fd clean up shadergen ambient handling
fallback needs to a) set the same value as elswhere. b) treat uniforms the same. c) exist on both ends to ensure order of ops doesn't mangle things
2025-03-29 14:43:03 -05:00
Brian Roberts
85c7a68f46
Merge pull request #1427 from Azaezel/alpha41/riverRun
flowMagnitude and ripplespeed can go negative
2025-03-26 22:16:23 -05:00
AzaezelX
289d42cc10 flowMagnitude and ripplespeed can go negative 2025-03-26 22:12:19 -05:00
Brian Roberts
a4dcfb0cc2
Merge pull request #1426 from Azaezel/alpha41/wetwipes
fix wetness
2025-03-26 06:22:19 -05:00
AzaezelX
9f11f132d3 fix wetness 2025-03-26 06:22:01 -05:00
Brian Roberts
5436429e05
Merge pull request #1425 from Azaezel/alpha41/forwardFix
fix forward cubemip
2025-03-25 14:28:01 -05:00
Brian Roberts
6ffe7500cd
Merge pull request #1423 from Olathuss/gametsctrl-mouserefactor
Gametsctrl mouserefactor
2025-03-25 14:25:49 -05:00
AzaezelX
5e79c01208 fix forward cubemip
in case of temporary loss of the probe array, fall back to a (slightly) less arbitrary probemanager mip level as oposed to assuming 1 mip exists
2025-03-25 14:25:29 -05:00
Olathuss
3dabbc83ff Fixed callbacks to replace char* with Point classes
Replacing char* in callbacks with Point2I and Point3F classes for better readability and overhead
2025-03-25 11:07:14 -06:00
Olathuss
df5ffd9e10 Remove extraneous function
Remove extraneous function makeScriptCall which is no longer used.
2025-03-25 10:47:35 -06:00
Brian Roberts
42eda97364
Merge pull request #1424 from Azaezel/alpha41/brdfFixes
unmangle brdfTexture. again.
2025-03-24 18:18:29 -05:00
AzaezelX
5666373447 unmangle brdfTexture. again.
also correct roughnessToMipLevel, specular tinting and missing horizon correction
2025-03-24 18:18:12 -05:00
Olathuss
32bc068f7f Added PlatformTimer for mouse callbacks
Added PlatformTimer to GameTSCtrl to limit mouse move/drag callbacks.
2025-03-24 12:04:36 -06:00
Brian Roberts
d0d0a39fcd
Merge pull request #1421 from Azaezel/alpha41/cryingSkies
handle feeding a cubemap via 2d textures
2025-03-24 11:32:33 -05:00
AzaezelX
61e4107c39 handle feeding a cubemap via 2d textures
courtessey marauder
2025-03-24 11:32:09 -05:00
Brian Roberts
ce0059613a
Merge pull request #1420 from Azaezel/alpha41/twsitedMetal
correct further flaws with albedo handling
2025-03-23 20:54:05 -05:00
AzaezelX
9d7fdab193 correct further flaws with albedo handling 2025-03-23 20:53:32 -05:00
Brian Roberts
5636ebc457
Merge pull request #1419 from Azaezel/alpha41/twsitedMetal
clean up brdf
2025-03-22 13:38:34 -05:00
AzaezelX
61dbbf7102 clean up brdf
it was loading in the wrong colorspace, and there as a mix of texture/textureLOD refs leading to inconsistencies
2025-03-22 13:38:09 -05:00
Brian Roberts
3b2f8be521
Merge pull request #1418 from Azaezel/alpha41/twsitedMetal
specular review
2025-03-22 10:54:29 -05:00
AzaezelX
42710ec6f0 specular review
cleanup of various calcs
2025-03-22 10:00:45 -05:00
Brian Roberts
77e336627b
Merge pull request #1416 from marauder2k9-torque/Fix-CubemapBaking-Resizing
fix and cleanup
2025-03-20 11:29:32 -05:00
marauder2k7
c476b292a6 Update gfxD3D11Cubemap.cpp
put arraySize check back in
2025-03-20 15:51:39 +00:00
marauder2k7
ef856e23fa fix and cleanup 2025-03-20 15:26:52 +00:00
Brian Roberts
7d0ba641ce
Merge pull request #1415 from Azaezel/alpha41/forceDetailfix
fix forceDetail
2025-03-19 18:08:52 -05:00
AzaezelX
b4eb885aae fix forceDetail
it can safely be a negative number.
2025-03-19 18:08:37 -05:00