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:
49
GameTools/Zallad3D SceneClass/DataCasher.h
Normal file
49
GameTools/Zallad3D SceneClass/DataCasher.h
Normal file
@@ -0,0 +1,49 @@
|
||||
// DataCasher.h: interface for the CDataCasher class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_DATACASHER_H__ADC6657B_445E_44B1_A6CE_8B76567B2604__INCLUDED_)
|
||||
#define AFX_DATACASHER_H__ADC6657B_445E_44B1_A6CE_8B76567B2604__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
class CDataObj {
|
||||
public:
|
||||
CDataObj();
|
||||
virtual ~CDataObj();
|
||||
|
||||
std::vector<CDataObj *> m_pNext;
|
||||
int m_iNext;
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
typedef std::map<unsigned long , CDataObj *> DATACASHTABLE;
|
||||
typedef DATACASHTABLE::value_type DATACASHOBJ;
|
||||
typedef DATACASHTABLE::iterator ISDATAITER;
|
||||
|
||||
class CDataCasher
|
||||
{
|
||||
public:
|
||||
CDataCasher();
|
||||
virtual ~CDataCasher();
|
||||
virtual bool LoadCashData(const char *strPath) = 0;
|
||||
virtual void *GetCashData(const char *strName) = 0;
|
||||
virtual bool BuildHashTable(const char *strPath) = 0;
|
||||
|
||||
protected:
|
||||
DATACASHTABLE m_HashTable;
|
||||
int m_iCashNum;
|
||||
|
||||
//int m_iCashNum;
|
||||
//std::vector<CDataObj *>m_pHashList;
|
||||
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_DATACASHER_H__ADC6657B_445E_44B1_A6CE_8B76567B2604__INCLUDED_)
|
||||
Reference in New Issue
Block a user