raze-gles/source/duke3d
hendricks266 4f17a26061 New userdef structure "return"
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.

git-svn-id: https://svn.eduke32.com/eduke32@6706 1a8010ca-5511-0410-912e-c29ae57300e0
2018-02-26 20:20:00 +00:00
..
rsrc Route inclusion of all Windows headers through a new header, windows_inc.h. 2017-02-19 22:15:44 +00:00
src New userdef structure "return" 2018-02-26 20:20:00 +00:00
Dependencies.mak Fix gcc 7.1.0 warnings 2017-07-18 20:53:41 +00:00
gpl-2.0.txt The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00