Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SSearlyruntimes #4718

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion code/__DEFINES/subsystems.dm
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
#define SS_INIT_MINIMAP -34
#define SS_INIT_STATPANELS -98
#define SS_INIT_CHAT -100 //Should be last to ensure chat remains smooth during init.
#define SS_INIT_EARLYRUNTIMES -500 // Post-init notifier

// Subsystem fire priority, from lowest to highest priority
// If the subsystem isn't listed here it's either DEFAULT or PROCESS (if it's a processing subsystem child)
Expand Down
14 changes: 0 additions & 14 deletions code/controllers/subsystem/init/earlyruntimes.dm

This file was deleted.

4 changes: 0 additions & 4 deletions code/game/runtimes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
GLOBAL_REAL(stui_init_runtimes, /list) //! Shorthand of Static Initializer errors only, for use in STUI
GLOBAL_REAL(full_init_runtimes, /list) //! Full text of all Static Initializer + World Init errors, for log backfilling
GLOBAL_REAL_VAR(runtime_logging_ready) //! Truthy when init is done and we don't need these shenanigans anymore
GLOBAL_REAL_VAR(init_runtimes_count) //! Count of runtimes that occured before logging is ready, for in-game reporting

// Deduplication of errors via hash to reduce spamming
GLOBAL_REAL(runtime_hashes, /list)
Expand All @@ -24,16 +23,13 @@ GLOBAL_REAL_VAR(total_runtimes)
if(!total_runtimes)
total_runtimes = 0
total_runtimes += 1
if(!init_runtimes_count)
init_runtimes_count = 0
if(!stui_init_runtimes)
stui_init_runtimes = list()
if(!full_init_runtimes)
full_init_runtimes = list()

// If this occured during early init, we store the full error to write it to world.log when it's available
if(!runtime_logging_ready)
init_runtimes_count += 1
full_init_runtimes += E.desc

// Runtime was already reported once, dedup it for STUI
Expand Down
1 change: 0 additions & 1 deletion colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ s// DM Environment file for colonialmarines.dme.
#include "code\controllers\subsystem\x_evolution.dm"
#include "code\controllers\subsystem\xeno.dm"
#include "code\controllers\subsystem\xenocon.dm"
#include "code\controllers\subsystem\init\earlyruntimes.dm"
#include "code\controllers\subsystem\init\landmarks.dm"
#include "code\controllers\subsystem\init\law.dm"
#include "code\controllers\subsystem\init\lobby_art.dm"
Expand Down
Loading