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>
This commit is contained in:
38
Tools/PatchMaker/PMSetting.h
Normal file
38
Tools/PatchMaker/PMSetting.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
class CPMSetting
|
||||
{
|
||||
public:
|
||||
|
||||
CPMSetting();
|
||||
virtual ~CPMSetting();
|
||||
|
||||
bool LoadSetting(LPCTSTR szSetupFileName);
|
||||
bool LoadSetting() { return LoadSetting(GetSettingFileName()); }
|
||||
bool SaveSetting();
|
||||
|
||||
LPCTSTR GetSettingFileName() const { return m_szSetupFileName.GetString(); }
|
||||
|
||||
bool GetSettingData(LPCTSTR szKey, CString& szValue);
|
||||
void SetSettingData(LPCTSTR szKey, LPCTSTR szValue);
|
||||
|
||||
private:
|
||||
|
||||
CMapStringToString m_SetupDataMap;
|
||||
CString m_szSetupFileName;
|
||||
};
|
||||
|
||||
|
||||
class CPMDefaultSetting : public CPMSetting
|
||||
{
|
||||
public:
|
||||
|
||||
static CPMSetting& GetInstance();
|
||||
static LPCTSTR GetDefaultSettingName();
|
||||
|
||||
private:
|
||||
|
||||
CPMDefaultSetting() { }
|
||||
virtual ~CPMDefaultSetting() { }
|
||||
};
|
||||
Reference in New Issue
Block a user