Commit graph

5169 commits

Author SHA1 Message Date
marauder2k7
d87655bb3a merge dev 2025-01-23 22:16:33 +00:00
marauder2k7
0f4d2d1689 material definition finished 2025-01-23 22:16:02 +00:00
marauder2k7
58119a4f82 more material def 2025-01-23 22:15:47 +00:00
marauder2k7
cebfdbc5ec material definition
changing the beast over to the refactor
2025-01-23 22:15:29 +00:00
marauder2k7
4d980e5406 various cleanups and fixes
basicClouds refactored
null dereference fixes in guiMenuBar
2025-01-23 22:14:05 +00:00
marauder2k7
eb746a1142 console spam
moved error printout in guiType guiControlProfile incLoadCount inside a check to make sure the profile has a bitmap asset set.

remove older typeImageAssetId from group and variable inspector classes
2025-01-23 22:13:49 +00:00
marauder2k7
32c6330b72 guiControlProfile 2025-01-23 22:13:48 +00:00
marauder2k7
b75d5b70c6 toolbox 2025-01-23 22:13:47 +00:00
marauder2k7
22037bf94f moar refactors 2025-01-23 22:13:46 +00:00
marauder2k7
4d893f51cf gui image asset refactor
bitmap button popup ctrl ex
2025-01-23 22:13:21 +00:00
marauder2k7
f519cff6ff gui types using image_asset 2025-01-23 22:12:57 +00:00
marauder2k7
fa8110ce8f all DECLARE_IMAGEASSET refactored 2025-01-23 22:12:55 +00:00
marauder2k7
24b374f545 cloud layer example 2025-01-23 22:12:54 +00:00
marauder2k7
eca0820134 init commit
start of attempt 3
2025-01-23 22:12:52 +00:00
marauder2k7
055ca0ae00 use screenshot for eye dropper
instead of using backbuffer image, use the screenshot so it captures everything
2025-01-23 20:23:47 +00:00
marauder2k7
93352f5754 linear to hsb and back again requires srgb calcs 2025-01-23 19:37:15 +00:00
marauder2k7
704e304eef display correct values
Few fixes to display float values if the inspector field asks for floats
Split Hsb out from colorI now linearColorF can return HSB from its own color without having to go through the colorI conversion, hopefully gets rid of rounding errors etc since we are only doing the calc once.
2025-01-23 19:06:35 +00:00
AzaezelX
209abf3aa4 ensure zodiac texture is preloaded 2025-01-23 11:21:07 -06:00
marauder2k7
48ca98ca84 color palette saving
for now saves palette colours as their hex value. This will miss out on the alpha value.
2025-01-23 14:46:05 +00:00
marauder2k7
46192c3709 Eye dropper functionality
Adds eye dropper functionality
adds eye dropper button image supplied by jeff
adds a few missing asset files (due to in asset browser scan and add all loose files)
2025-01-23 10:18:18 +00:00
marauder2k7
029a495de1 change hsb to doubles internally 2025-01-22 20:12:49 +00:00
marauder2k7
5ca1c37fe9 more fixes for hsb conversion and gui updated 2025-01-22 19:14:40 +00:00
marauder2k7
29a9bd7917 ground work before gui 2025-01-22 17:21:46 +00:00
AzaezelX
a5583a1d0e typofix 2025-01-21 11:02:16 -06:00
Brian Roberts
b105fce2f2
Merge pull request #1357 from Azaezel/alpha41/subScenSplineShenanigans
spline objects were mis-saving in submis files
2025-01-20 12:54:23 -06:00
AzaezelX
0e22488434 cleanups and safeties.
had a bunch of dupliated code injectors that are bypassed by the nature of AbstractClassRep::FIELD_SpecialtyArrayField
since those getSpecialFieldOut entries return a const char * from the stringtable, we *don't* want to try and kill those off, since that can lead to trying to delete deleted things from what was designed as a permanent record
2025-01-19 13:31:23 -06:00
AzaezelX
d6334f6cca spline objects were mis-saving in submis files
classes using AbstractClassRep::FIELD_SpecialtyArrayField use an explicit-writing mechanism, rather than tying things to a variable 'slot', so don't try and concaenate the two
2025-01-16 15:35:39 -06:00
Brian Roberts
221614383b
Merge pull request #1356 from Azaezel/development
handle pathshapes comming in from above players more gracefully
2025-01-15 20:36:35 -06:00
AzaezelX
7b393b668b handle pathshapes comming in from above players more gracefully
if you're within a pathshape as it moves, put you on top
2025-01-15 20:35:02 -06:00
Brian Roberts
4a8f8302a5
Merge pull request #1353 from Azaezel/alpha41/probeAttention
shift attenuation to probes in general.
2025-01-09 08:10:56 -06:00
Brian Roberts
a1144dad65
Merge pull request #1354 from Azaezel/alpha41/SkinTheCat
for consistency, add a setSkinName method to tsstatic
2025-01-09 08:10:40 -06:00
AzaezelX
9aa45b24ba for consistency, add a setSkinName method to tsstatic
wrapper for obj.skin assignment just like shapebase
2025-01-09 08:09:59 -06:00
AzaezelX
a4266a1336 fix distance falloff misassignmen. fix uninitialized attenuation in root probes 2025-01-07 23:48:34 -06:00
Areloch
e503bccb2e
Merge pull request #1348 from Azaezel/alpha41/libSupport
suport augs for modules that include full libraries
2025-01-07 17:15:28 -06:00
AzaezelX
5a2ec2731f shift attenuation to probes in general. 2025-01-07 16:58:50 -06:00
marauder2k7
9af22dc302 BUG: Probe baking look at matrix was wrong
Multiple fixes in files sent by Az but matrix look at function was creating a view matrix that messed up the capture.
Look at function for matrix now returns the correct matrix and bakes looking better
2025-01-07 15:44:19 +00:00
Brian Roberts
cbc7b034bc
Merge pull request #1350 from Azaezel/alpha41/callonChildrenCorruption
fix callonchildren varargs
2025-01-06 16:10:50 -06:00
AzaezelX
385974ab55 fix callonchildren varargs
std::move eats the sent variable, so store off a temp when applying it multiple times
2025-01-06 15:55:53 -06:00
marauder2k7
59c52fc94c Fix for bug reported by Rod
Reverted to the original calc clip space aabb to fix flickering bug reported by Rod in discord. Unfortunately this reintroduces the original issue of faint shadows showing at all times on the first split. But shadows render correctly where they are expected. A full review of pssm is required for later updates to be made.
2025-01-06 14:24:39 +00:00
Brian Roberts
8274bbbca4
Merge pull request #1342 from Areloch/SpawnObjectOverrideOverhaul
SpawnObject Override Overhaul
2025-01-03 09:44:37 -06:00
JeffR
46f6f6a9da Added field to ModuleDefinition for priority, which can be used to process/sort them in priority order
Added logic to ModuleManager's findModules method to allow priority sorting as well as pre-filtering by a given module group
Adjusts the %isFine argument for the onMapLoadFailed callback events to %canContinueOnFail for a bit more clarity on what the arg conveys
Shifts the setSpawnObjectType, setSpawnPoint and onPostSpawn call stack to utilize an event manager to allow the setup process for spawners and gamemode prepwork to run in it's own time, if needbe. Such as if a gamemode has to generate a map and there's no guarantees on when it'll b e done for one client vs another
Added getModulesAndGameModesList, callOnObjectList and getNumCanCallOnObjectList utility functions
2025-01-03 00:37:25 -06:00
AzaezelX
b3ddd712ce suport augs for modules that include full libraries
copies over .in and .cmake files for those cases when libraries themselves need to self-configure
searches for a source/libs/libs.cmake file for any torque-specific confiugurations we need to make for a given library
autoinclude any source/wrappers directory for unique to orque files, which will most commonly be data holder classes and script exposure, as well as adding those dirs to the #include listener list
also ditches forcing warn levels to lowest for libraries since if folks are going to experiment, best tey know about anmy underlying things to avoid
2025-01-02 10:27:09 -06:00
Brian Roberts
69fa4b389f
Merge pull request #1340 from marauder2k9-torque/ImageAsset-NamedTexTarget
NamedTexTargets as ImageAssets
2024-12-23 03:12:22 -06:00
Brian Roberts
783f2a03b4
Merge pull request #1341 from Azaezel/alpha41/probeOffsetFix
fix probe capturepoint nudge utility
2024-12-23 03:12:07 -06:00
AzaezelX
9eb87b9555 fix probe capturepoint nudge utility 2024-12-16 12:01:53 -06:00
JeffR
bf9692a451 Updates DecalRoad, MeshRoad and River to be able to write out via persistManager using specialityField functions, similar to ConvexShape
Fixes behavior with gamemode selection in ChooseLevelMenu so if there is only one gamemode, it is auto-selected and advances to the level selection
Update ExampleLevel in ExampleModule to have updated gamemodes field name
2024-12-15 23:48:16 -06:00
JeffR
81ac23fd35 Merge branch 'SubScenes_Gamemode_PR' of https://github.com/Areloch/Torque3D into development 2024-12-15 18:39:03 -06:00
marauder2k7
0458228e1c Update processedMaterial.cpp
revert console spam
2024-12-14 18:58:31 +00:00
marauder2k7
7b73ce7a2f Update ImageAsset.cpp 2024-12-14 16:26:02 +00:00
marauder2k7
f5f50723ed final cleanup 2024-12-14 14:47:46 +00:00