mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- Duke: Restore RPG harsh recoil behind a CVAR.
# Conflicts: # source/core/gamecvars.cpp # source/core/gamecvars.h
This commit is contained in:
parent
839a7bcbe4
commit
88a49b0d22
3 changed files with 3 additions and 1 deletions
|
@ -91,6 +91,7 @@ CVARD(Bool, cl_slopetilting, false, CVAR_ARCHIVE, "enable/disable slope tilting"
|
||||||
CVARD(Int, cl_showweapon, 1, CVAR_ARCHIVE, "enable/disable show weapons") // only implemented in Blood
|
CVARD(Int, cl_showweapon, 1, CVAR_ARCHIVE, "enable/disable show weapons") // only implemented in Blood
|
||||||
CVARD(Bool, cl_sointerpolation, true, CVAR_ARCHIVE, "enable/disable sector object interpolation") // only implemented in SW
|
CVARD(Bool, cl_sointerpolation, true, CVAR_ARCHIVE, "enable/disable sector object interpolation") // only implemented in SW
|
||||||
CVARD(Bool, cl_syncinput, false, CVAR_ARCHIVE, "enable/disable synchronized input with game's ticrate") // only implemented in SW
|
CVARD(Bool, cl_syncinput, false, CVAR_ARCHIVE, "enable/disable synchronized input with game's ticrate") // only implemented in SW
|
||||||
|
CVARD(Bool, cl_dukefixrpgrecoil, true, CVAR_ARCHIVE, "soften recoil of Duke 3D's RPG")
|
||||||
CUSTOM_CVARD(Int, cl_crosshairscale, 50, CVAR_ARCHIVE, "changes the size of the crosshair")
|
CUSTOM_CVARD(Int, cl_crosshairscale, 50, CVAR_ARCHIVE, "changes the size of the crosshair")
|
||||||
{
|
{
|
||||||
if (self < 1) self = 1;
|
if (self < 1) self = 1;
|
||||||
|
|
|
@ -25,6 +25,7 @@ EXTERN_CVAR(Int, cl_weaponswitch)
|
||||||
EXTERN_CVAR(Int, cl_crosshairscale)
|
EXTERN_CVAR(Int, cl_crosshairscale)
|
||||||
EXTERN_CVAR(Bool, cl_sointerpolation)
|
EXTERN_CVAR(Bool, cl_sointerpolation)
|
||||||
EXTERN_CVAR(Bool, cl_syncinput)
|
EXTERN_CVAR(Bool, cl_syncinput)
|
||||||
|
EXTERN_CVAR(Bool, cl_dukefixrpgrecoil)
|
||||||
|
|
||||||
EXTERN_CVAR(Bool, demorec_seeds_cvar)
|
EXTERN_CVAR(Bool, demorec_seeds_cvar)
|
||||||
EXTERN_CVAR(Bool, demoplay_diffs)
|
EXTERN_CVAR(Bool, demoplay_diffs)
|
||||||
|
|
|
@ -2502,7 +2502,7 @@ static void operateweapon(int snum, ESyncBits sb_snum, int psect)
|
||||||
fi.shoot(pi, RPG);
|
fi.shoot(pi, RPG);
|
||||||
checkavailweapon(p);
|
checkavailweapon(p);
|
||||||
}
|
}
|
||||||
else if (p->kickback_pic == 13)
|
else if (p->kickback_pic == (cl_dukefixrpgrecoil ? 13 : 20))
|
||||||
p->okickback_pic = p->kickback_pic = 0;
|
p->okickback_pic = p->kickback_pic = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue