dependencies.h.orig

来自「Ion Team Lord Of The Rings Demo 模拟指环王的3」· ORIG 代码 · 共 76 行

ORIG
76
字号
/********************************************************************************
*                                                                               *
*           Dependencies.h -- Where to go to know what i use.                   *
*                                                                               *
*********************************************************************************/

#pragma warning(disable:4786)

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers

#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
#include <math.h>
#include <fstream.h>
#include <assert.h>

using namespace std;

#include <windows.h>
#include <Mmsystem.h>

#include <gl\gl.h>
#include <gl\glu.h>
#include "../Includes/FreeImage.h"

#ifdef Log
FILE *LogFile;
#endif


typedef unsigned char byte;
typedef unsigned int Uint16;
typedef unsigned long int Uint32;

#include "../3dcode/CTexture.h"
#include "../3dcode/Vector3d.h"
#include "../3dcode/Models/Model.h"
#include "../3dcode/Models/Md2Model.h"
#include "../3dcode/Models/3dsModel.h"
#include "../3dcode/Maps/CMap.h"
#include "../3dcode/Maps/CSkyBox.h"
#include "../3dcode/Cameras/BezCam.h"
#include "../3dcode/Cameras/fpvCamera.h"
#include "../3dcode/FX/ParticleSystem.h"
#include "../3dcode/FX/CLightMan.h"
#include "../3dcode/FX/CFont.h"


//*****************************************************************//
//*                         Datatypes                             *//
//*****************************************************************//
// What are these things? typedefs: they make reading code alot easier, if you know the scheme. check TypeScheme.txt



typedef vector<int> v_int;
typedef vector<int> v_i;

typedef vector<unsigned long int> v_uint32;
typedef vector<unsigned long int> v_ui32;

typedef vector<float> v_float; 
typedef vector<float> v_f;

typedef vector<string> v_string;
typedef vector<string> v_s;

typedef vector<HINSTANCE> v_Dll;

⌨️ 快捷键说明

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