summaryrefslogtreecommitdiffstats
path: root/rwsdk/include/d3d8/rtpitexd.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rwsdk/include/d3d8/rtpitexd.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/rwsdk/include/d3d8/rtpitexd.h b/rwsdk/include/d3d8/rtpitexd.h
new file mode 100644
index 00000000..39287bcd
--- /dev/null
+++ b/rwsdk/include/d3d8/rtpitexd.h
@@ -0,0 +1,74 @@
+/***********************************************************************
+ *
+ * Module: rtpitexd.h
+ *
+ * Purpose: Platform Independent Texture Dictionaries
+ *
+ ***********************************************************************/
+
+#if !defined( RTPITEXD_H )
+#define RTPITEXD_H
+
+/**
+ * \defgroup rtpitexd RtPITexD
+ * \ingroup rttool
+ *
+ * Platform Independent Texture Dictionaries
+ *
+ */
+
+
+/* =====================================================================
+ * Includes
+ * ===================================================================== */
+#include <rwcore.h>
+#include <rtpitexd.rpe> /* automatically generated */
+
+
+/* =====================================================================
+ * Defines
+ * ===================================================================== */
+
+
+/* =====================================================================
+ * Module specific type definitions
+ * ===================================================================== */
+
+/* =====================================================================
+ * Extern variables
+ * ===================================================================== */
+
+
+/* =====================================================================
+ * Extern function prototypes
+ * ===================================================================== */
+
+#if defined( __cplusplus )
+extern "C"
+{
+#endif /* defined( __cplusplus ) */
+
+/* RWPUBLIC */
+
+extern RwUInt32
+RtPITexDictionaryStreamGetSize( const RwTexDictionary *texDict );
+
+extern RwTexDictionary *
+RtPITexDictionaryStreamRead( RwStream *stream );
+
+extern RwTexDictionary *
+RtPITexDictionaryStreamWrite( RwTexDictionary *texDict,
+ RwStream *stream );
+
+/* RWPUBLICEND */
+
+extern void
+_rwImageGammaUnCorrectArrayOfRGBA( RwRGBA * rgbaOut,
+ RwRGBA * rgbaIn,
+ RwInt32 numEls );
+
+#if defined( __cplusplus )
+}
+#endif /* defined( __cplusplus ) */
+
+#endif /* !defined( RTPITEXD_H ) */