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.2 KiB
C++
43 lines
1.2 KiB
C++
// HumanExchange.h: interface for the CHumanExchange class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_HUMANEXCHANGE_H__48C6072B_12C2_470C_84D5_3B8AAB0DBCEE__INCLUDED_)
|
|
#define AFX_HUMANEXCHANGE_H__48C6072B_12C2_470C_84D5_3B8AAB0DBCEE__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "GUIWindow.h"
|
|
|
|
class CHumanExchange : public CGUIWindow
|
|
{
|
|
public:
|
|
void ExchangeUnLock(unsigned long dwChrID);
|
|
void ExchangeLock(unsigned long dwChrID);
|
|
void InitPos(CItemInstance *lpItem);
|
|
void ProcessExchange(void);
|
|
void ExchangeQuit(void);
|
|
void ExchangeCancel(unsigned long dwChrID);
|
|
void ExchangeAccept(unsigned long dwChrID);
|
|
CItemInstance *m_lpSplitItem;
|
|
unsigned long m_dwSplitResult;
|
|
unsigned long m_dwSplitValue;
|
|
unsigned long m_dwExchangeGoldResult;
|
|
unsigned long m_dwExchangeGoldValue;
|
|
|
|
BOOL m_bSingleWindow;
|
|
BOOL SelectItem();
|
|
CHumanExchange();
|
|
virtual ~CHumanExchange();
|
|
|
|
BOOL Init(unsigned short x, unsigned short y);
|
|
void InitValue(void);
|
|
BOOL Update(BOOL &bClick, BOOL &bEdge);
|
|
void ShowWindow(BOOL bShow);
|
|
void Render(LPDIRECT3DDEVICE8 lpD3DDevice);
|
|
};
|
|
|
|
#endif // !defined(AFX_HUMANEXCHANGE_H__48C6072B_12C2_470C_84D5_3B8AAB0DBCEE__INCLUDED_)
|