www.pudn.com > ÈýάÌì¿ÕÓëµØÐÎ.zip > Main.h, change:2001-10-13,size:787b


// SkyDome Demo  -  October 2001 
// 
// Luis R. Sempé 
// visual@spheregames.com 
// Sphere Games (http://www.spheregames.com) 
//  
// You may use, copy, distribute or create derivative software 
// for any purpose. If you do, I'd appreciate it if you write me  
// and let me know what you do with it. Thanks! 
// Have fun! 
//////////////////////////////////////////////////// 
 
#ifndef MAIN_H_ 
#define MAIN_H_ 
 
#define WIN32_LEAN_AND_MEAN 
 
#include <windows.h> 
#include <gl\gl.h> 
#include <gl\glu.h> 
#include <gl\glaux.h> 
 
#define CLASS_NAME "Sphere" 
 
bool active; 
bool keys[256]; 
 
HDC hdc; 
HGLRC hrc  = NULL; 
 
HWND hWnd; 
HINSTANCE hInstance; 
 
void Shutdown(); 
BOOL CreateGLWindow(char* title, int width, int height, int bits); 
void DisplayStats(); 
 
#endif