mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 07:12:55 +00:00
This commit ports the StonedMC from /tg/station, intended to replace the Process Scheduler from goon. Currently, they exist simultaneously, as it's very difficult to port our 22 processes to the SMC all at once. Instead, we can make them work together until everything is converted over at a later point, and then take the old PS out back and put a couple of rounds into it's deformed skull. Primary benefits of this new process controller include: Other people that can actually maintain it, unlike the PS, pre-world-init initialization for subsystems, ease of ports from /tg/station13, and potential performance improvement (to be seen).
19 lines
429 B
Plaintext
19 lines
429 B
Plaintext
/datum/controller
|
|
var/name
|
|
// The object used for the clickable stat() button.
|
|
var/obj/effect/statclick/statclick
|
|
|
|
/datum/controller/proc/Initialize()
|
|
|
|
//cleanup actions
|
|
/datum/controller/proc/Shutdown()
|
|
|
|
//when we enter dmm_suite.load_map
|
|
/datum/controller/proc/StartLoadingMap()
|
|
|
|
//when we exit dmm_suite.load_map
|
|
/datum/controller/proc/StopLoadingMap()
|
|
|
|
/datum/controller/proc/Recover()
|
|
|
|
/datum/controller/proc/stat_entry() |