Skip to content

Commit

Permalink
Revert "[TMP] Runechat (#912)"
Browse files Browse the repository at this point in the history
This reverts commit 0ad6ed8.
  • Loading branch information
SuhEugene committed Nov 4, 2023
1 parent 5433f72 commit 0dcef01
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 452 deletions.
1 change: 0 additions & 1 deletion baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@
#include "code\datums\browser.dm"
#include "code\datums\callbacks.dm"
#include "code\datums\category.dm"
#include "code\datums\chat_message.dm"
#include "code\datums\cinematic.dm"
#include "code\datums\datum.dm"
#include "code\datums\footsteps.dm"
Expand Down
2 changes: 0 additions & 2 deletions code/__defines/__renderer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@
#define HUD_ABOVE_ITEM_LAYER 4
#define HUD_ABOVE_HUD_LAYER 5

#define RUNECHAT_PLANE 7

/// This plane masks out lighting, to create an "emissive" effect for e.g glowing screens in otherwise dark areas.
#define EMISSIVE_PLANE 10
#define EMISSIVE_TARGET "*emissive"
Expand Down
5 changes: 0 additions & 5 deletions code/__defines/_renderer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ GLOBAL_LIST_EMPTY(zmimic_renderers)
group = RENDER_GROUP_SCREEN
plane = HUD_PLANE

/atom/movable/renderer/runechat
name = "Runechat"
group = RENDER_GROUP_SCREEN
plane = RUNECHAT_PLANE


/* *
* Group renderers
Expand Down
7 changes: 0 additions & 7 deletions code/__defines/lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,8 @@
#define UNSETEMPTY(L) if (L && !length(L)) L = null
// Removes I from list L, and sets I to null if it is now empty
#define LAZYREMOVE(L, I) if(L) { L -= I; if(!length(L)) { L = null; } }
// Removes the value V from the item K, if the item K is empty will remove it from the list, if the list is empty will set the list to null
#define LAZYREMOVEASSOC(L, K, V) if(L) { if(L[K]) { L[K] -= V; if(!length(L[K])) L -= K; } if(!length(L)) L = null; }
// Adds I to L, initalizing L if necessary
#define LAZYADD(L, I) if(!L) { L = list(); } L += I;
// Adds to the item K the value V, if the list is null it will initialize it
#define LAZYADDASSOC(L, K, V) if(!L) { L = list(); } L[K] += V;
// This is used to add onto lazy assoc list when the value you're adding is a /list/.
// This one has extra safety over lazyaddassoc because the value could be null (and thus cant be used to += objects)
#define LAZYADDASSOCLIST(L, K, V) if(!L) { L = list(); } L[K] += list(V);
// Insert I into L at position X, initalizing L if necessary
#define LAZYINSERT(L, I, X) if(!L) { L = list(); } L.Insert(X, I);
// Adds I to L, initalizing L if necessary, if I is not already in L
Expand Down
Loading

0 comments on commit 0dcef01

Please sign in to comment.