mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- pass smoothratio
through to displayweapon()
.
This commit is contained in:
parent
0c12436092
commit
4499e05b06
5 changed files with 6 additions and 6 deletions
|
@ -105,8 +105,8 @@ void checkweapons_d(struct player_struct* p);
|
|||
void checkweapons_r(struct player_struct* p);
|
||||
void processinput_d(int snum);
|
||||
void processinput_r(int snum);
|
||||
void displayweapon_d(int snum);
|
||||
void displayweapon_r(int snum);
|
||||
void displayweapon_d(int snum, double smoothratio);
|
||||
void displayweapon_r(int snum, double smoothratio);
|
||||
void displaymasks_d(int snum);
|
||||
void displaymasks_r(int snum);
|
||||
void think_d();
|
||||
|
|
|
@ -109,7 +109,7 @@ struct Dispatcher
|
|||
int (*doincrements)(struct player_struct* p);
|
||||
void (*checkweapons)(struct player_struct* p);
|
||||
void (*processinput)(int snum);
|
||||
void (*displayweapon)(int snum);
|
||||
void (*displayweapon)(int snum, double smoothratio);
|
||||
void (*displaymasks)(int snum);
|
||||
|
||||
void (*animatesprites)(int x, int y, int a, int smoothratio);
|
||||
|
|
|
@ -286,7 +286,7 @@ void displayrest(double smoothratio)
|
|||
cameratext(pp->newowner);
|
||||
else
|
||||
{
|
||||
fi.displayweapon(screenpeek);
|
||||
fi.displayweapon(screenpeek, smoothratio);
|
||||
if (pp->over_shoulder_on == 0)
|
||||
fi.displaymasks(screenpeek);
|
||||
}
|
||||
|
|
|
@ -269,7 +269,7 @@ int animateaccess(int gs,int snum)
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
void displayweapon_d(int snum)
|
||||
void displayweapon_d(int snum, double smoothratio)
|
||||
{
|
||||
int gun_pos, looking_arc, cw;
|
||||
int weapon_xoffset, i, j;
|
||||
|
|
|
@ -109,7 +109,7 @@ void ShowBoat(double x, double y, int tilenum, int shade, int orientation, int p
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
void displayweapon_r(int snum)
|
||||
void displayweapon_r(int snum, double smoothratio)
|
||||
{
|
||||
int gun_pos, looking_arc, cw;
|
||||
int weapon_xoffset, i, j;
|
||||
|
|
Loading…
Reference in a new issue