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:
43
GameTools/Zallad3D SceneClass/InitValue.cpp
Normal file
43
GameTools/Zallad3D SceneClass/InitValue.cpp
Normal file
@@ -0,0 +1,43 @@
|
||||
// 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()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user