2011-06-14 17:53:19 +00:00
|
|
|
#include "GUI/gui.h"
|
2010-12-12 16:31:13 +00:00
|
|
|
#include "themes/CTheme.h"
|
|
|
|
#include "usbloader/GameList.h"
|
|
|
|
#include "settings/GameTitles.h"
|
|
|
|
#include "menu/menus.h"
|
|
|
|
|
2012-02-09 21:18:16 +00:00
|
|
|
void rockout(struct discHdr *header)
|
2010-12-12 16:31:13 +00:00
|
|
|
{
|
2011-07-25 22:28:22 +00:00
|
|
|
static bool rockoutSet = false;
|
2011-01-08 12:35:41 +00:00
|
|
|
|
2011-07-25 22:28:22 +00:00
|
|
|
HaltGui();
|
2010-12-12 16:31:13 +00:00
|
|
|
|
2012-02-09 21:18:16 +00:00
|
|
|
if (!rockoutSet && header &&
|
|
|
|
( strcasestr(GameTitles.GetTitle(header), "guitar")
|
|
|
|
|| strcasestr(GameTitles.GetTitle(header), "band")
|
|
|
|
|| strcasestr(GameTitles.GetTitle(header), "rock")))
|
2011-07-25 22:28:22 +00:00
|
|
|
{
|
2011-12-28 16:27:30 +00:00
|
|
|
pointer[0]->SetImage("rplayer1_point.png");
|
|
|
|
pointer[1]->SetImage("rplayer2_point.png");
|
|
|
|
pointer[2]->SetImage("rplayer3_point.png");
|
|
|
|
pointer[3]->SetImage("rplayer4_point.png");
|
2011-01-08 12:35:41 +00:00
|
|
|
|
2011-07-25 22:28:22 +00:00
|
|
|
rockoutSet = true;
|
|
|
|
}
|
|
|
|
else if(rockoutSet)
|
|
|
|
{
|
2011-12-28 16:27:30 +00:00
|
|
|
pointer[0]->SetImage("player1_point.png");
|
|
|
|
pointer[1]->SetImage("player2_point.png");
|
|
|
|
pointer[2]->SetImage("player3_point.png");
|
|
|
|
pointer[3]->SetImage("player4_point.png");
|
2011-01-08 12:35:41 +00:00
|
|
|
|
2011-07-25 22:28:22 +00:00
|
|
|
rockoutSet = false;
|
|
|
|
}
|
|
|
|
ResumeGui();
|
2010-12-12 16:31:13 +00:00
|
|
|
}
|