This commit is contained in:
Cyberboss
2017-03-22 14:52:21 -04:00
parent 6a67a84c33
commit fb596bcdb3
47 changed files with 48 additions and 48 deletions

View File

@@ -68,14 +68,14 @@
//prevents distinguishing identical timers with the wait variable
#define TIMER_NO_HASH_WAIT 0x10
#define SUBSYSTEM(X) var/datum/controller/subsystem/##X/SS##X;\
#define SUBSYSTEM_DEF(X) var/datum/controller/subsystem/##X/SS##X;\
/datum/controller/subsystem/##X/New(){\
NEW_SS_GLOBAL(SS##X);\
..();\
}\
/datum/controller/subsystem/##X
#define PROCESSING_SUBSYSTEM(X) var/datum/controller/subsystem/processing/##X/SS##X;\
#define PROCESSING_SUBSYSTEM_DEF(X) var/datum/controller/subsystem/processing/##X/SS##X;\
/datum/controller/subsystem/processing/##X/New(){\
NEW_SS_GLOBAL(SS##X);\
..();\

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(acid)
SUBSYSTEM_DEF(acid)
name = "Acid"
priority = 40
flags = SS_NO_INIT|SS_BACKGROUND

View File

@@ -6,7 +6,7 @@
#define SSAIR_HOTSPOTS 6
#define SSAIR_SUPERCONDUCTIVITY 7
SUBSYSTEM(air)
SUBSYSTEM_DEF(air)
name = "Air"
init_order = -1
priority = 20

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(assets)
SUBSYSTEM_DEF(assets)
name = "Assets"
init_order = -3
flags = SS_NO_FIRE

View File

@@ -2,7 +2,7 @@
#define INITIALIZATION_INNEW_MAPLOAD 1 //New should call Initialize(TRUE)
#define INITIALIZATION_INNEW_REGULAR 2 //New should call Initialize(FALSE)
SUBSYSTEM(atoms)
SUBSYSTEM_DEF(atoms)
name = "Atoms"
init_order = 11
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(augury)
SUBSYSTEM_DEF(augury)
name = "Augury"
flags = SS_NO_INIT

View File

@@ -1,7 +1,7 @@
#define COMMUNICATION_COOLDOWN 600
#define COMMUNICATION_COOLDOWN_AI 600
SUBSYSTEM(communications)
SUBSYSTEM_DEF(communications)
name = "Communications"
flags = SS_NO_INIT | SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(disease)
SUBSYSTEM_DEF(disease)
name = "Disease"
flags = SS_KEEP_TIMING|SS_NO_INIT

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(events)
SUBSYSTEM_DEF(events)
name = "Events"
init_order = 6

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(fire_burning)
SUBSYSTEM_DEF(fire_burning)
name = "Fire Burning"
priority = 40
flags = SS_NO_INIT|SS_BACKGROUND

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(garbage)
SUBSYSTEM_DEF(garbage)
name = "Garbage"
priority = 15
wait = 5

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(icon_smooth)
SUBSYSTEM_DEF(icon_smooth)
name = "Icon Smoothing"
init_order = -5
wait = 1

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(inbounds)
SUBSYSTEM_DEF(inbounds)
name = "Inbounds"
priority = 40
flags = SS_NO_INIT

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(ipintel)
SUBSYSTEM_DEF(ipintel)
name = "XKeyScore"
init_order = -10
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(job)
SUBSYSTEM_DEF(job)
name = "Jobs"
init_order = 14
flags = SS_NO_FIRE

View File

@@ -2,7 +2,7 @@ var/list/lighting_update_lights = list() // List of lighting sources queued
var/list/lighting_update_corners = list() // List of lighting corners queued for update.
var/list/lighting_update_objects = list() // List of lighting objects queued for update.
SUBSYSTEM(lighting)
SUBSYSTEM_DEF(lighting)
name = "Lighting"
wait = 2
init_order = -20

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(machines)
SUBSYSTEM_DEF(machines)
name = "Machines"
init_order = 9
flags = SS_KEEP_TIMING

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(mapping)
SUBSYSTEM_DEF(mapping)
name = "Mapping"
init_order = 12
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(minimap)
SUBSYSTEM_DEF(minimap)
name = "Minimap"
init_order = -2
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(mobs)
SUBSYSTEM_DEF(mobs)
name = "Mobs"
init_order = 4
priority = 100

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(npcpool)
SUBSYSTEM_DEF(npcpool)
name = "NPC Pool"
init_order = 17
flags = SS_POST_FIRE_TIMING|SS_NO_INIT|SS_NO_TICK_CHECK

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(orbit)
SUBSYSTEM_DEF(orbit)
name = "Orbits"
priority = 35
wait = 2

View File

@@ -1,5 +1,5 @@
var/list/obj/item/device/paicard/pai_card_list = list()
SUBSYSTEM(pai)
SUBSYSTEM_DEF(pai)
name = "pAI"
flags = SS_NO_INIT|SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(parallax)
SUBSYSTEM_DEF(parallax)
name = "Parallax"
wait = 2
flags = SS_POST_FIRE_TIMING | SS_FIRE_IN_LOBBY | SS_BACKGROUND | SS_NO_INIT

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(persistence)
SUBSYSTEM_DEF(persistence)
name = "Persistence"
init_order = -100
flags = SS_NO_FIRE

View File

@@ -1,6 +1,6 @@
#define PING_BUFFER_TIME 25
SUBSYSTEM(ping)
SUBSYSTEM_DEF(ping)
name = "Ping"
wait = 6
flags = SS_NO_INIT|SS_POST_FIRE_TIMING|SS_FIRE_IN_LOBBY

View File

@@ -1,6 +1,6 @@
//Fires five times every second.
PROCESSING_SUBSYSTEM(fastprocess)
PROCESSING_SUBSYSTEM_DEF(fastprocess)
name = "Fast Processing"
wait = 2
stat_tag = "FP"

View File

@@ -1,5 +1,5 @@
PROCESSING_SUBSYSTEM(flightpacks)
PROCESSING_SUBSYSTEM_DEF(flightpacks)
name = "Flightpack Movement"
priority = 30
wait = 2

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(obj)
SUBSYSTEM_DEF(obj)
name = "Objects"
priority = 40
flags = SS_NO_INIT

View File

@@ -1,4 +1,4 @@
PROCESSING_SUBSYSTEM(overlays)
PROCESSING_SUBSYSTEM_DEF(overlays)
name = "Overlay"
flags = SS_TICKER|SS_FIRE_IN_LOBBY
wait = 1

View File

@@ -1,6 +1,6 @@
//Used to process objects. Fires once every second.
SUBSYSTEM(processing)
SUBSYSTEM_DEF(processing)
name = "Processing"
priority = 25
flags = SS_BACKGROUND|SS_POST_FIRE_TIMING|SS_NO_INIT

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(radio)
SUBSYSTEM_DEF(radio)
name = "Radio"
init_order = 18
flags = SS_NO_FIRE|SS_NO_INIT

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(religion)
SUBSYSTEM_DEF(religion)
name = "Religion"
init_order = 19
flags = SS_NO_FIRE|SS_NO_INIT

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(server_maint)
SUBSYSTEM_DEF(server_maint)
name = "Server Tasks"
wait = 6000
flags = SS_NO_TICK_CHECK

View File

@@ -1,6 +1,6 @@
#define HIGHLIGHT_DYNAMIC_TRANSIT 1
SUBSYSTEM(shuttle)
SUBSYSTEM_DEF(shuttle)
name = "Shuttle"
wait = 10
init_order = 3

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(spacedrift)
SUBSYSTEM_DEF(spacedrift)
name = "Space Drift"
priority = 30
wait = 5

View File

@@ -2,7 +2,7 @@
// because this is about placement of mice mobs, and nothing to do with
// mice - the computer peripheral
SUBSYSTEM(squeak)
SUBSYSTEM_DEF(squeak)
name = "Squeak"
priority = 40
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(stickyban)
SUBSYSTEM_DEF(stickyban)
name = "Sticky Ban"
init_order = -10
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(sun)
SUBSYSTEM_DEF(sun)
name = "Sun"
wait = 600
init_order = 2

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(tgui)
SUBSYSTEM_DEF(tgui)
name = "tgui"
wait = 9
init_order = 16

View File

@@ -1,7 +1,7 @@
#define MAX_THROWING_DIST 512 // 2 z-levels on default width
#define MAX_TICKS_TO_MAKE_UP 3 //how many missed ticks will we attempt to make up for this run.
SUBSYSTEM(throwing)
SUBSYSTEM_DEF(throwing)
name = "Throwing"
priority = 25
wait = 1

View File

@@ -2,7 +2,7 @@
var/round_start_time = 0
SUBSYSTEM(ticker)
SUBSYSTEM_DEF(ticker)
name = "Ticker"
init_order = 13

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(time_track)
SUBSYSTEM_DEF(time_track)
name = "Time Tracking"
wait = 600
flags = SS_NO_INIT|SS_FIRE_IN_LOBBY

View File

@@ -1,7 +1,7 @@
#define BUCKET_LEN (world.fps*1*60) //how many ticks should we keep in the bucket. (1 minutes worth)
#define BUCKET_POS(timer) (round((timer.timeToRun - SStimer.head_offset) / world.tick_lag) + 1)
SUBSYSTEM(timer)
SUBSYSTEM_DEF(timer)
name = "Timer"
wait = 1 //SS_TICKER subsystem, so wait is in ticks
init_order = 1

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(title)
SUBSYSTEM_DEF(title)
name = "Title Screen"
init_order = 15
flags = SS_NO_FIRE

View File

@@ -1,4 +1,4 @@
SUBSYSTEM(vote)
SUBSYSTEM_DEF(vote)
name = "Vote"
wait = 10

View File

@@ -1,6 +1,6 @@
//Used for all kinds of weather, ex. lavaland ash storms.
SUBSYSTEM(weather)
SUBSYSTEM_DEF(weather)
name = "Weather"
flags = SS_BACKGROUND
wait = 10