Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
1.4 KiB
C++
43 lines
1.4 KiB
C++
// GUITooltipItem.h: interface for the CGUITooltipItem class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_GUITOOLTIPITEM_H__A1D87897_CA5C_4253_B84C_8164BA57605C__INCLUDED_)
|
|
#define AFX_GUITOOLTIPITEM_H__A1D87897_CA5C_4253_B84C_8164BA57605C__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "ItemInstance.h"
|
|
#include "GUITooltip.h"
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
|
|
class CGUITooltipItem : public CGUITooltip
|
|
{
|
|
protected:
|
|
CItemInstance *m_lpItem;
|
|
|
|
public:
|
|
void RenderEtc(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
void GetBookTooltipPos(short &sPosX, short &sPosY, short &sLength, short &sLine);
|
|
void GetEtcTooltipPos(short &sPosX, short &sPosY, short &sLength, short &sLine);
|
|
void GetEquipTooltipPos(short &sPosX, short &sPosY, short &sLength, short &sLine);
|
|
void GetSkillTooltipPos(short &sPosX, short &sPosY, short &sLength, short &sLine);
|
|
void RenderSkill(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
CGUITooltipItem();
|
|
~CGUITooltipItem();
|
|
|
|
void SetItem(CItemInstance *lpItem) { m_lpItem = lpItem; }
|
|
void RenderEquip(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
void RenderBook(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
|
|
BOOL GetIsTooltip(void);
|
|
void DestroyTooltip(void);
|
|
void Render(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
};
|
|
|
|
#endif // !defined(AFX_GUITOOLTIPITEM_H__A1D87897_CA5C_4253_B84C_8164BA57605C__INCLUDED_)
|