Files
Client/Engine/Zalla3D Base Class/IMEFont.h
LGram16 e067522598 Initial commit: ROW Client source code
Game client codebase including:
- CharacterActionControl: Character and creature management
- GlobalScript: Network, items, skills, quests, utilities
- RYLClient: Main client application with GUI and event handlers
- Engine: 3D rendering engine (RYLGL)
- MemoryManager: Custom memory allocation
- Library: Third-party dependencies (DirectX, boost, etc.)
- Tools: Development utilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 16:24:34 +09:00

46 lines
1.1 KiB
C++

// IMEFont.h: interface for the CIMEFont class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMEFONT_H__C8D7C988_BD4A_4270_AE9D_829679CEB5F4__INCLUDED_)
#define AFX_IMEFONT_H__C8D7C988_BD4A_4270_AE9D_829679CEB5F4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <d3d8.h>
#include <d3dx8.h>
#include "Vertex.h"
class CIMEFont
{
TLVertex m_pVertex[4];
char m_strPrint[20][256];
char m_strPrinted[20][256];
int m_cLine;
public:
void Render(LPDIRECT3DDEVICE8 pd3dDevice,DWORD dwColor);
void MakeTexture();
bool isRewirte();
void PrintToTexture(char *str,long line);
void Create(LPDIRECT3DDEVICE8 pd3dDevice,long sizeX,long sizeY);
void Render(LPDIRECT3DDEVICE8 pd3dDevice);
LPDIRECT3DTEXTURE8 m_pTexture;
CIMEFont();
virtual ~CIMEFont();
long m_RenderX,m_RenderY;
long m_SizeX,m_SizeY;
void SetRenderPos(int RenderX,int RenderY)
{
m_RenderX=RenderX;
m_RenderY=RenderY;
};
char* GetPrintText(int nText)
{
return m_strPrint[nText];
};
};
#endif // !defined(AFX_IMEFONT_H__C8D7C988_BD4A_4270_AE9D_829679CEB5F4__INCLUDED_)