/* * 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 "kplib.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.r = r; tint.g = g; tint.b = b; tint.sr = sr; tint.sg = sg; tint.sb = sb; tint.f = effect; }