📄 stdafx.h
字号:
// stdafx.h : 磊林 荤侩窍瘤父 磊林 函版登瘤绰 臼绰
// 钎霖 矫胶袍 器窃 颇老 棺 橇肺璃飘 包访 器窃 颇老捞
// 甸绢 乐绰 器窃 颇老涝聪促.
//
#pragma once
#define WIN32_LEAN_AND_MEAN
#define _USING_SIMPLE_CONSOLE
#define __NEW_WORLD_SCRIPT
#pragma warning(push)
#pragma warning(disable:4201)
#pragma warning(disable:4100)
#pragma warning(disable:4189)
#include <windows.h>
#include <Define.h>
#include <Const.h>
#include <iostream>
#include <tchar.h>
#include <stdio.h>
#include <ResultCode.h>
// TODO: 橇肺弊伐俊 鞘夸茄 眠啊 庆歹绰 咯扁俊辑 曼炼钦聪促.
#include <SolarAssert.h>
#include <Protocol_CG.h>
#include <PacketStruct_CG.h>
#include <ProgramCommon/WzDataType.h>
#include <struct.h>
#include <CommonDef.h>
// warning 力芭甫 困秦 include -_-;
#include <NetworkObject.h>
#include <ProgramCommon/WzHashTable.h>
#include <3DEngine/3DTerrain/3DTerrain.h>
#define random(min, max) ((rand()%(int)(((max) + 1)-(min)))+ (min))
#ifdef _DEBUG
#include <SUNConsole.h>
extern SUNConsole g_SUNConsole;
#ifndef _USING_SIMPLE_CONSOLE
#define DISPMSG g_pIConsole->OutputDisplayArg
#else
#define DISPMSG printf
#endif
// 叼滚弊侩 免仿 窃荐
// 橇肺弊伐 抛胶飘 侩
#define DEBUG1 printf
#define DEBUG2 printf
#define DEBUG3 printf
#else
//#define DISPMSG(f) __noop
#endif
#include <ServerCommonDef.h>
#include "PlayerManager.h"
#include "Field.h"
#include "State.h"
#include <Timer.h>
#include "GameLog.h"
#include "SunLog.h"
extern GameLog* g_pLOG;
#define GAMELOG if(g_pLOG) g_pLOG
extern CSunLog* g_pSunLog;
bool MessageOut(BYTE byLogLevel, char *szMsg,...);
#define SUNLOG MessageOut
#pragma warning(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -