M origin x: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Document this struct member, is actually deprecated already and ud.return should be used instead.
 
(No difference)

Latest revision as of 05:20, 4 February 2022

This feature is deprecated.
It's recommend not to use this feature.

This is an alias of ud.return 1. Use ud.return 1 in the corresponding menu events instead.

Intended exclusively for use in EVENT_DISPLAYMENU, EVENT_DISPLAYMENUREST, EVENT_DISPLAYINACTIVEMENU, EVENT_DISPLAYINACTIVEMENUREST.

Contains the x-coordinate of the origin of the current/previous menu.

See m_origin_x and m_origin_y.