diff -r a5e2fda0b31a nml/actions/action2var.py
--- a/nml/actions/action2var.py Tue Sep 09 13:21:01 2014 +0200
+++ b/nml/actions/action2var.py Tue Sep 09 13:38:47 2014 +0200
@@ -958,6 +958,7 @@
func60x = lambda value, pos: expression.FunctionPtr(expression.Identifier(generic.reverse_lookup(vars_60x, value), pos), parse_60x_var, value)
return expr.reduce(extra_dicts + [(action2var_variables.varact2_globalvars, parse_var), \
+ (action2var_variables.varact2_globalvars60x, func60x), \
(vars_normal, parse_var), \
(vars_60x, func60x)] + \
global_constants.const_list)
diff -r a5e2fda0b31a nml/actions/action2var_variables.py
--- a/nml/actions/action2var_variables.py Tue Sep 09 13:21:01 2014 +0200
+++ b/nml/actions/action2var_variables.py Tue Sep 09 13:38:47 2014 +0200
@@ -112,6 +112,10 @@
'current_year' : {'var': 0x24, 'start': 0, 'size': 32},
}
+varact2_globalvars60x = {
+ 'CALL' : {'var': 0x7E, 'start': 0, 'size': 15}, #value_function: <read var 0x1C>, param_function: <convert switch to integer>
+}
+
#
# Vehicles (features 0x00 - 0x03)
# A few variables have an implementation that differs per vehicle type