00001 /* NoteDataWithScoring - NoteData with scores for each TapNote and HoldNote. */ 00002 00003 #ifndef NOTEDATAWITHSCORING_H 00004 #define NOTEDATAWITHSCORING_H 00005 00006 #include "GameConstantsAndTypes.h" 00007 #include "PlayerNumber.h" 00008 #include <map> 00009 00010 struct RadarValues; 00011 class NoteData; 00012 namespace NoteDataWithScoring 00013 { 00014 bool IsRowCompletelyJudged( const NoteData &in, unsigned iRow ); 00015 TapNoteScore MinTapNoteScore( const NoteData &in, unsigned iRow ); 00016 TapNoteScore LastTapNoteScore( const NoteData &in, unsigned iRow ); 00017 00018 void GetActualRadarValues( const NoteData &in, PlayerNumber pn, float fSongSeconds, RadarValues& out ); 00019 }; 00020 00021 #endif 00022 00023 /* 00024 * (c) 2001-2004 Chris Danford, Glenn Maynard 00025 * All rights reserved. 00026 * 00027 * Permission is hereby granted, free of charge, to any person obtaining a 00028 * copy of this software and associated documentation files (the 00029 * "Software"), to deal in the Software without restriction, including 00030 * without limitation the rights to use, copy, modify, merge, publish, 00031 * distribute, and/or sell copies of the Software, and to permit persons to 00032 * whom the Software is furnished to do so, provided that the above 00033 * copyright notice(s) and this permission notice appear in all copies of 00034 * the Software and that both the above copyright notice(s) and this 00035 * permission notice appear in supporting documentation. 00036 * 00037 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00038 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00039 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00040 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00041 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00042 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00043 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00044 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00045 * PERFORMANCE OF THIS SOFTWARE. 00046 */