⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 include.h

📁 这是整套横扫千军3D版游戏的源码
💻 H
字号:
#ifndef INCLUDE_H
#define INCLUDE_H


#include <ctime>
#include <fstream>
#include <algorithm>
#include <deque>
#include <set>

#include <iostream>
#include <sstream>

#include <stdarg.h>

#include <functional>
#include <memory.h>
#include <stdio.h>

#include <assert.h>
#include <float.h>



#ifndef WIN32
#include <sys/time.h>

#define LARGE_INTEGER struct timeval
static inline void itoa(int i, char* buf, int size) {
	snprintf(buf, size, "%d", i);
}
#endif



// Spring Standard Header
#include "System/StdAfx.h"


// Spring Component Registration System Headers
#include "creg/creg.h"
#include "creg/cregex.h"
#include "creg/Serializer.h"
#include "creg/STL_List.h"
#include "creg/STL_Map.h"


// Spring Engine Headers
#include "Sim/Units/UnitDef.h"					// Unit Definitions
#include "Sim/Units/CommandAI/CommandQueue.h"	// Unit Command Queues
#include "Sim/Misc/FeatureDef.h"				// Feature Definitions
#include "Sim/MoveTypes/MoveInfo.h"				// Types of Movement units can have
#include "Sim/Weapons/WeaponDefHandler.h"		// Weapon Definitions

// Spring AI Interface Headers
#include "ExternalAI/aibase.h"					// DLL exports and definitions
#include "ExternalAI/IGlobalAI.h"				// Main AI file
#include "ExternalAI/IAICallback.h"				// Callback functions
#include "ExternalAI/IGlobalAICallback.h"		// AI Interface
#include "ExternalAI/IAICheats.h"				// AI Cheat Interface

// KAIK Headers
#include "Containers.h"							// All KAIK containers
#include "Defines.h"							// Definition declarations
#include "MTRand.h"								// Mersenne Twister RNG
#include "SpotFinder.h"
#include "MicroPather.h"
#include "Maths.h"
#include "SunParser.h"
#include "MetalMap.h"
#include "Debug.h"
#include "PathFinder.h"
#include "UnitTable.h"
#include "ThreatMap.h"
#include "UnitHandler.h"
#include "Unit.h"
#include "EconomyTracker.h"
#include "DefenseMatrix.h"
#include "BuildUp.h"
#include "AttackHandler.h"
#include "AttackGroup.h"
#include "EconomyManager.h"
#include "DGunController.hpp"


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -