|
From: Lasse Kärkkäi. <tr...@us...> - 2009-11-14 18:44:30
|
Module: performous Branch: dance Commit: 257fc9aa1c1b4b878a79d0bf333f15640f7bf7b0 Author: Markus Raab <un...@ma...> Date: Thu Nov 12 13:15:12 2009 +0100 Compiles again (with hiscores in performous) score and cur moved from players to database instead of making it public the friends are listed to indicate that this is not a good idea players.hh header removed where database is now used change constructors to accept database instead of players remove the m_highscore scoped_ptr, database has global scope use shared_ptr immediately when Song is allocated hiscore is used unconditionally: config item removed --- data/schema.xml | 6 ------ game/database.cc | 10 ++++------ game/database.hh | 25 +++++++++++++++++++++++-- game/engine.hh | 20 ++++++++++---------- game/layout_singer.cc | 13 ++++++------- game/layout_singer.hh | 6 ++++-- game/notegraph.cc | 8 ++++---- game/notegraph.hh | 6 +++--- game/players.cc | 3 +-- game/players.hh | 10 ---------- game/screen_hiscore.cc | 20 +++++--------------- game/screen_hiscore.hh | 9 +++++---- game/screen_players.cc | 30 ++++++++++-------------------- game/screen_players.hh | 10 +++++++--- game/screen_sing.cc | 42 +++++++++++++++++++++++++----------------- game/screen_sing.hh | 4 ++-- game/songs.cc | 8 ++++---- 17 files changed, 113 insertions(+), 117 deletions(-) |