FIND_REF_NO_CHECK_TICK loopchecks disable (#17515)

* Atomization

* sdfas

---------

Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
Fluffy
2023-10-05 12:13:40 +02:00
committed by GitHub
parent a8b970400b
commit 76f175e9c1
4 changed files with 52 additions and 1 deletions

View File

@@ -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"

View File

@@ -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.

View File

@@ -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()

View File

@@ -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."