mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-30 03:17:06 +01:00
tl;dr level collections that can easily be logically restructured/moved as necessary will eventually be used for radio and overmaps location resolution. this is the last part of https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/4841 that has not yet been integrated. this will be a draft for a while. --------- Co-authored-by: LetterN <24603524+LetterN@users.noreply.github.com>
32 lines
629 B
Plaintext
32 lines
629 B
Plaintext
/**
|
|
* Completely occludes a path from view variable interactions.
|
|
*/
|
|
#define VV_PROTECT(Path)\
|
|
##Path{} \
|
|
##Path/can_vv_get(var_name){\
|
|
return FALSE;\
|
|
}\
|
|
##Path/vv_edit_var(var_name, var_value, mass_edit, raw_edit){\
|
|
return FALSE;\
|
|
}\
|
|
##Path/CanProcCall(procname){\
|
|
return FALSE;\
|
|
}\
|
|
##Path/can_vv_mark(){\
|
|
return FALSE;\
|
|
}
|
|
|
|
/**
|
|
* Makes a path read-only to view variables.
|
|
*
|
|
* * Does not prevent the path from being marked!
|
|
*/
|
|
#define VV_PROTECT_READONLY(Path)\
|
|
##Path{} \
|
|
##Path/vv_edit_var(var_name, var_value, mass_edit, raw_edit){\
|
|
return FALSE;\
|
|
}\
|
|
##Path/CanProcCall(procname){\
|
|
return FALSE;\
|
|
}
|