Build 6706
SVN-
General
New userdef structure "return"
Show details
This works like an extension of the RETURN gamevar and it accepts multiple values. Reading or writing the value of "userdef[].return 0" is the same as reading of writing the RETURN gamevar. The following userdefs are now aliases: - m_origin_x = userdef[].return 1 - m_origin_y = userdef[].return 2 - screenarea_x1 = userdef[].return 0 - screenarea_y1 = userdef[].return 1 - screenarea_x1 = userdef[].return 2 Additionally, the API for EVENT_PLAYLEVELMUSICSLOT is hereby redefined to use return 1 and 2 (not 0) _instead of_ ud.m_*_number. Patch from Fox.