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>
28 lines
707 B
C++
28 lines
707 B
C++
// StateLog.h: interface for the CStateLog class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_STATELOG_H__1E93C2C5_AF70_4A6C_8AF2_2B66D46A1A36__INCLUDED_)
|
|
#define AFX_STATELOG_H__1E93C2C5_AF70_4A6C_8AF2_2B66D46A1A36__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include <stdio.h>
|
|
|
|
class CStateLog
|
|
{
|
|
static FILE *m_fp;
|
|
public:
|
|
static void Message(char *strMessage,char *strFilename,int strLine);
|
|
static void Create(char *strFilename);
|
|
|
|
CStateLog();
|
|
virtual ~CStateLog();
|
|
};
|
|
|
|
#define LogMessage(Msg) CStateLog::Message(Msg,__FILE__,__LINE__)
|
|
|
|
#endif // !defined(AFX_STATELOG_H__1E93C2C5_AF70_4A6C_8AF2_2B66D46A1A36__INCLUDED_)
|