mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
This commit overhauls the global.dm file, global_lists.dm file, and defines.dm file into a tree system based on -tg-. All defines have been split and distributed in code/__DEFINES/ Everything from global.dm and global_lists.dm has been split and distributed in code/_globalvars The _compile_options.dm file contains anything that absolutely, 100%, must be initialized before world.dm. Name definitions have been moved to code/_globalvars/lists/names.dm. Other things to note - All instances of something.z == 2/1/3/5 have been replaced with easily configurable defines, labeled ZLEVEL_. The map include file can override these by defining custom ones in it's file, as it is at the top of the tree.
13 lines
595 B
Plaintext
13 lines
595 B
Plaintext
#define DEBUG
|
|
|
|
#define IS_MODE_COMPILED(MODE) (ispath(text2path("/datum/game_mode/"+(MODE))))
|
|
|
|
#define BACKGROUND_ENABLED 0 // The default value for all uses of set background. Set background can cause gradual lag and is recommended you only turn this on if necessary.
|
|
|
|
//Don't set this very much higher then 1024 unless you like inviting people in to dos your server with message spam
|
|
#define MAX_MESSAGE_LEN 1024
|
|
#define MAX_PAPER_MESSAGE_LEN 3072
|
|
#define MAX_BOOK_MESSAGE_LEN 9216
|
|
#define MAX_NAME_LEN 26
|
|
|
|
var/global/list/processing_objects = list() //This has to be initialized BEFORE world |