1 /***************************************************************************
\r
2 stdafx.h - description
\r
4 begin : Sun Mar 08 2009
\r
5 copyright : (C) 1999-2009 by Pete Bernert
\r
6 web : www.pbernert.com
\r
7 ***************************************************************************/
\r
9 /***************************************************************************
\r
11 * This program is free software; you can redistribute it and/or modify *
\r
12 * it under the terms of the GNU General Public License as published by *
\r
13 * the Free Software Foundation; either version 2 of the License, or *
\r
14 * (at your option) any later version. See also the license.txt file for *
\r
15 * additional informations. *
\r
17 ***************************************************************************/
\r
19 //*************************************************************************//
\r
20 // History of changes:
\r
22 // 2009/03/08 - Pete
\r
23 // - generic cleanup for the Peops release
\r
25 //*************************************************************************//
\r
27 #ifndef __GPU_STDAFX__
\r
28 #define __GPU_STDAFX__
\r
40 // maybe we should remove this?
\r
43 #define _CRT_SECURE_NO_WARNINGS
\r
45 #include <WINDOWS.H>
\r
46 #include <WINDOWSX.H>
\r
48 #include "resource.h"
\r
50 #pragma warning (disable:4244)
\r
62 #include <sys/time.h>
\r
67 #pragma softfp_linkage
\r
69 #ifdef MAEMO_CHANGES
\r
71 //#include <GLES/glplatform.h>
\r
72 #include <GLES/gl.h>
\r
73 //#include <GLES/glext.h>
\r
74 #include <GLES/EGL/egl.h>
\r
75 //#include "../maemo/minimal.h"
\r
76 //#include <gdk/gdkx.h>
\r
77 //#include <gdk/gdk.h>
\r
81 #include <gles/gl.h> // for opengl es types
\r
82 #include <gles/egltypes.h>
\r
85 #pragma no_softfp_linkage
\r
90 #define __inline inline
\r
94 #define SHADETEXBIT(x) ((x>>24) & 0x1)
\r
95 #define SEMITRANSBIT(x) ((x>>25) & 0x1)
\r
99 #define GL_BGRA_EXT GL_RGBA
\r