47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
|
|
/// 2011.10.12 - prodongi
|
|
|
|
#ifndef _SUIRaidSiegeProgressSiegeWnd_h_
|
|
#define _SUIRaidSiegeProgressSiegeWnd_h_
|
|
|
|
#include "SUIRaidSiegeProgressBaseWnd.h"
|
|
|
|
class KUIControlGauge;
|
|
|
|
/*
|
|
레이드/시즈의 진행 상황을 출력해 주는 창(진행, 결과)
|
|
*/
|
|
class SUIRaidSiegeProgressSiegeWnd : public SUIRaidSiegeProgressBaseWnd
|
|
{
|
|
public:
|
|
enum { OFFENSE, DEFENSE };
|
|
|
|
public:
|
|
SUIRaidSiegeProgressSiegeWnd(class SGameManager* pGameManager);
|
|
virtual ~SUIRaidSiegeProgressSiegeWnd();
|
|
|
|
virtual void Process(DWORD dwTime);
|
|
virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
virtual bool InitControls( KPoint kPos );
|
|
virtual void start(int defenseHp, int offenseHp, int ownerType);
|
|
virtual void initialize();
|
|
virtual void setOpponentName(char const* opponentName);
|
|
|
|
protected:
|
|
void addOpacityList();
|
|
void setOwnerType(int defenseHp, int offenseHp, int ownerType);
|
|
void changeOwner(int newOwnerType);
|
|
void setGuildName(KUIControlStatic* nameCtrl, char const* guildName);
|
|
void setOpponentName(int ownerType, char const* opponentName);
|
|
|
|
protected:
|
|
KUIControlGauge* m_gaugeDefenseHp;
|
|
KUIControlGauge* m_gaugeOffenseHp;
|
|
KUIControlStatic* m_defenseName;
|
|
KUIControlStatic* m_offenseName;
|
|
int m_ownerType;
|
|
std::string m_opponentName;
|
|
};
|
|
|
|
#endif |