summaryrefslogtreecommitdiffstats
path: root/sdk/rwsdk/include/d3d8/rtpitexd.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-02 18:36:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-08-02 18:36:50 +0200
commita786dd45a4ebc6b91936b5e46d0ef0a9befc05af (patch)
treeced50966eaaf373f8733547046baf2bdc558662d /sdk/rwsdk/include/d3d8/rtpitexd.h
parentMerge branch 'master' of https://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.gz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.bz2
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.lz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.xz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.zst
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.zip
Diffstat (limited to 'sdk/rwsdk/include/d3d8/rtpitexd.h')
-rw-r--r--sdk/rwsdk/include/d3d8/rtpitexd.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/sdk/rwsdk/include/d3d8/rtpitexd.h b/sdk/rwsdk/include/d3d8/rtpitexd.h
new file mode 100644
index 00000000..39287bcd
--- /dev/null
+++ b/sdk/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 ) */