use FTranslationID in the high level parts of the hardware renderer.

This commit is contained in:
Christoph Oelckers 2023-11-09 22:50:41 +01:00
commit 9f90c64727
11 changed files with 27 additions and 16 deletions

View file

@ -187,6 +187,11 @@ public:
void CopyTranslation(FTranslationID dest, FTranslationID src);
FTranslationID StoreTranslation(int slot, FRemapTable* remap);
FRemapTable* TranslationToTable(int translation) const;
FRemapTable* TranslationToTable(FTranslationID translation) const
{
return TranslationToTable(translation.index());
}
void GenerateGlobalBrightmapFromColormap(const uint8_t* cmapdata, int numlevels);
void PushIdentityTable(int slot)