mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Bumps max client fps from 120 (125) to 1000 (#29467)
* 300 > 120 * ooooh i don't need sql change * same but descending + fix issue about DB * well, i should update bd * default is 100, keep only divisors of 1000 * fuck you byon d!!!! * cleanup
This commit is contained in:
@@ -438,7 +438,7 @@
|
||||
#define INVESTIGATE_DEATHS "deaths"
|
||||
|
||||
// The SQL version required by this version of the code
|
||||
#define SQL_VERSION 68
|
||||
#define SQL_VERSION 69
|
||||
|
||||
// Vending machine stuff
|
||||
#define CAT_NORMAL (1<<0)
|
||||
|
||||
@@ -183,3 +183,17 @@
|
||||
#define COLOURBLIND_MODE_DEUTER "Red-green (green weak, deuteranopia)"
|
||||
#define COLOURBLIND_MODE_PROT "Red-green (red weak, protanopia)"
|
||||
#define COLOURBLIND_MODE_TRIT "Blue-yellow (tritanopia)"
|
||||
|
||||
/// Best FPS options for clients. A regular list that has only divisors of 1000
|
||||
GLOBAL_LIST_INIT(client_fps_options, list_fps_options())
|
||||
|
||||
/proc/list_fps_options()
|
||||
var/list/options = list()
|
||||
|
||||
for(var/option in 1 to 1000 / world.fps)
|
||||
if(1000 % option) // Lummox said it works better with divisors of 1000
|
||||
continue
|
||||
|
||||
options += 1000 / option
|
||||
|
||||
return options
|
||||
|
||||
Reference in New Issue
Block a user