mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
mapster32: fix when rotating sprite; fancy gradient in sprite search
git-svn-id: https://svn.eduke32.com/eduke32@1391 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8474211c95
commit
d4641adc03
2 changed files with 16 additions and 5 deletions
|
@ -1997,8 +1997,8 @@ void overheadeditor(void)
|
|||
mouseb &= ~32;
|
||||
bstatus &= ~32;
|
||||
|
||||
clearmidstatbar16();
|
||||
showspritedata((int16_t)pointhighlight-16384);
|
||||
// clearmidstatbar16();
|
||||
// showspritedata((int16_t)pointhighlight-16384);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2096,8 +2096,8 @@ void overheadeditor(void)
|
|||
|
||||
mouseb &= ~16;
|
||||
bstatus &= ~16;
|
||||
clearmidstatbar16();
|
||||
showspritedata((int16_t)pointhighlight-16384);
|
||||
// clearmidstatbar16();
|
||||
// showspritedata((int16_t)pointhighlight-16384);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11439,7 +11439,7 @@ static void GenSearchSprite()
|
|||
char disptext[80];
|
||||
char edittext[80];
|
||||
static int32_t col=0, row=0;
|
||||
int32_t i, j, k;
|
||||
int32_t i, j, k, color;
|
||||
int32_t rowmax[3]={6,5,6}, dispwidth[3] = {24,24,28};
|
||||
int32_t xpos[3] = {8,200,400}, ypos = ydim-STATUS2DSIZ+48;
|
||||
|
||||
|
@ -11480,6 +11480,17 @@ static void GenSearchSprite()
|
|||
|
||||
clearmidstatbar16();
|
||||
|
||||
color = whitecol-16;
|
||||
begindrawing();
|
||||
for (i=ydim-STATUS2DSIZ+16; i<ydim; i++)
|
||||
{
|
||||
clearbufbyte((char *)(frameplace + (i*bytesperline)), bytesperline, ((int32_t)color<<24)|((int32_t)color<<16)|((int32_t)color<<8)|color);
|
||||
color--;
|
||||
if (color <= 0) break;
|
||||
}
|
||||
clearbufbyte((char *)(frameplace + (i*bytesperline)), (ydim-i)*(bytesperline), 0);
|
||||
enddrawing();
|
||||
|
||||
printext16(xpos[0], ypos-2*8, editorcolors[10], editorcolors[0], "Sprite search", 0);
|
||||
|
||||
for (i=0; i<3; i++)
|
||||
|
|
Loading…
Reference in a new issue