|
From: Tapio V. <aa...@us...> - 2010-08-21 18:02:46
|
Module: performous Branch: master Commit: e27a92d4d2efa8c5943a11fd4392ad6ffb2f0344 Author: Tapio Vierros <tap...@gm...> Date: Mon Jun 21 22:30:36 2010 +0300 Initial implementation of instrument joining menu. * Currently only two options, track and difficulty. * Visual output is very crude placeholder. * Guitars, drums and dancepads supported. * Theming system is not yet used (although some code exists). * input::Event now holds also translated NavButton enum. * Especially keyboard guitar controls need love. * Much clean-up required and room for guitar/dance unification. * Doesn't yet wait for players' choices. New options are added to the menu by giving description and two pointers to InstrumentGraph member functions: 1. void adjust(int dir) - execute for option change 2. string getValue() - returns the display value --- game/dancegraph.cc | 39 +++++++++++++++++++---------------- game/dancegraph.hh | 4 +- game/guitargraph.cc | 52 +++++++++++++++++++++++++++------------------- game/guitargraph.hh | 2 + game/instrumentgraph.cc | 18 ++++++++++++++++ game/instrumentgraph.hh | 7 ++++++ game/joystick.cc | 34 ++++++++++++++++-------------- game/joystick.hh | 1 + game/menu.cc | 37 +++++++++++++++++++++++++++++--- game/menu.hh | 45 +++++++++++++++++++++++++++++++++++++++- game/screen_intro.cc | 8 +++--- game/screen_intro.hh | 4 +- game/screen_sing.cc | 4 +- game/theme.cc | 13 +++++++++++ game/theme.hh | 15 +++++++++++++ 15 files changed, 212 insertions(+), 71 deletions(-) |