mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
FIND_REF_NO_CHECK_TICK loopchecks disable (#17515)
* Atomization * sdfas --------- Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
// END_PREFERENCES
|
||||
// BEGIN_INCLUDE
|
||||
#include "code\__linters.dm"
|
||||
#include "code\_compile_options.dm"
|
||||
#include "code\global.dm"
|
||||
#include "code\hub.dm"
|
||||
#include "code\names.dm"
|
||||
@@ -20,7 +21,6 @@
|
||||
#include "code\__defines\_click.dm"
|
||||
#include "code\__defines\_common.dm"
|
||||
#include "code\__defines\_compile_helpers.dm"
|
||||
#include "code\__defines\_compile_options.dm"
|
||||
#include "code\__defines\_layers.dm"
|
||||
#include "code\__defines\_macros.dm"
|
||||
#include "code\__defines\_unit_tests.dm"
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/*
|
||||
This file must be one of the first files included right after the linters to lint it
|
||||
This is because the compile options must be defined in every other file, including /world that are included
|
||||
*/
|
||||
|
||||
|
||||
#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.
|
||||
// 1 will enable set background. 0 will disable set background.
|
||||
|
||||
@@ -57,6 +57,9 @@ var/global/datum/global_init/init = new ()
|
||||
maxx = WORLD_MIN_SIZE // So that we don't get map-window-popin at boot. DMMS will expand this.
|
||||
maxy = WORLD_MIN_SIZE
|
||||
fps = 30
|
||||
#ifdef FIND_REF_NO_CHECK_TICK
|
||||
loop_checks = FALSE
|
||||
#endif
|
||||
|
||||
#define RECOMMENDED_VERSION 510
|
||||
/world/New()
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
################################
|
||||
# Example Changelog File
|
||||
#
|
||||
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||
#
|
||||
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||
# When it is, any changes listed below will disappear.
|
||||
#
|
||||
# Valid Prefixes:
|
||||
# bugfix
|
||||
# wip (For works in progress)
|
||||
# tweak
|
||||
# soundadd
|
||||
# sounddel
|
||||
# rscadd (general adding of nice things)
|
||||
# rscdel (general deleting of nice things)
|
||||
# imageadd
|
||||
# imagedel
|
||||
# maptweak
|
||||
# spellcheck (typo fixes)
|
||||
# experiment
|
||||
# balance
|
||||
# admin
|
||||
# backend
|
||||
# security
|
||||
# refactor
|
||||
#################################
|
||||
|
||||
# Your name.
|
||||
author: FluffyGhost
|
||||
|
||||
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||
delete-after: True
|
||||
|
||||
# Any changes you've made. See valid prefix list above.
|
||||
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||
# SCREW THIS UP AND IT WON'T WORK.
|
||||
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||
changes:
|
||||
- backend: "Added the no loopcheck setting under /world when the compile option FIND_REF_NO_CHECK_TICK is specified."
|
||||
- bugfix: "Moved the compile options out and included them right below the linters in the DME to ensure they are globally defined."
|
||||
Reference in New Issue
Block a user