mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed the missing plasma effect in Exhumed's title screen.
This commit is contained in:
parent
6947b9cf98
commit
98c064dcbc
2 changed files with 3 additions and 2 deletions
|
@ -239,6 +239,7 @@ public:
|
|||
TexelWidth = x;
|
||||
TexelHeight = y;
|
||||
SetDisplaySize(float(x), float(y));
|
||||
GetTexture()->SetSize(x, y);
|
||||
}
|
||||
void SetDisplaySize(float w, float h)
|
||||
{
|
||||
|
|
|
@ -349,9 +349,9 @@ void menu_DoPlasma()
|
|||
twod->ClearScreen();
|
||||
|
||||
|
||||
uint8_t* plasmapix = const_cast<uint8_t*>(tilePtr(nPlasmaTile));
|
||||
uint8_t* plasmapix = tileData(nPlasmaTile);
|
||||
uint8_t* r_ebx = plasmapix + 81;
|
||||
const uint8_t* r_edx = tilePtr(nPlasmaTile ^ 1) + 81; // flip between value of 4092 and 4093 with xor
|
||||
const uint8_t* r_edx = tileData(nPlasmaTile ^ 1) + 81; // flip between value of 4092 and 4093 with xor
|
||||
|
||||
for (int x = 0; x < kPlasmaWidth - 2; x++)
|
||||
// for (int x = 1; x < 318; x++)
|
||||
|
|
Loading…
Reference in a new issue