mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-19 23:01:35 +00:00
* SQL Validation, the first of many * Initial test of the world loading * This was prefixed when it shouldnt have been :v * This also isnt a valid table * Escape time * Chmod * This **should** work * Oops * RUST gone bust * Please work * Why did I do this twice * I think I got it * Fixes AFK SS * AAAAAAAAAAAAAAAAAAAAAA * Fixes AI cam runtime * Cleanup * *screams* * Fare fixes * Removes un-needed stuff * I hope this works * chmoooood * SQL Version Unit Test * Failure test * Kinda ironic how I forgot this * Task failed successfully * Moves a global var around * Bump SQL version in travis * New test: SQL example DBconfig update * Lets test an invalid version * TASK FAILED SUCCESSFULLY * Programmatic maplist generation * Removes a duplicate check * Lets try this * What about this * hnnng * Lets just update BYOND
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
#define DEBUG
|
|
//#define TESTING
|
|
|
|
// Uncomment the following line to compile unit tests.
|
|
// #define UNIT_TESTS
|
|
|
|
|
|
#ifdef TRAVISBUILDING
|
|
#define UNIT_TESTS
|
|
#endif
|
|
|
|
#ifdef TESTING
|
|
//#define GC_FAILURE_HARD_LOOKUP //makes paths that fail to GC call find_references before del'ing.
|
|
//implies FIND_REF_NO_CHECK_TICK
|
|
|
|
//#define FIND_REF_NO_CHECK_TICK //Sets world.loop_checks to false and prevents find references from sleeping
|
|
|
|
#endif
|
|
|
|
#define IS_MODE_COMPILED(MODE) (ispath(text2path("/datum/game_mode/"+(MODE))))
|
|
|
|
//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_PAPER_FIELDS 50
|
|
#define MAX_BOOK_MESSAGE_LEN 9216
|
|
#define MAX_NAME_LEN 50 //diona names can get loooooooong
|
|
|
|
//Update this whenever you need to take advantage of more recent byond features
|
|
#define MIN_COMPILER_VERSION 513
|
|
#define MIN_COMPILER_BUILD 1514
|
|
#if DM_VERSION < MIN_COMPILER_VERSION || DM_BUILD < MIN_COMPILER_BUILD
|
|
//Don't forget to update this part
|
|
#error Your version of BYOND is too out-of-date to compile this project. Go to https://secure.byond.com/download and update.
|
|
#error You need version 513.1514 or higher
|
|
#endif
|
|
|
|
// Macros that must exist before world.dm
|
|
// #define to_chat to_chat_filename=__FILE__;to_chat_line=__LINE__;to_chat_src=src;__to_chat
|