summaryrefslogtreecommitdiffstats
path: root/sdk/rwsdk/include/d3d8/rtsplpvs.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/rtsplpvs.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/rtsplpvs.h')
-rw-r--r--sdk/rwsdk/include/d3d8/rtsplpvs.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/sdk/rwsdk/include/d3d8/rtsplpvs.h b/sdk/rwsdk/include/d3d8/rtsplpvs.h
new file mode 100644
index 00000000..38ae118f
--- /dev/null
+++ b/sdk/rwsdk/include/d3d8/rtsplpvs.h
@@ -0,0 +1,65 @@
+
+/***************************************************************************
+ * *
+ * Module : rtsplpvs.h *
+ * *
+ * Purpose : To generate pvs data for a world froma spline *
+ * *
+ **************************************************************************/
+
+#ifndef RTSPLINEPVS_H
+#define RTSPLINEPVS_H
+
+/**
+ * \defgroup rtsplinepvs RtSplinePVS
+ * \ingroup rttool
+ *
+ * Spline PVS Toolkit for RenderWare.
+ */
+
+/****************************************************************************
+ Includes
+ */
+
+#include "rwcore.h"
+#include "rpworld.h"
+#include "rpspline.h"
+
+/* RWPUBLIC */
+
+/****************************************************************************
+ Defines
+ */
+
+/****************************************************************************
+ Global Types
+ */
+
+/****************************************************************************
+ Function prototypes
+ */
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+extern RpWorld *
+RtSplinePVSConstruct(RpWorld * world,
+ RpSpline *spline, RwInt32 samples);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+/* RWPUBLICEND */
+
+/* for back compatibility */
+#define RtSplinePVSCreate(_world, _raster, _zraster, \
+ _mindist, _maxdist, _spline, _samples) \
+ RtSplinePVSConstruct(_world, \
+ _spline, _samples)
+
+
+#endif /* RTSPLINEPVS_H */