--- /dev/null
+/***************************************************************************\r
+ texture.h - description\r
+ -------------------\r
+ begin : Sun Mar 08 2009\r
+ copyright : (C) 1999-2009 by Pete Bernert\r
+ web : www.pbernert.com \r
+ ***************************************************************************/\r
+\r
+/***************************************************************************\r
+ * *\r
+ * This program is free software; you can redistribute it and/or modify *\r
+ * it under the terms of the GNU General Public License as published by *\r
+ * the Free Software Foundation; either version 2 of the License, or *\r
+ * (at your option) any later version. See also the license.txt file for *\r
+ * additional informations. *\r
+ * *\r
+ ***************************************************************************/\r
+\r
+//*************************************************************************// \r
+// History of changes:\r
+//\r
+// 2009/03/08 - Pete \r
+// - generic cleanup for the Peops release\r
+//\r
+//*************************************************************************// \r
+\r
+#ifndef _GPU_TEXTURE_H_\r
+#define _GPU_TEXTURE_H_\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+\r
+#define TEXTUREPAGESIZE 256*256\r
+\r
+void InitializeTextureStore();\r
+void CleanupTextureStore();\r
+GLuint LoadTextureWnd(long pageid,long TextureMode,unsigned long GivenClutId);\r
+GLuint LoadTextureMovie(void);\r
+void InvalidateTextureArea(long imageX0,long imageY0,long imageX1,long imageY1);\r
+void InvalidateTextureAreaEx(void);\r
+void LoadTexturePage(int pageid, int mode, short cx, short cy);\r
+void ResetTextureArea(BOOL bDelTex);\r
+GLuint SelectSubTextureS(long TextureMode, unsigned long GivenClutId);\r
+void CheckTextureMemory(void);\r
+\r
+\r
+void LoadSubTexturePage(int pageid, int mode, short cx, short cy);\r
+void LoadSubTexturePageSort(int pageid, int mode, short cx, short cy);\r
+void LoadPackedSubTexturePage(int pageid, int mode, short cx, short cy);\r
+void LoadPackedSubTexturePageSort(int pageid, int mode, short cx, short cy);\r
+unsigned long XP8RGBA(unsigned long BGR);\r
+unsigned long XP8RGBAEx(unsigned long BGR);\r
+unsigned long XP8RGBA_0(unsigned long BGR);\r
+unsigned long XP8RGBAEx_0(unsigned long BGR);\r
+unsigned long XP8BGRA_0(unsigned long BGR);\r
+unsigned long XP8BGRAEx_0(unsigned long BGR);\r
+unsigned long XP8RGBA_1(unsigned long BGR);\r
+unsigned long XP8RGBAEx_1(unsigned long BGR);\r
+unsigned long XP8BGRA_1(unsigned long BGR);\r
+unsigned long XP8BGRAEx_1(unsigned long BGR);\r
+unsigned long P8RGBA(unsigned long BGR);\r
+unsigned long P8BGRA(unsigned long BGR);\r
+unsigned long CP8RGBA_0(unsigned long BGR);\r
+unsigned long CP8RGBAEx_0(unsigned long BGR);\r
+unsigned long CP8BGRA_0(unsigned long BGR);\r
+unsigned long CP8BGRAEx_0(unsigned long BGR);\r
+unsigned long CP8RGBA(unsigned long BGR);\r
+unsigned long CP8RGBAEx(unsigned long BGR);\r
+unsigned short XP5RGBA (unsigned short BGR);\r
+unsigned short XP5RGBA_0 (unsigned short BGR);\r
+unsigned short XP5RGBA_1 (unsigned short BGR);\r
+unsigned short P5RGBA (unsigned short BGR);\r
+unsigned short CP5RGBA_0 (unsigned short BGR);\r
+unsigned short XP4RGBA (unsigned short BGR);\r
+unsigned short XP4RGBA_0 (unsigned short BGR);\r
+unsigned short XP4RGBA_1 (unsigned short BGR);\r
+unsigned short P4RGBA (unsigned short BGR);\r
+unsigned short CP4RGBA_0 (unsigned short BGR);\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+\r
+#endif // _TEXTURE_H_\r