mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- SW: Change pSpawnSprite()
x/y coordinates from int to double to preserve precision for some calls.
This commit is contained in:
parent
7af5d26feb
commit
a29d7bd3cd
2 changed files with 2 additions and 2 deletions
|
@ -6704,7 +6704,7 @@ InsertPanelSprite(PLAYERp pp, PANEL_SPRITEp psp)
|
|||
|
||||
|
||||
PANEL_SPRITEp
|
||||
pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, int x, int y)
|
||||
pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, double x, double y)
|
||||
{
|
||||
unsigned i;
|
||||
PANEL_SPRITEp psp;
|
||||
|
|
|
@ -183,7 +183,7 @@ enum BorderTypes
|
|||
#define SHOTGUN_AUTO_NUM 0
|
||||
#define SHOTGUN_AUTO 2078
|
||||
|
||||
PANEL_SPRITEp pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, int x, int y);
|
||||
PANEL_SPRITEp pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, double x, double y);
|
||||
void pSetSuicide(PANEL_SPRITEp psp);
|
||||
SWBOOL pKillScreenSpiteIDs(PLAYERp pp, short id);
|
||||
void PreUpdatePanel(double smoothratio);
|
||||
|
|
Loading…
Reference in a new issue