mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- made gotpic a FixedBitArray.
gets rid of some inline garbage.
This commit is contained in:
parent
5f18109371
commit
11f41a97d5
14 changed files with 29 additions and 40 deletions
|
@ -583,7 +583,7 @@ void renderDrawMapView(int cposx, int cposy, int czoom, int cang)
|
|||
|
||||
int translation = TRANSLATION(Translation_Remap + curbasepal, sector[i].floorpal);
|
||||
PalEntry light = shadeToLight(sector[i].floorshade);
|
||||
setgotpic(picnum);
|
||||
gotpic.Set(picnum);
|
||||
|
||||
for (auto sect : sectionsPerSector[i])
|
||||
{
|
||||
|
@ -646,7 +646,7 @@ void renderDrawMapView(int cposx, int cposy, int czoom, int cang)
|
|||
|
||||
int translation = TRANSLATION(Translation_Remap + curbasepal, spr->pal);
|
||||
int picnum = spr->picnum;
|
||||
setgotpic(picnum);
|
||||
gotpic.Set(picnum);
|
||||
const static unsigned indices[] = { 0, 1, 2, 0, 2, 3 };
|
||||
twod->AddPoly(tileGetTexture(picnum, true), vertices.Data(), vertices.Size(), indices, 6, translation, color, rs,
|
||||
windowxy1.x, windowxy1.y, windowxy2.x + 1, windowxy2.y + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue