mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- For RR, pass vehicle TiltStatus through to backend as the double that it is.
This commit is contained in:
parent
8526bd6a17
commit
80291f9cb7
3 changed files with 4 additions and 4 deletions
|
@ -93,13 +93,13 @@ void displaymasks_r(int snum)
|
|||
|
||||
void ShowMotorcycle(double x, double y, int tilenum, int shade, int orientation, int p, double a)
|
||||
{
|
||||
hud_drawsprite(x, y, 34816, int(a), tilenum, shade, p, 2 | orientation);
|
||||
hud_drawsprite(x, y, 34816, a, tilenum, shade, p, 2 | orientation);
|
||||
}
|
||||
|
||||
|
||||
void ShowBoat(double x, double y, int tilenum, int shade, int orientation, int p, double a)
|
||||
{
|
||||
hud_drawsprite(x, y, 66048, int(a), tilenum, shade, p, 2 | orientation);
|
||||
hud_drawsprite(x, y, 66048, a, tilenum, shade, p, 2 | orientation);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -533,7 +533,7 @@ void precacheMarkedTiles()
|
|||
}
|
||||
}
|
||||
|
||||
void hud_drawsprite(double sx, double sy, int z, int a, int picnum, int dashade, int dapalnum, int dastat)
|
||||
void hud_drawsprite(double sx, double sy, int z, double a, int picnum, int dashade, int dapalnum, int dastat)
|
||||
{
|
||||
double dz = z / 65536.;
|
||||
int light = Scale(numshades - clamp(dashade, 0, numshades - 1), 255, numshades);
|
||||
|
|
|
@ -363,4 +363,4 @@ void renderBeginScene();
|
|||
void renderFinishScene();
|
||||
void DrawRateStuff();
|
||||
|
||||
void hud_drawsprite(double sx, double sy, int z, int a, int picnum, int dashade, int dapalnum, int dastat);
|
||||
void hud_drawsprite(double sx, double sy, int z, double a, int picnum, int dashade, int dapalnum, int dastat);
|
||||
|
|
Loading…
Reference in a new issue