/* * High-colour textures support for Polymost * by Jonathon Fowler * See the included license file "BUILDLIC.TXT" for license info. */ #include "build.h" #include "compat.h" #include "hightile.h" #include "baselayer.h" polytint_t hictinting[MAXPALOOKUPS]; // // hicinit() // Initialize the high-colour stuff to default. // void hicinit(void) { int32_t i; for (i=0; i= (uint32_t)MAXPALOOKUPS) return; polytint_t & tint = hictinting[palnum]; tint.tint.r = r; tint.tint.g = g; tint.tint.b = b; tint.shade.r = sr; tint.shade.g = sg; tint.shade.b = sb; tint.f = effect; }