mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-04 07:52:22 +00:00
Give names to fpscap values
This commit is contained in:
parent
e5fce1138e
commit
93dd4dc119
1 changed files with 21 additions and 5 deletions
26
src/r_fps.c
26
src/r_fps.c
|
|
@ -25,13 +25,29 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CV_PossibleValue_t fpscap_cons_t[] = {
|
static CV_PossibleValue_t fpscap_cons_t[] = {
|
||||||
{-1, "MIN"},
|
{-1, "Match refresh rate"},
|
||||||
{1000, "MAX"},
|
{0, "Unlimited"},
|
||||||
//{0, "Uncapped"},
|
#ifdef DEVELOP
|
||||||
//{-1, "Refresh"},
|
// Lower values are actually pretty useful for debugging interp problems!
|
||||||
|
{1, "One Singular Frame"},
|
||||||
|
{10, "10"},
|
||||||
|
{20, "20"},
|
||||||
|
{25, "25"},
|
||||||
|
{30, "30"},
|
||||||
|
#endif
|
||||||
|
{35, "35"},
|
||||||
|
{60, "60"},
|
||||||
|
{70, "70"},
|
||||||
|
{75, "75"},
|
||||||
|
{90, "90"},
|
||||||
|
{100, "100"},
|
||||||
|
{120, "120"},
|
||||||
|
{144, "144"},
|
||||||
|
{200, "200"},
|
||||||
|
{240, "240"},
|
||||||
{0, NULL}
|
{0, NULL}
|
||||||
};
|
};
|
||||||
consvar_t cv_fpscap = CVAR_INIT ("fpscap", "-1", CV_SAVE, fpscap_cons_t, NULL);
|
consvar_t cv_fpscap = CVAR_INIT ("fpscap", "Match refresh rate", CV_SAVE, fpscap_cons_t, NULL);
|
||||||
|
|
||||||
UINT32 R_GetFramerateCap(void)
|
UINT32 R_GetFramerateCap(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue