mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Backports the 7.0 SetColorTexture(colorR, colorG, colorB [, a]) as a second name on the engine's own Script_Texture_SetTexture handler (0x0079BB40): its numeric branch already clamps r/g/b/a to [0,1] and fills a solid colour via FUN_00770360 (the string branch loads a path). So SetColorTexture is exactly vanilla's numeric SetTexture form under the modern name — zero reimplementation, with the clamp and opaque-alpha default coming straight from the engine. The alias also accepts a path string (a harmless superset of the retail contract). SetDesaturated / IsDesaturated are already native (real Desaturate.bls pixel shader); SetDesaturation is not addable — vanilla desaturation is a fixed effect handle with no strength constant in the setter, draw command, or effect table.