Files
itgmania212121/stepmania/src/ModeChoice.h
T

40 lines
802 B
C
Raw Normal View History

#ifndef MODECHOICE_H
#define MODECHOICE_H
/*
-----------------------------------------------------------------------------
Class: ModeChoice
Desc: .
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Game.h"
#include "Style.h"
2003-03-02 01:43:33 +00:00
#include "GameConstantsAndTypes.h"
#include "PlayerNumber.h"
struct ModeChoice // used in SelectMode
{
ModeChoice() { Init(); }
void Init();
2003-09-25 05:56:38 +00:00
void Load( int iIndex, CString str );
void ApplyToAllPlayers();
void Apply( PlayerNumber pn );
2003-07-20 07:32:26 +00:00
bool DescribesCurrentMode() const;
2003-09-25 05:56:38 +00:00
bool m_bInvalid;
int m_iIndex;
Game m_game;
Style m_style;
PlayMode m_pm;
Difficulty m_dc;
CString m_sAnnouncer;
CString m_sName;
};
#endif