Project

General

Profile

« Previous | Next » 

Revision dae52df5

Added by danij over 13 years ago

Continued work on the menu:
  • Completed wiring up the generalised actions.
  • Added MNA_FOCUS and MNA_FOCUSOUT actions for when an object gains or receives focus respectively.
  • Update the MNMobjPreview widget in response to MNA_FOCUS actions for the Hexen player class menu.
  • Normalized MNPage object indices to use a zero-base throughout.
  • Active state for MNBindings is set by it's command responder.
  • Cursor rotation state is now decided when the focused object changes rather than in Hu_MenuTicker. Fixed cursor rotation not reseting after engine reset (everything else did).
  • Logical game-save slot indices are now referenced using the data2 property of the MNEdit widgets used in both save and load menus.
  • Command responders only ever receive "down events" so in the case of buttons they activate temporarily and then automatically deactivate (so as to action both MNA_ACTIVE and MNA_ACTIVEOUT).
  • Not all menus were being initialized by initAllObjectsOnAllPages()
  • Fixed reentrancy issues in MNList::CommandResponder

Next step: menu object tickers and relocating the animation of the MNMobjPreview widgets (thus allowing the "random" player class cycling to be reinstated).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences