Update components.dm

This commit is contained in:
LetterJay
2018-06-24 15:08:37 -05:00
committed by GitHub
parent c11557d23d
commit a3a4ecffbe
-4
View File
@@ -1,10 +1,6 @@
<<<<<<< HEAD
=======
#define SEND_SIGNAL(target, sigtype, arguments...) ( !target.datum_components ? NONE : target._SendSignal(sigtype, list(##arguments)) )
#define SEND_GLOBAL_SIGNAL(sigtype, arguments...) ( !SSdcs.comp_lookup[sigtype] ? NONE : SSdcs._SendGlobalSignal(sigtype, list(##arguments)) )
>>>>>>> 84a85a5... Merge pull request #38574 from ninjanomnom/glob-signals
//shorthand
#define GET_COMPONENT_FROM(varname, path, target) var##path/##varname = ##target.GetComponent(##path)
#define GET_COMPONENT(varname, path) GET_COMPONENT_FROM(varname, path, src)