karaoke prototype (disabled)

This commit is contained in:
Chris Danford
2008-03-12 23:17:39 +00:00
parent ecbe89179e
commit 5e87c2e81a
82 changed files with 13322 additions and 31 deletions
+68
View File
@@ -71,6 +71,7 @@ static struct
{ "pnm-five", 5, true }, // called "pnm" for backward compat
{ "pnm-nine", 9, true }, // called "pnm" for backward compat
{ "guitar-five", 5, true },
{ "karaoke", 1, false },
{ "lights-cabinet", NUM_CabinetLight, false }, // XXX disable lights autogen for now
};
@@ -2262,6 +2263,72 @@ static const Game g_Game_Popn =
TNS_Miss, // m_mapW5To
};
static const Style g_Style_Karaoke_Single =
{ // STYLE_KARAOKE_SINGLE
true, // m_bUsedForGameplay
true, // m_bUsedForEdit
true, // m_bUsedForDemonstration
true, // m_bUsedForHowToPlay
"single", // m_szName
STEPS_TYPE_KARAOKE_SINGLE, // m_StepsType
StyleType_OnePlayerOneSide, // m_StyleType
1, // m_iColsPerPlayer
{ // m_ColumnInfo[NUM_PLAYERS][MAX_COLS_PER_PLAYER];
{ // PLAYER_1
{ TRACK_1, 0.0f, NULL },
},
{ // PLAYER_2
{ TRACK_1, 0.0f, NULL },
},
},
{ // m_iInputColumn[NUM_GameController][NUM_GameButton]
{ 0, Style::END_MAPPING },
{ 0, Style::END_MAPPING },
},
{ // m_iColumnDrawOrder[MAX_COLS_PER_PLAYER];
0,
},
false, // m_bNeedsZoomOutWith2Players
false, // m_bCanUseBeginnerHelper
false, // m_bLockDifficulties
};
static const Style *g_apGame_Karaoke_Styles[] =
{
&g_Style_Karaoke_Single,
NULL
};
const InputMapping g_AutoKeyMappings_Karaoke[] =
{
{ 0, KEY_LEFT, KARAOKE_BUTTON_LEFT, false },
InputMapping_END
};
static const Game g_Game_Karaoke =
{
"karaoke", // m_szName
g_apGame_Karaoke_Styles, // m_apStyles
false, // m_bCountNotesSeparately
false, // m_bAllowHopos
{ // m_InputScheme
"karaoke", // m_szName
NUM_KARAOKE_BUTTONS, // m_iButtonsPerController
{ // m_szButtonNames
{ "Left", MENU_BUTTON_LEFT },
},
g_AutoKeyMappings_Karaoke
},
{
{ GameButtonType_Step },
},
TNS_W1, // m_mapW1To
TNS_W2, // m_mapW2To
TNS_W3, // m_mapW3To
TNS_W4, // m_mapW4To
TNS_W5, // m_mapW5To
};
const InputMapping g_AutoKeyMappings_Lights[] =
{
{ 0, KEY_Cq, LIGHTS_BUTTON_MARQUEE_UP_LEFT, false },
@@ -2374,6 +2441,7 @@ static const Game *g_Games[] =
&g_Game_Maniax,
&g_Game_Techno,
&g_Game_Popn,
&g_Game_Karaoke,
&g_Game_Lights,
};