Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

3d.h

Go to the documentation of this file.
00001 /* ***********************************************************************************
00002         Writer:         Sebastien Bloc
00003         Copyright:      2003-2004
00004         eMail:          sebastien.bloc@free.fr
00005         URL:            http://mignonsoft.free.fr
00006 
00007         This program is free software; you can redistribute it and/or
00008         modify it under the terms of the GNU General Public License
00009         as published by the Free Software Foundation; either version 2
00010         of the License, or (at your option) any later version.
00011 
00012         This program is distributed in the hope that it will be useful,
00013         but WITHOUT ANY WARRANTY; without even the implied warranty of
00014         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015         GNU General Public License for more details.
00016         http://www.gnu.org/copyleft/gpl.html
00017 *********************************************************************************** */
00018 
00023 #ifndef INCLUDE_3D_H
00024 #define INCLUDE_3D_H
00025 
00026 // include general
00027 #include <stdio.h>
00028 #include <math.h>
00029 #include <windows.h>
00030 #include <windowsx.h>
00031 #include <commctrl.h>
00032 
00033 // gestion de la molette de la souris
00034 #include <shellapi.h>                            // pour ShellExecute
00035 #include <zmouse.h>
00036 #define GET_WHEEL_DELTA_WPARAM(wParam)  ((short)HIWORD(wParam))
00037 
00038 // include pour la 3d
00039 // ajouter ./include dans les path des includes
00040 #include <gl/gl.h>                   // Header for OpenGL32 Lib
00041 #include <gl/glu.h>                  // GLu32 Lib
00042 #include <gl/glaux.h>                // GLaux Lib
00043 #include <ftgl/FTGLTextureFont.h>
00044 #include <ftgl/FTGLPixmapFont.h>
00045 #include <ftgl/FTGLExtrdFont.h>
00046 #include <ftgl/FTGLOutlineFont.h>
00047 #include <ftgl/FTGLPolygonFont.h>
00048 #include <ftgl/FTGLBitmapFont.h>
00049 
00050 #define FONT_FILE "C:/Windows/Fonts/arial.ttf"
00051 
00052 #include "arb_multisample.h"
00053 #include "trigo.h"
00054 
00055 #pragma comment(lib, "OpenGL32.lib") 
00056 #pragma comment(lib, "GLu32.lib")
00057 #pragma comment(lib, "GLaux.lib")
00058 #pragma comment(lib, "comctl32.lib")
00059 #pragma comment(lib, "lib/ftgl.lib")
00060 #pragma comment(lib, "lib/freetype2.lib")
00061 #pragma comment(lib, "lib/freeimage.lib")
00062 
00063 // include de gestion "ordinaire"
00064 #include "MyString.h"
00065 #include "MyTree.h"
00066 #include "MyList.h"
00067 #include "MyRegistry.h"
00068 
00069 // include pour debugage
00070 #include "MyDebug.h"
00071 
00072 // macros de definition de type de face
00073 #define FACE_BACK               0
00074 #define FACE_BOTTOM             1
00075 #define FACE_TOP                2
00076 #define FACE_LEFT               3
00077 #define FACE_RIGHT              4
00078 #define FACE_FRONT              5
00079 
00080 #define VERSION                 "0.7"           // version du moteur en cours
00081 
00082 // enum de positionnement
00083 typedef enum { top=1,bottom=2,left=4,right=8 } DockPos;
00084 #endif

Generated on Fri Aug 20 19:19:41 2004 for 3d Controls by doxygen 1.3.6