Update assemblies to modern coding standards

This commit is contained in:
Aronai Sieyes
2020-03-30 22:18:44 -04:00
parent 35448c5b53
commit 0d043fe44e
13 changed files with 205 additions and 485 deletions

View File

@@ -1417,6 +1417,8 @@ var/mob/dview/dview_mob = new
#define VARSET_LIST_CALLBACK(target, var_name, var_value) CALLBACK(GLOBAL_PROC, /proc/___callbackvarset, ##target, ##var_name, ##var_value)
//dupe code because dm can't handle 3 level deep macros
#define VARSET_CALLBACK(datum, var, var_value) CALLBACK(GLOBAL_PROC, /proc/___callbackvarset, ##datum, NAMEOF(##datum, ##var), ##var_value)
//the 3 level deep myth DEBUNKED
#define VARSET_IN(datum, var, var_value, time) addtimer(VARSET_CALLBACK(datum, var, var_value), time)
/proc/___callbackvarset(list_or_datum, var_name, var_value)
if(length(list_or_datum))