move TapNoteScoreToDancePoints out of the header; reduces

deps, and I can't imagine it's being inlined anyway
This commit is contained in:
Glenn Maynard
2003-02-28 07:44:44 +00:00
parent 181b906137
commit d3d7f77dd8
2 changed files with 15 additions and 14 deletions
+14
View File
@@ -13,6 +13,20 @@
#include "GameConstantsAndTypes.h"
int TapNoteScoreToDancePoints( TapNoteScore tns, bool bOni )
{
switch( tns )
{
case TNS_MARVELOUS: return bOni ? +3 : +2;
case TNS_PERFECT: return +2;
case TNS_GREAT: return +1;
case TNS_GOOD: return +0;
case TNS_BOO: return bOni ? 0 : -4;
case TNS_MISS: return bOni ? 0 : -8;
case TNS_NONE: return 0;
default: ASSERT(0); return 0;
}
}
CString DifficultyToString( Difficulty dc )
{