Lesson8.h

Go to the documentation of this file.
00001 /*
00002  *              This Code Was Created By Jeff Molofee 2000
00003  *              A HUGE Thanks To Fredric Echols For Cleaning Up
00004  *              And Optimizing The Base Code, Making It More Flexible!
00005  *              If You've Found This Code Useful, Please Let Me Know.
00006  *              Visit My Site At nehe.gamedev.net
00007  *              Conversion to Visual Studio.NET done by Grant James(Zeus)
00008  */
00009 
00010 #ifndef __NEHE_LESSON8__
00011 #define __NEHE_LESSON8__
00012 
00013 #include <windows.h>            // Header File For Windows
00014 #include <gl\gl.h>                      // Header File For The OpenGL32 Library
00015 #include <gl\glu.h>                     // Header File For The GLu32 Library
00016 #include <gl\glaux.h>           // Header File For The Glaux Library
00017 
00018 #pragma comment(lib, "opengl32.lib")
00019 #pragma comment(lib, "glu32.lib")
00020 #pragma comment(lib, "glaux.lib")
00021 #pragma comment(lib, "advapi32.lib")
00022 
00023 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);   // Declaration For WndProc
00024 
00025 GLvoid ReSizeGLScene(GLsizei width, GLsizei height);
00026 
00027 int InitGL(GLvoid);
00028 
00029 int DrawGLScene(GLvoid) ;
00030 
00031 GLvoid KillGLWindow(GLvoid);
00032 
00033 LRESULT CALLBACK WndProc(       HWND    hWnd,                   // Handle For This Window
00034                                                         UINT    uMsg,                   // Message For This Window
00035                                                         WPARAM  wParam,                 // Additional Message Information
00036                                                         LPARAM  lParam);                // Additional Message Information
00037 
00038 int WINAPI WinMain(     HINSTANCE       hInstance,                      // Instance
00039                                         HINSTANCE       hPrevInstance,          // Previous Instance
00040                                         LPSTR           lpCmdLine,                      // Command Line Parameters
00041                                         int                     nCmdShow);                      // Window Show State
00042 
00043 #endif

Generated on Thu Nov 23 22:31:31 2006 for Gnash by  doxygen 1.4.6