Skip to content

Commit b71b7b6

Browse files
authored
Back to the drawing board (#37538)
* Revert "May fix the login failure issue on 516 (#37537)" This reverts commit 6071b0a. * Revert "516 compatibility PR 2: the revenge of Node.js (#37501)" This reverts commit 875eca8.
1 parent 6071b0a commit b71b7b6

File tree

551 files changed

+27414
-38789
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

551 files changed

+27414
-38789
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ on:
2020
workflow_dispatch:
2121

2222
env:
23-
BYOND_MAJOR: 516
24-
BYOND_MINOR: 1659
23+
BYOND_MAJOR: 515
24+
BYOND_MINOR: 1603
2525

2626
#This can be declared here because build.py will ignore it if DM_UNIT_TESTS is true.
2727
ALL_MAPS: tgstation metaclub defficiency packedstation roidstation test_tiny test_vault snaxi tgstation-sec tgstation-snow LampreyStation xoq synergy bagelstation lowfatbagel Dorfstation waystation line horizon wheelstation

.vscode/tasks.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,6 @@
8989
],
9090
"group": "build",
9191
"label": "tgui: sonar"
92-
},
93-
{
94-
"type": "npm",
95-
"script": "install",
96-
"path": "tgui",
97-
"group": "clean",
98-
"problemMatcher": [],
99-
"label": "npm: install - tgui",
100-
"detail": "install dependencies from package"
10192
}
10293
]
10394
}

__DEFINES/_macros.dm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,4 +439,3 @@ var/global/list/visible_spaces = list(/turf/simulated/open, /turf/simulated/floo
439439
#define OMNI_LINK(A,B) isliving(A) && A:omnitool_connect(B)
440440

441441
#define is_real_champion(A) ismob(A) && A.is_wearing_item(/obj/item/weapon/storage/belt/champion) && A.is_wearing_item(/obj/item/clothing/mask/luchador)
442-

__DEFINES/cooldowns.dm

Lines changed: 0 additions & 6 deletions
This file was deleted.

__DEFINES/planes+layers.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ var/obj/abstract/screen/plane_master/overdark_planemaster/overdark_planemaster =
368368
appearance_flags = 0
369369
plane = BASE_PLANE
370370
mouse_opacity = 0
371-
screen_loc = "SOUTHWEST,SOUTHWEST"
371+
screen_loc = "CENTER,CENTER"
372372
render_source = "*overdark"
373373

374374
var/obj/abstract/screen/plane_master/overdark_planemaster_target/overdark_planemaster_target = new()

__DEFINES/qdel.dm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@
66
#define QDEL_LIST_ASSOC_NULL(L) QDEL_LIST_ASSOC(L); L = null
77
#define QDEL_LIST_CUT(L) QDEL_LIST(L); L.Cut()
88
#define QDEL_LIST_ASSOC_CUT(L) QDEL_LIST_ASSOC(L); L.Cut()
9-
10-
// QDEL macros borrowed from TG
11-
#define QDELETED(X) (!X || X.gcDestroyed)

__DEFINES/setup.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
2-
#if DM_VERSION < 516
2+
#if DM_VERSION < 513
33
#error Your version of byond is too old, you need version 513 or higher
44
#endif
55
#define RUNWARNING // disable if they re-enable run() in 507 or newer.

__DEFINES/tgui.dm

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
/// Maximum ping timeout allowed to detect zombie windows
2020
#define TGUI_PING_TIMEOUT 4 SECONDS
2121

22-
/// Used for rate-limiting to prevent DoS by excessively refreshing a TGUI window
23-
#define TGUI_REFRESH_FULL_UPDATE_COOLDOWN (1 SECONDS)
24-
2522
/// Window does not exist
2623
#define TGUI_WINDOW_CLOSED 0
2724
/// Window was just opened, but is still not ready to be sent data
@@ -41,14 +38,3 @@
4138
#define TGUI_CREATE_MESSAGE(type, payload) ( \
4239
"%7b%22type%22%3a%22[type]%22%2c%22payload%22%3a[url_encode(json_encode(payload))]%7d" \
4340
)
44-
45-
// -- TG Style nameof() --
46-
#define PROC_REF(X) (nameof(.proc/##X))
47-
/**
48-
* NAMEOF: Compile time checked variable name to string conversion
49-
* evaluates to a string equal to "X", but compile errors if X isn't a var on datum.
50-
**/
51-
#define NAMEOF(datum, X) (#X || ##datum.##X)
52-
53-
/// Call by name proc reference, checks if the proc exists on either the given type or as a global proc
54-
#define TYPE_PROC_REF(TYPE, X) (nameof(##TYPE.proc/##X))

code/ATMOSPHERICS/components/binary_devices/MSGS.dm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
var/internal_volume = 10000
1515
var/max_pressure = 10000
1616

17-
var/target_pressure = 2500 //Output pressure.
17+
var/target_pressure = 4500 //Output pressure.
1818

1919
var/datum/gas_mixture/air //Internal tank.
2020

@@ -102,19 +102,17 @@
102102
))
103103
return data
104104

105-
/obj/machinery/atmospherics/binary/msgs/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
105+
/obj/machinery/atmospherics/binary/msgs/ui_act(action, list/params)
106106
. = ..()
107107
if(.)
108108
return
109109
switch(action)
110110
if("toggle_power")
111111
on = !on
112112
update_icon()
113-
SStgui.try_update_ui(ui.user, src, ui)
114113
return TRUE
115114
if("set_pressure")
116115
target_pressure = round(clamp(text2num(params["new_pressure"]), 0, 4500))
117-
SStgui.try_update_ui(ui.user, src, ui)
118116
update_icon()
119117
return TRUE
120118

code/__HELPERS/cmp.dm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ var/cmp_field = "name"
2929
/proc/cmp_records_dsc(datum/data/record/a, datum/data/record/b)
3030
return sorttext(a.fields[cmp_field], b.fields[cmp_field])
3131

32-
/proc/cmp_records_numerically(datum/data/record/a, datum/data/record/b)
33-
return b.fields[cmp_field] - a.fields[cmp_field]
34-
3532
/proc/cmp_ckey_asc(client/a, client/b)
3633
return sorttext(b.ckey, a.ckey)
3734

0 commit comments

Comments
 (0)