Files
itgmania212121/stepmania/src/ModeChoice.h
T

39 lines
776 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-07-20 07:32:26 +00:00
bool FromString( CString str, bool bIgnoreUnknown=false );
void ApplyToAllPlayers();
void Apply( PlayerNumber pn );
2003-07-20 07:32:26 +00:00
bool DescribesCurrentMode() const;
Game game;
Style style;
2003-03-03 10:03:02 +00:00
PlayMode pm;
Difficulty dc;
2003-07-10 03:36:41 +00:00
CString sAnnouncer;
char name[64];
};
#endif