Better draw distance options

- Use human-readable names instead of numbers (numbers are still viewable from "help drawdist")
- Remove unplayably short draw distances and add more options between 8192 and Infinite
This commit is contained in:
wolfs 2024-04-11 23:50:28 -05:00
parent f7a7180a3c
commit d9c101a550

View file

@ -334,27 +334,25 @@ consvar_t cv_soundvolume = Player("soundvolume", "80").min_max(0, 100);
consvar_t cv_discordstreamer = Player("discordstreamer", "Off").on_off(); consvar_t cv_discordstreamer = Player("discordstreamer", "Off").on_off();
#endif #endif
consvar_t cv_drawdist = Player("drawdist", "8192").values({ consvar_t cv_drawdist = Player("drawdist", "Normal").values({
//{256, "256"}, {3072, "Shortest"},
{512, "512"}, {4096, "Shorter"},
{768, "768"}, {6144, "Short"},
{1024, "1024"}, {8192, "Normal"},
{1536, "1536"}, {12288, "Far"},
{2048, "2048"}, {16384, "Farther"},
{3072, "3072"}, {24576, "Extreme"},
{4096, "4096"}, {32768, "Penultimate"},
{6144, "6144"},
{8192, "8192"},
{0, "Infinite"}, {0, "Infinite"},
}); });
consvar_t cv_drawdist_precip = Player("drawdist_precip", "1024").values({ consvar_t cv_drawdist_precip = Player("drawdist_precip", "Normal").values({
{256, "256"}, {256, "Shortest"},
{512, "512"}, {512, "Shorter"},
{768, "768"}, {768, "Short"},
{1024, "1024"}, {1024, "Normal"},
{1536, "1536"}, {1536, "Far"},
{2048, "2048"}, {2048, "Farthest"},
{0, "None"}, {0, "None"},
}); });