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 09:29:20 +02:00
committed by GitHub
parent 951cdf17b4
commit 6cabe9f7e6
85 changed files with 329 additions and 131 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
#define CELL_ALIVE(VAL) (VAL == cell_live_value)
#define KILL_CELL(CELL, NEXT_MAP) NEXT_MAP[CELL] = cell_dead_value;
#define REVIVE_CELL(CELL, NEXT_MAP) NEXT_MAP[CELL] = cell_live_value;
@@ -68,4 +67,4 @@
return
#undef KILL_CELL
#undef REVIVE_CELL
#undef REVIVE_CELL
+6
View File
@@ -226,3 +226,9 @@
return
new /datum/random_map/droppod(null, usr.x-1, usr.y-1, usr.z, supplied_drops = spawned_mobs, automated = automatic_pod)
#undef SD_FLOOR_TILE
#undef SD_WALL_TILE
#undef SD_DOOR_TILE
#undef SD_EMPTY_TILE
#undef SD_SUPPLY_TILE