gameintro.h
来自「基于引擎基础上开发的三维游戏实例“恐怖之战”游戏者可以自爱三维地形上漫游」· C头文件 代码 · 共 44 行
H
44 行
// GameIntro.h: interface for the CGameIntro class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GAMEINTRO_H__94CF19F7_6AA3_4B48_BD85_B4E94CF77EFC__INCLUDED_)
#define AFX_GAMEINTRO_H__94CF19F7_6AA3_4B48_BD85_B4E94CF77EFC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GameSection.h"
#include "GameSession.h"
#include "Triangle.h"
#include "Stars.h"
#include "Ast3DFract.h"
#include "Utility.h"
#include "Audio.h"
#include "Extern.h"
class CGameIntro : public CGameSection
{
public:
CGameIntro();
virtual ~CGameIntro();
enum {AstNum=16};
void KeyDown(UINT nChar);
CMesh Title;
CUtility m_Utility;
vector<CAst3DFract *> A;
CStars s;
void Init(int score=0,int liv=0);
int Draw();
void Reshape(int w, int h);
void Update(int dt);
void Clip(Point3f &p);
};
#endif // !defined(AFX_GAMEINTRO_H__94CF19F7_6AA3_4B48_BD85_B4E94CF77EFC__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?