- FileData cleanup and uncoupling from FString.
Work is still needed to allow this to use the lump cache directly because some decisions in the past made this data padded by a zero byte.
This commit is contained in:
parent
ca1d7fd539
commit
a0d679b84b
24 changed files with 69 additions and 90 deletions
|
|
@ -431,7 +431,7 @@ static void R_CreatePlayerTranslation (float h, float s, float v, const FPlayerC
|
|||
else
|
||||
{
|
||||
FileData translump = fileSystem.ReadFile(colorset->Lump);
|
||||
const uint8_t *trans = (const uint8_t *)translump.GetMem();
|
||||
auto trans = translump.GetBytes();
|
||||
for (i = start; i <= end; ++i)
|
||||
{
|
||||
table->Remap[i] = GPalette.Remap[trans[i]];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue