mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Make fucking with the window optional
This commit is contained in:
parent
79fda7b814
commit
c5df256d9e
4 changed files with 5 additions and 1 deletions
|
|
@ -136,6 +136,7 @@ extern consvar_t cv_inverseslope;
|
||||||
extern consvar_t cv_slopeview;
|
extern consvar_t cv_slopeview;
|
||||||
extern consvar_t cv_quaketilt;
|
extern consvar_t cv_quaketilt;
|
||||||
extern consvar_t cv_actionmovie;
|
extern consvar_t cv_actionmovie;
|
||||||
|
extern consvar_t cv_windowquake;
|
||||||
|
|
||||||
extern fixed_t t_cam_dist[MAXSPLITSCREENPLAYERS], t_cam_height[MAXSPLITSCREENPLAYERS], t_cam_rotate[MAXSPLITSCREENPLAYERS];
|
extern fixed_t t_cam_dist[MAXSPLITSCREENPLAYERS], t_cam_height[MAXSPLITSCREENPLAYERS], t_cam_rotate[MAXSPLITSCREENPLAYERS];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -633,7 +633,8 @@ void P_Ticker(boolean run)
|
||||||
quake.x = M_RandomRange(-ir,ir);
|
quake.x = M_RandomRange(-ir,ir);
|
||||||
quake.y = M_RandomRange(-ir,ir);
|
quake.y = M_RandomRange(-ir,ir);
|
||||||
quake.z = M_RandomRange(-ir,ir);
|
quake.z = M_RandomRange(-ir,ir);
|
||||||
I_CursedWindowMovement(FixedInt(quake.x), FixedInt(quake.y));
|
if (cv_windowquake.value)
|
||||||
|
I_CursedWindowMovement(FixedInt(quake.x), FixedInt(quake.y));
|
||||||
ir >>= 2;
|
ir >>= 2;
|
||||||
ir = M_RandomRange(-ir,ir);
|
ir = M_RandomRange(-ir,ir);
|
||||||
if (ir < 0)
|
if (ir < 0)
|
||||||
|
|
|
||||||
|
|
@ -2736,6 +2736,7 @@ static CV_PossibleValue_t slopeview_cons_t[] =
|
||||||
consvar_t cv_slopeview = {"slopeview", "On", CV_SAVE, slopeview_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL};
|
consvar_t cv_slopeview = {"slopeview", "On", CV_SAVE, slopeview_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||||
consvar_t cv_quaketilt = {"quaketilt", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
|
consvar_t cv_quaketilt = {"quaketilt", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||||
consvar_t cv_actionmovie = {"actionmovie", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
|
consvar_t cv_actionmovie = {"actionmovie", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||||
|
consvar_t cv_windowquake = {"windowquake", "Off", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
|
||||||
|
|
||||||
fixed_t t_cam_dist[MAXSPLITSCREENPLAYERS] = {-42,-42,-42,-42};
|
fixed_t t_cam_dist[MAXSPLITSCREENPLAYERS] = {-42,-42,-42,-42};
|
||||||
fixed_t t_cam_height[MAXSPLITSCREENPLAYERS] = {-42,-42,-42,-42};
|
fixed_t t_cam_height[MAXSPLITSCREENPLAYERS] = {-42,-42,-42,-42};
|
||||||
|
|
|
||||||
|
|
@ -1711,6 +1711,7 @@ void R_RegisterEngineStuff(void)
|
||||||
CV_RegisterVar(&cv_slopeview);
|
CV_RegisterVar(&cv_slopeview);
|
||||||
CV_RegisterVar(&cv_quaketilt);
|
CV_RegisterVar(&cv_quaketilt);
|
||||||
CV_RegisterVar(&cv_actionmovie);
|
CV_RegisterVar(&cv_actionmovie);
|
||||||
|
CV_RegisterVar(&cv_windowquake);
|
||||||
|
|
||||||
CV_RegisterVar(&cv_showhud);
|
CV_RegisterVar(&cv_showhud);
|
||||||
CV_RegisterVar(&cv_translucenthud);
|
CV_RegisterVar(&cv_translucenthud);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue