|
From: Tapio V. <aa...@us...> - 2010-08-21 18:02:51
|
Module: performous Branch: master Commit: 0e80e0d08d39bfbede80ac794e4166297b48f745 Author: Tapio Vierros <tap...@gm...> Date: Wed Jul 7 00:34:52 2010 +0300 Rewrite menu system. * Much more generic - No more member function pointers to InstrumentGraph - Use pointers to ConfigItems instead * Introduce submenu concept - Only one additional level for now * Introduce "set specific value and exit submenu" option type * "Change value" option type still available (for numeric ConfigItems) * Theme is outside of Menu structure * Breaks functionality for now - Exiting not root menu not implemented - Proper difficulty/track selection + pause menu population N/A - Some ConfigItems needs to be added to InstrumentGraph --- game/configuration.cc | 10 +++++ game/configuration.hh | 4 ++ game/dancegraph.cc | 19 +++++++--- game/guitargraph.cc | 19 +++++++--- game/instrumentgraph.cc | 29 +++++++++------- game/instrumentgraph.hh | 4 ++- game/menu.cc | 86 +++++++++++++++++++++++++++++++--------------- game/menu.hh | 63 +++++++++++++++++----------------- 8 files changed, 148 insertions(+), 86 deletions(-) |