diff options
Diffstat (limited to 'plugins/peopsxgl/stdafx.h')
| -rwxr-xr-x[-rw-r--r--] | plugins/peopsxgl/stdafx.h | 168 |
1 files changed, 84 insertions, 84 deletions
diff --git a/plugins/peopsxgl/stdafx.h b/plugins/peopsxgl/stdafx.h index b1e3f06e..b069ba25 100644..100755 --- a/plugins/peopsxgl/stdafx.h +++ b/plugins/peopsxgl/stdafx.h @@ -1,84 +1,84 @@ -/***************************************************************************
- stdafx.h - description
- -------------------
- begin : Sun Mar 08 2009
- copyright : (C) 1999-2009 by Pete Bernert
- web : www.pbernert.com
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. See also the license.txt file for *
- * additional informations. *
- * *
- ***************************************************************************/
-
-#ifdef _WINDOWS
-
-#define _CRT_SECURE_NO_WARNINGS
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string.h>
-#include <stdarg.h>
-#include <windows.h>
-#include <windowsx.h>
-#include <tchar.h>
-#include <mmsystem.h>
-#include "resource.h"
-
-#pragma warning (disable:4244)
-#pragma warning (disable:4761)
-
-#include <GL/gl.h>
-
-#elif defined(_MACGL)
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <OpenGL/gl.h>
-#include <math.h>
-
-#define CALLBACK /* */
-
-#else
-
-#define __X11_C_
-#define __inline inline
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <GL/gl.h>
-#include <GL/glx.h>
-#include <math.h>
-#include <X11/cursorfont.h>
-
-#define CALLBACK /* */
-
-#endif
-
-#include "gl_ext.h"
-
-#define SHADETEXBIT(x) ((x>>24) & 0x1)
-#define SEMITRANSBIT(x) ((x>>25) & 0x1)
-
-#ifndef _WINDOWS
-#ifndef GL_BGRA_EXT
-#define GL_BGRA_EXT GL_BGRA
-#endif
-#define GL_COLOR_INDEX8_EXT 0x80E5
-#endif
+/*************************************************************************** + stdafx.h - description + ------------------- + begin : Sun Mar 08 2009 + copyright : (C) 1999-2009 by Pete Bernert + web : www.pbernert.com + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. See also the license.txt file for * + * additional informations. * + * * + ***************************************************************************/ + +#ifdef _WINDOWS + +#define _CRT_SECURE_NO_WARNINGS + +#include <stdio.h> +#include <stdlib.h> +#include <stdint.h> +#include <string.h> +#include <stdarg.h> +#include <windows.h> +#include <windowsx.h> +#include <tchar.h> +#include <mmsystem.h> +#include "resource.h" + +#pragma warning (disable:4244) +#pragma warning (disable:4761) + +#include <GL/gl.h> + +#elif defined(_MACGL) + +#include <stdio.h> +#include <stdlib.h> +#include <stdint.h> +#include <string.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/time.h> +#include <OpenGL/gl.h> +#include <math.h> + +#define CALLBACK /* */ + +#else + +#define __X11_C_ +#define __inline inline + +#include <stdio.h> +#include <stdlib.h> +#include <stdint.h> +#include <string.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/time.h> +#include <GL/gl.h> +#include <GL/glx.h> +#include <math.h> +#include <X11/cursorfont.h> + +#define CALLBACK /* */ + +#endif + +#include "gl_ext.h" + +#define SHADETEXBIT(x) ((x>>24) & 0x1) +#define SEMITRANSBIT(x) ((x>>25) & 0x1) + +#ifndef _WINDOWS +#ifndef GL_BGRA_EXT +#define GL_BGRA_EXT GL_BGRA +#endif +#define GL_COLOR_INDEX8_EXT 0x80E5 +#endif |
