Lines Matching refs:Palette

113 	Remap = (BYTE *)M_Malloc(count*sizeof(*Remap) + count*sizeof(*Palette));  in Alloc()
115 Palette = (PalEntry *)(Remap + count*(sizeof(*Remap))); in Alloc()
131 Palette = NULL; in Free()
170 memcpy(Remap, o.Remap, NumEntries*sizeof(*Remap) + NumEntries*sizeof(*Palette)); in operator =()
186 return !memcmp(o.Palette, Palette, NumEntries * sizeof(*Palette)); in operator ==()
215 arc << Palette[j]; in Serialize()
235 Palette[i] = GPalette.BaseColors[i]; in MakeIdentity()
239 Palette[i].a = 255; in MakeIdentity()
281 Palette[start] = GPalette.BaseColors[pal1]; in AddIndexRange()
282 Palette[start].a = start == 0 ? 0 : 255; in AddIndexRange()
291 Palette[j] = GPalette.BaseColors[k]; in AddIndexRange()
292 Palette[j].a = j == 0 ? 0 : 255; in AddIndexRange()
336 Palette[start] = PalEntry(r >> FRACBITS, g >> FRACBITS, b >> FRACBITS); in AddColorRange()
337 Palette[start].a = start == 0 ? 0 : 255; in AddColorRange()
348 Palette[j] = PalEntry(j == 0 ? 0 : 255, r >> FRACBITS, g >> FRACBITS, b >> FRACBITS); in AddColorRange()
399 Palette[cc] = pe; in AddDesaturation()
400 Palette[cc].a = cc == 0 ? 0:255; in AddDesaturation()
594 trans->Palette[i] = pe; in CreateBloodTranslation()
683 …translationtables[TRANSLATION_Standard][0]->Palette[i] = GPalette.BaseColors[0x60 + (i&0xf)] | MAK… in R_InitTranslationTables()
684 …translationtables[TRANSLATION_Standard][1]->Palette[i] = GPalette.BaseColors[0x40 + (i&0xf)] | MAK… in R_InitTranslationTables()
685 …translationtables[TRANSLATION_Standard][2]->Palette[i] = GPalette.BaseColors[0x20 + (i&0xf)] | MAK… in R_InitTranslationTables()
705 remap->Palette[i] = PalEntry(255, IcePalette[v][0], IcePalette[v][1], IcePalette[v][2]); in R_InitTranslationTables()
780 table->Palette[i] = PalEntry(255, ir, ig, ib); in SetRemap()