2002-11-16 08:07:38 +00:00
|
|
|
#ifndef STYLE_H
|
|
|
|
|
#define STYLE_H
|
2002-08-13 23:26:46 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
File: Style
|
|
|
|
|
|
|
|
|
|
Desc: .
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
|
|
|
|
Chris Danford
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
enum Style
|
|
|
|
|
{
|
|
|
|
|
STYLE_DANCE_SINGLE,
|
|
|
|
|
STYLE_DANCE_VERSUS,
|
|
|
|
|
STYLE_DANCE_DOUBLE,
|
|
|
|
|
STYLE_DANCE_COUPLE,
|
|
|
|
|
STYLE_DANCE_SOLO,
|
2002-09-12 08:37:12 +00:00
|
|
|
STYLE_DANCE_EDIT_COUPLE,
|
2002-08-13 23:26:46 +00:00
|
|
|
STYLE_PUMP_SINGLE,
|
|
|
|
|
STYLE_PUMP_VERSUS,
|
|
|
|
|
STYLE_PUMP_DOUBLE,
|
2002-09-09 23:15:43 +00:00
|
|
|
STYLE_PUMP_COUPLE,
|
2002-09-12 07:50:20 +00:00
|
|
|
STYLE_PUMP_EDIT_COUPLE,
|
2002-08-13 23:26:46 +00:00
|
|
|
STYLE_EZ2_SINGLE,
|
|
|
|
|
STYLE_EZ2_REAL,
|
|
|
|
|
STYLE_EZ2_SINGLE_VERSUS,
|
|
|
|
|
STYLE_EZ2_REAL_VERSUS,
|
2002-10-10 04:33:49 +00:00
|
|
|
STYLE_EZ2_DOUBLE,
|
2002-09-07 02:50:23 +00:00
|
|
|
STYLE_PARA_SINGLE,
|
2002-08-13 23:26:46 +00:00
|
|
|
NUM_STYLES, // leave this at the end
|
|
|
|
|
STYLE_NONE,
|
|
|
|
|
};
|
2002-08-27 23:31:41 +00:00
|
|
|
|
2002-09-12 08:37:12 +00:00
|
|
|
const int NUM_DANCE_STYLES = 6;
|
2002-09-12 07:50:20 +00:00
|
|
|
const int NUM_PUMP_STYLES = 5;
|
2002-09-29 05:06:18 +00:00
|
|
|
const int NUM_EZ2_STYLES = 5;
|
2002-09-07 02:50:23 +00:00
|
|
|
const int NUM_PARA_STYLES = 1;
|
2002-08-27 23:31:41 +00:00
|
|
|
|
|
|
|
|
// Ugh. This is needed for the style icon.
|
|
|
|
|
// TODO: Find a more elegant way to handle this
|
|
|
|
|
inline int GetStyleIndexRelativeToGame( int iGameIndex, Style style )
|
|
|
|
|
{
|
|
|
|
|
int iStyleIndex = style;
|
|
|
|
|
switch( iGameIndex )
|
|
|
|
|
{
|
2002-09-29 05:06:18 +00:00
|
|
|
case 0: break; // dance
|
|
|
|
|
case 1: iStyleIndex -= NUM_DANCE_STYLES; break; // pump
|
|
|
|
|
case 2: iStyleIndex -= NUM_DANCE_STYLES+NUM_PUMP_STYLES; break; // ez2
|
|
|
|
|
case 3: iStyleIndex -= NUM_DANCE_STYLES+NUM_PUMP_STYLES+NUM_EZ2_STYLES; break; // para
|
2002-08-27 23:31:41 +00:00
|
|
|
default: ASSERT(0); // invalid game index
|
|
|
|
|
}
|
|
|
|
|
return iStyleIndex;
|
2002-11-16 08:07:38 +00:00
|
|
|
}
|
|
|
|
|
#endif
|