Files
itgmania212121/stepmania/src/CodeDetector.h
T
2002-09-03 00:22:12 +00:00

27 lines
793 B
C++

#pragma once
/*
-----------------------------------------------------------------------------
Class: CodeDetector
Desc: Uses InputQueue to detect input of codes that would affect player and song options.
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "GameInput.h"
class CodeDetector
{
public:
static void RefreshCacheItems(); // call this before checking codes, but call infrequently
static bool EnteredEasierDifficulty( GameController controller );
static bool EnteredHarderDifficulty( GameController controller );
static bool EnteredNextSort( GameController controller );
static bool DetectAndAdjustOptions( GameController controller );
};