initsence.h

来自「涉及windows游戏编程中的一些源码」· C头文件 代码 · 共 42 行

H
42
字号

#ifndef _INIT_SENCE_H_
#define _INIT_SENCE_H_
#include "gameapp.h"
#include "texturemgr.h"
#include "lensfare.h"
#include "Billboard.h"
#include "SkyBox.h"
#include "terrain.h"
#include "lod.h"
#include "viewfrustum.h"
#include "Configure.h"
#include "camera.h"

extern "C" CGameApp g_app;
extern "C" CTextureMgr g_tex_mgr;
extern "C" CLensFlar flare;
extern "C" C2DBillBoardMgr g_bbm;
extern "C" CSkyBox g_sky;
extern "C" CTerrain  terrain;
extern "C" CLOD*      pLOD;
extern "C" CViewFrustum Culler;
extern "C" CCamera* g_pcm;

void InitFog();
void SetCameraH();
BOOL  InitSky();
BOOL InitTexture();
BOOL InitTerrain();
void InitCamera();
void InitBillBoard();
void InitFlare();
void DrawCircle(float r,float z);
void DrawBillBoad(int id);
void DrawLensMask();
void DrawCross();
void LoadMapCfg();
void LoadAppCfg();
void TerminateApp();
BOOL InitMultiTex();
extern CConfigure MapCfg;
#endif

⌨️ 快捷键说明

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