From 5dc7bda6059c99700623e063be2e779a3384877e Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 5 Mar 2024 08:28:51 +0100 Subject: [PATCH] pain 2 --- src/d_netcmd.c | 32 -------------------------------- src/d_netcmd.h | 13 ------------- src/p_mobj.h | 2 -- 3 files changed, 47 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index c157fd654..92d6a7bf2 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -597,38 +597,6 @@ boolean timedemo_quit; INT32 adminplayers[MAXPLAYERS]; -consvar_t cv_simulate = { "simulate", "Yes", 0, CV_YesNo, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t simulateTics_cons_t[] = { {0, "MIN"}, {MAXSIMULATIONS - 1, "MAX"}, {0, NULL} }; -consvar_t cv_simulatetics = { "simtics", "MAX", 0, simulateTics_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t simulateculldistance_cons_t[] = { {0, "MIN"}, {10000, "MAX"}, {0, NULL} }; -consvar_t cv_simulateculldistance = { "simcull", "MIN", 0, simulateculldistance_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t netsteadyplayers_cons_t[] = { {0, "MIN"}, {MAXSIMULATIONS - 1, "MAX"}, {0, NULL} }; -consvar_t cv_netsteadyplayers = { "simsteadyplayers", "0", 0, netsteadyplayers_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t nettrails_cons_t[] = { {0, "MIN"}, {5, "MAX"}, {0, NULL} }; -consvar_t cv_nettrails = { "simtrails", "5", 0, nettrails_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -consvar_t cv_netslingdelay = { "simslingdelay", "Off", 0, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t netdelay_cons_t[] = { {0, "MIN"}, {250, "MAX"}, {0, NULL} }; -consvar_t cv_netdelay = { "netdelay", "0", 0, netdelay_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t netjitter_cons_t[] = { {0, "MIN"}, {5, "MAX"}, {0, NULL} }; -consvar_t cv_netjitter = { "netjitter", "0", 0, netdelay_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -consvar_t cv_netsmoothing = { "netsmoothing", "Off", 0, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL }; - -consvar_t cv_netspikes = { "netspikes", "Off", 0, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t debugsimulaterewind_cons_t[] = { {0, "MIN"}, {BACKUPTICS - 1, "MAX"}, {0, NULL} }; -consvar_t cv_debugsimulaterewind = { "debugsimulaterewind", "0", 0, debugsimulaterewind_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - -static CV_PossibleValue_t timefudge_cons_t[] = { {0, "MIN"}, {100, "MAX"}, {0, NULL} }; -consvar_t cv_timefudge = { "timefudge", "0", 0, timefudge_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL }; - char timedemo_name[256]; boolean timedemo_csv; char timedemo_csv_id[256]; diff --git a/src/d_netcmd.h b/src/d_netcmd.h index 4390d84f7..18cfa9b07 100644 --- a/src/d_netcmd.h +++ b/src/d_netcmd.h @@ -184,19 +184,6 @@ extern consvar_t cv_luaimmersion; extern consvar_t cv_fakelocalskin; extern consvar_t cv_showlocalskinmenus; -extern consvar_t cv_simulate; -extern consvar_t cv_simulatetics; -extern consvar_t cv_simulateculldistance; -extern consvar_t cv_netdelay; -extern consvar_t cv_netjitter; -extern consvar_t cv_netsmoothing; -extern consvar_t cv_netspikes; -extern consvar_t cv_netsteadyplayers; -extern consvar_t cv_debugsimulaterewind; -extern consvar_t cv_timefudge; -extern consvar_t cv_nettrails; -extern consvar_t cv_netslingdelay; - extern consvar_t cv_skipmapcheck; extern consvar_t cv_sleep; diff --git a/src/p_mobj.h b/src/p_mobj.h index 3aa77ef84..f0c5c6528 100644 --- a/src/p_mobj.h +++ b/src/p_mobj.h @@ -402,8 +402,6 @@ typedef struct mobj_s boolean mirrored; // The object's rotations will be mirrored left to right, e.g., see frame AL from the right and AR from the left boolean rollmodel; // OpenGL: Should this model rotate? - boolean isculled; // Whether the mobj is being culled during simulations - tic_t slamsoundtimer; // saltyhop! hardcode edition