#undef is now required for all file defines (#24091)

* CI

* undef

* hooooly crap

* yeah

* false by default

* fixes

* alright, there we go

* oops lmao

* lol, lmao even

* proper programming

* fix

* losin my mind

* oops

* yeah coloring

* WE LOVE MULTIPLE DEFINES (ive lost my sanity)
This commit is contained in:
Contrabang
2024-03-11 14:03:30 -04:00
committed by GitHub
parent 47f3b87a9f
commit e32544e599
172 changed files with 1412 additions and 780 deletions
+4
View File
@@ -101,3 +101,7 @@
))
return query_noteadd
#undef ANTAGRECORD_FIRST_INFRACTION
#undef ANTAGRECORD_LAST_INFRACTION
#undef ANTAGRECORD_TOTAL_INFRACTIONS
+8
View File
@@ -111,3 +111,11 @@
qdel(update_existing_note)
else // They dont have a note. Insert.
add_note(cookie_holder_ckey, serialized_text, adminckey = COOKIERECORD_PSUEDO_CKEY, logged = FALSE, checkrights = FALSE, automated = TRUE, sanitise_html = FALSE) // No sanitize because we rely on formatting
#undef COOKIERECORD_FIRST_INFRACTION
#undef COOKIERECORD_LAST_INFRACTION
#undef COOKIERECORD_TOTAL_INFRACTIONS
#undef COOKIERECORD_MATCHED_CKEYS
#undef COOKIERECORD_MATCHED_IPS
#undef COOKIERECORD_MATCHED_CIDS
#undef COOKIERECORD_PSUEDO_CKEY
+2
View File
@@ -702,3 +702,5 @@
adm_query.warn_execute()
qdel(adm_query)
#undef MAX_ADMIN_BANS_PER_ADMIN
+2
View File
@@ -988,3 +988,5 @@ GLOBAL_VAR_INIT(gamma_ship_location, 1) // 0 = station , 1 = space
continue
result[1]++
return result
#undef PLAYER_NOTES_ENTRIES_PER_PAGE
@@ -166,3 +166,5 @@ GLOBAL_VAR_INIT(sent_syndicate_strike_team, 0)
equip_to_slot_or_del(W, SLOT_HUD_WEAR_ID)
return 1
#undef SYNDICATE_COMMANDOS_POSSIBLE