Files
Client/GameTools/Zallad3D SceneClass/InitValue.cpp
LGram16 dd97ddec92 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>
2025-11-29 20:17:20 +09:00

44 lines
859 B
C++

// InitValue.cpp: implementation of the CInitValue class.
//
//////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include "InitValue.h"
#include "BaseDataDefine.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CInitValue::CInitValue()
{
m_nAdapter=m_nDevice=m_nMode=0;
m_CharShadow=m_MapShadow=m_BuildShadow=0;
m_TerrainDetail=m_CharDetail=m_ViewRange=0;
m_WaterReflection=m_Lensflare=m_TreeDetail=0;
}
CInitValue::~CInitValue()
{
}
void CInitValue::Save()
{
FILE *fp=fopen(INITVALUEFILE,"wb");
fwrite(this,sizeof(*this),1,fp);
fclose(fp);
}
void CInitValue::Load()
{
FILE *fp=fopen(INITVALUEFILE,"rb");
fread(this,sizeof(*this),1,fp);
fclose(fp);
}
void CInitValue::Init()
{
}