Undefines local defines and moves global to __define (#16028)

* first set of defines

* some more

* .

* final defines

* del local define
This commit is contained in:
Kashargul
2024-06-09 17:29:20 +10:00
committed by GitHub
parent 951cdf17b4
commit 6cabe9f7e6
85 changed files with 329 additions and 131 deletions
@@ -329,3 +329,5 @@
if("filter")
PlayerNotesFilterLegacy()
return
#undef PLAYER_NOTES_ENTRIES_PER_PAGE
@@ -485,3 +485,14 @@
if(M.stat == 0)
return 1
return 0
#undef COMM_SCREEN_MAIN
#undef COMM_SCREEN_STAT
#undef COMM_SCREEN_MESSAGES
#undef COMM_AUTHENTICATION_NONE
#undef COMM_AUTHENTICATION_MIN
#undef COMM_AUTHENTICATION_MAX
#undef COMM_MSGLEN_MINIMUM
#undef COMM_CCMSGLEN_MINIMUM
+5 -3
View File
@@ -13,7 +13,7 @@
var/number_pages = 0
/datum/tgui_module/rcon/proc/filter_smeslist(var/page)
number_pages = known_SMESs.len / SMES_PER_PAGE
number_pages = known_SMESs.len / SMES_PER_PAGE
if(number_pages != round(number_pages))
number_pages = round(number_pages) + 1
@@ -136,7 +136,9 @@
/datum/tgui_module/rcon/ntos
ntos = TRUE
/datum/tgui_module/rcon/robot
/datum/tgui_module/rcon/robot/tgui_state(mob/user)
return GLOB.tgui_self_state
return GLOB.tgui_self_state
#undef SMES_PER_PAGE