📄 dependencies.h
字号:
/********************************************************************************
* *
* Dependencies.h -- Where to go to know what i use. *
* *
*********************************************************************************/
#pragma warning(disable:4786)
#pragma warning(disable:4995)
#pragma comment(lib,"Src/Libs/FreeImage")
#pragma comment(lib,"Src/Libs/opengl32")
#pragma comment(lib,"Src/Libs/glu32")
#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 <utility>
#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;
bool Keys[256]; // Array Used For The Keyboard Routine
#include "../3dcode/CTexture.h"
#include "../3dcode/Vector3d.h"
#include "../3dcode/Models/Model.h"
#include "../3dcode/Models/Md2Model.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"
#include "../3dcode/FX/CFade.h"
#include "../3dcode/FX/CLoading.h"
#include "../3dcode/FX/CScroll.h"
#include "../3dcode/Scenes/3dSceneManager.h"
#include "../3dcode/Scenes/ShireScene.h"
#include "../3dcode/Scenes/BagEndScene.h"
#include "../3dcode/Scenes/MordorScene.h"
#include "../3dcode/Scenes/CastleScene.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -