This commit is contained in:
Alug committed 2025-04-23 09:04:54 +02:00
1 parent 5aca7e12c7
commit c4aba91e79
3 files changed
+7 -1

No files matched your search

+2
View File
@@ -187,6 +187,8 @@ extern consvar_t cv_sloperolldist;
extern consvar_t cv_sparkroll;
extern consvar_t cv_spinoutroll;
extern consvar_t cv_squishdance;
extern consvar_t cv_playerblendeffects;
extern consvar_t cv_cechotoggle;
+4
View File
@@ -149,6 +149,8 @@ static CV_PossibleValue_t saltyheight_t[] = {{FRACUNIT/4, "MIN"}, {2*FRACUNIT, "
consvar_t cv_saltyheight = {"hardcodehopheight", "1", CV_FLOAT|CV_SAVE|CV_CALL|CV_NOINIT, saltyheight_t, saltyhop_onchange, 0, NULL, NULL, 0, 0, NULL};
consvar_t cv_saltyroll = {"hardcodehoproll", "Off", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
consvar_t cv_squishdance = {"squishdance", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
static void saltyhop_onchange(void)
{
// reset everything when toggling saltyhop
@@ -1001,6 +1003,8 @@ void K_RegisterClientKartStuff(void)
CV_RegisterVar(&cv_slamsound);
CV_RegisterVar(&cv_squishdance);
CV_RegisterVar(&cv_lessflicker);
CV_RegisterVar(&cv_mouseturn);
+1 -1
View File
@@ -5007,7 +5007,7 @@ void P_PlayerThink(player_t *player)
if (player->losstime && !player->powers[pw_flashing])
player->losstime--;
if (cmd->buttons & BT_CUSTOM3)
if (cv_squishdance.value && (cmd->buttons & BT_CUSTOM3))
{
player->dancetime++;