Description: /*
* This Code Was Created By Jeff Molofee 2000
* A HUGE Thanks To Fredric Echols For Cleaning Up
* And Optimizing The Base Code, Making It More Flexible!
* If You ve Found This Code Useful, Please Let Me Know.
* Visit My Site At nehe.gamedev.net
*/
#include <windows.h> // Header File For Windows
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h> // Header File For The Glaux Library
HDC hDC=NULL // Private GDI Device Context
HGLRC hRC=NULL // Permanent Rendering Context
HWND hWnd=NULL // Holds Our Window Handle
HINSTANCE hInstance // Holds The Instance Of The Application
bool keys[256] // Array Used For The Keyboard Routine
bool active=TRUE // Window Active Flag Set To TRUE By Default
bool fullscreen=TRUE // Fullscreen Flag Set To Fullscreen Mode By Default
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM) // Declarati
To Search:
File list (Check if you may need any files):
Lesson2.cpp