diff --git a/.gitignore b/.gitignore index ed7c572..388f530 100755 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ compile_flags.txt *.masm /build/ /dist/ +/include/G* diff --git a/c2logic/consts.py b/c2logic/consts.py index 0f8bb5c..2ef1d36 100644 --- a/c2logic/consts.py +++ b/c2logic/consts.py @@ -34,4 +34,6 @@ func_binary_ops = ["pow", "max", "min", "angle", "len", "land", "idiv", "strictE func_unary_ops = ["abs", "log", "log10", "sin", "cos", "tan", "floor", "ceil", "sqrt", "rand"] binary_ops.update(dict(zip(func_binary_ops, func_binary_ops))) unary_ops.update(dict(zip(func_unary_ops, func_unary_ops))) -SPECIAL_VARS = ('counter', 'ipt', 'links', 'tick', 'time', 'unit') +SPECIAL_VARS = ( + 'counter', 'ipt', 'links', 'maph', 'mapw', 'this', 'thisx', 'thisy', 'tick', 'time', 'unit' +)