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

📄 globals.h

📁 游戏编程精华02-含有几十个游戏编程例子
💻 H
字号:
/**********************************************************************
 	MODULE: SkelDemo
	
	DESCRIPTION: This module is a demo of how to pratically use MRC data
				 to finally render the animation in an OpenGl window.				 	
	
	DEVELOPED BY:		MARCO TOMBESI
	CONTACT:		e-mail:		baggior@libero.it		
					web-page:	digilander.iol.it/baggior

 *>	Copyright (c) Marco Tombesi, 2001
 **********************************************************************/

#pragma once

//////////////////////////////////////////////////////////////////////////////
// Global Variables
//////////////////////////////////////////////////////////////////////////////

extern HDC			hDC;														// Private GDI Device Context
extern HGLRC		hRC;														// Permanent Rendering Context
extern HWND			hWnd;														// Holds Our Window Handle
extern HINSTANCE	hInstance;													// Holds The Instance Of The Application
																			
extern bool	keys[256];															// Array Used For The Keyboard Routine (0 init)
extern bool	active;																// Window Active Flag Set To TRUE By Default
extern bool	fullscreen;															// Fullscreen Flag Set To Fullscreen Mode By Default
extern HWND hDLGWnd;		// Holds FPS Window Handle

extern bool	normals;		//display normals
extern bool	skel;			//display skeletal structure
extern bool rotate;

extern Clock t;

⌨️ 快捷键说明

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