Add ref() to builtins

This commit is contained in:
spookydonut 2020-01-27 01:38:02 +08:00
parent 4e9e7f0fb5
commit f4df75f22c

View file

@ -323,6 +323,9 @@ pub fn register_builtins(tree: &mut ObjectTree) -> Result<(), DMError> {
var/const/BLEND_MULTIPLY = int!(4);
var/const/BLEND_INSET_OVERLAY = int!(5);
// this is just a procstyle syntax wrapper for \ref[foo]
proc/ref(A);
// global procs
proc/abs(A);
proc/addtext(Arg1, Arg2/*, ...*/);