00001 /* Character - An persona that defines attacks for use in battle. */ 00002 00003 #ifndef Character_H 00004 #define Character_H 00005 00006 #include "GameConstantsAndTypes.h" 00007 00008 00009 class Character 00010 { 00011 public: 00012 // Character(); 00013 00014 bool Load( CString sCharDir ); // return true if success 00015 00016 CString GetTakingABreakPath() const; 00017 CString GetCardPath() const; 00018 CString GetIconPath() const; 00019 00020 CString GetModelPath() const; 00021 CString GetRestAnimationPath() const; 00022 CString GetWarmUpAnimationPath() const; 00023 CString GetDanceAnimationPath() const; 00024 CString GetSongSelectIconPath() const; 00025 CString GetStageIconPath() const; 00026 bool Has2DElems(); 00027 00028 00029 CString m_sCharDir; 00030 CString m_sName; 00031 00032 00033 00034 // All the stuff below will be filled in if this character is playable in Rave mode 00035 bool m_bUsableInRave; 00036 00037 CString m_sAttacks[NUM_ATTACK_LEVELS][NUM_ATTACKS_PER_LEVEL]; 00038 00039 CString GetHeadPath() const; 00040 }; 00041 00042 #endif 00043 00044 /* 00045 * (c) 2003 Chris Danford 00046 * All rights reserved. 00047 * 00048 * Permission is hereby granted, free of charge, to any person obtaining a 00049 * copy of this software and associated documentation files (the 00050 * "Software"), to deal in the Software without restriction, including 00051 * without limitation the rights to use, copy, modify, merge, publish, 00052 * distribute, and/or sell copies of the Software, and to permit persons to 00053 * whom the Software is furnished to do so, provided that the above 00054 * copyright notice(s) and this permission notice appear in all copies of 00055 * the Software and that both the above copyright notice(s) and this 00056 * permission notice appear in supporting documentation. 00057 * 00058 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00059 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00060 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00061 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00062 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00063 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00064 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00065 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00066 * PERFORMANCE OF THIS SOFTWARE. 00067 */