globals.h
来自「游戏编程精华02-含有几十个游戏编程例子」· C头文件 代码 · 共 35 行
H
35 行
/**********************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?