00001 #ifndef _SCREEN_JUNQ_H 00002 #define _SCREEN_JUNQ_H 00003 00004 #include "MercuryScreen.h" 00005 #include "MercuryText.h" 00006 #include "MercuryLoadableModel.h" 00007 #include "MercuryLight.h" 00008 00010 class ScreenJunq : public MercuryScreen 00011 { 00012 public: 00013 ScreenJunq( ):MercuryScreen( ) { } 00014 ScreenJunq( const MString & name ):MercuryScreen( name ) { m_name = name; } 00015 virtual ~ScreenJunq(); 00016 00017 virtual void Update( const float dTime ); 00018 virtual void Init(); 00019 virtual void Message( int Message, PStack & data, const MString & name ); 00020 CLASS_RTTI( ScreenJunq, MercuryScreen ); 00021 private: 00022 MercuryLight m_light; 00023 vector <MercuryLoadableModel*> m_Jsphere; 00024 int m_iDirection; 00025 int m_BPM, m_Type, m_Flow; 00026 int m_Beatctr, m_Peak, m_Move, m_Measure; 00027 float m_In, m_Out; 00028 double time, real; 00029 // MercuryTimer m_Beat, m_Minute; 00030 00031 }; 00032 00033 #endif 00034 00035 /* 00036 * (c) 2005 Benjamin Dailey 00037 * All rights reserved. 00038 * 00039 * Permission is hereby granted, free of charge, to any person obtaining a 00040 * copy of this software and associated documentation files (the 00041 * "Software"), to deal in the Software without restriction, including 00042 * without limitation the rights to use, copy, modify, merge, publish, 00043 * distribute, and/or sell copies of the Software, and to permit persons to 00044 * whom the Software is furnished to do so, provided that the above 00045 * copyright notice(s) and this permission notice appear in all copies of 00046 * the Software and that both the above copyright notice(s) and this 00047 * permission notice appear in supporting documentation. 00048 * 00049 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00050 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00051 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00052 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00053 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00054 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00055 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00056 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00057 * PERFORMANCE OF THIS SOFTWARE. 00058 */