Restructure repository to include all source folders

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>
This commit is contained in:
2025-11-29 20:17:20 +09:00
parent 5d3cd64a25
commit dd97ddec92
11602 changed files with 1446576 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
// BaseGraphic.h: interface for the BaseGraphic class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BASEGRAPHIC_H__D2B16AD2_C324_44D0_A581_93528EA232C2__INCLUDED_)
#define AFX_BASEGRAPHIC_H__D2B16AD2_C324_44D0_A581_93528EA232C2__INCLUDED_
#include "VECTOR.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <d3d8.h>
#include "ViewCamera.h"
//#include "list.h"
#include "Exception.h"
#include "Texture.h"
#include "VertexBuffer.h"
#include "EnumD3D.h"
#include "D3DFont.h"
#include "StateLog.h"
class BaseGraphicsLayer
{
static HWND m_hWnd;
static LPDIRECT3DDEVICE8 m_pd3dDevice;
static LPDIRECT3D8 m_pD3D;
bool m_bWindowed;
bool m_bEditorMode;
//Projection Parameter//
float m_fFov,m_fNear,m_fFar;
//NS//
CTexture m_NsTexture;
DWORD m_dwStartRemainTextureMemory;
DWORD m_dwAbleTextureMemory;
public:
static bool ProjectiveTextureMapping(vector3 vecPoint,float &fTu,float &fTv);
// void RectFlip(List<RECT> &RectList);
static long m_lScreenSx,m_lScreenSy;
CD3DFont* m_pFont; // Font for drawing text
static D3DPRESENT_PARAMETERS m_d3dpp;
RECT m_rcWindowBounds;
RECT m_rcWindowClient;
static bool m_VoodooOption;
static HWND GethWnd(){return m_hWnd;};
void ManyTransformVector(vector3 *t,vector3 *result,float *w);
static bool TransformVector(vector3 &t,vector3 &vecResult,float &w);
void ShowState();
void PrefareRender();
void Flip();
void GetPickPoint(long lScreenX,long lScreenY,float &fsX,float &fsY,float &fsZ);
static CViewCamera m_ViewCamera;
static color m_ClearColor;
void Create(HWND hWnd,bool bWindowed,bool Editor,long screenx,long screeny);
BaseGraphicsLayer();
virtual ~BaseGraphicsLayer();
static LPDIRECT3DDEVICE8 GetDevice(){return m_pd3dDevice;};
static HRESULT CheckResourceFormatSupport(D3DFORMAT fmt, D3DRESOURCETYPE resType, DWORD dwUsage);
};
#endif // !defined(AFX_BASEGRAPHIC_H__D2B16AD2_C324_44D0_A581_93528EA232C2__INCLUDED_)