aboutsummaryrefslogtreecommitdiff
path: root/Src/Winamp/plush/PL_CONF.H
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Winamp/plush/PL_CONF.H
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/Winamp/plush/PL_CONF.H')
-rw-r--r--Src/Winamp/plush/PL_CONF.H45
1 files changed, 45 insertions, 0 deletions
diff --git a/Src/Winamp/plush/PL_CONF.H b/Src/Winamp/plush/PL_CONF.H
new file mode 100644
index 00000000..e5be4287
--- /dev/null
+++ b/Src/Winamp/plush/PL_CONF.H
@@ -0,0 +1,45 @@
+/******************************************************************************
+ pl_conf.h
+ PLUSH 3D VERSION 1.2 CONFIGURATION HEADER
+ Copyright (c) 1996-2000, Justin Frankel
+******************************************************************************/
+
+#ifndef _PL_CONF_H_
+#define _PL_CONF_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Maximum children per object */
+#define PL_MAX_CHILDREN (16)
+
+/* Maximum lights per scene -- if you exceed this, they will be ignored */
+#define PL_MAX_LIGHTS (32)
+
+/* Maximum number of triangles per scene -- if you exceed this, entire
+objects will be ignored. You can increase this if you need it. It takes
+approximately 8*PL_MAX_TRIANGLES bytes of memory. i.e. the default of
+16384 consumes 128kbytes of memory. not really a big deal,
+*/
+
+#define PL_MAX_TRIANGLES (16384)
+
+typedef float pl_ZBuffer; /* z-buffer type (must be float) */
+typedef float pl_Float; /* General floating point */
+typedef float pl_IEEEFloat32; /* IEEE 32 bit floating point */
+typedef signed long int pl_sInt32; /* signed 32 bit integer */
+typedef unsigned long int pl_uInt32; /* unsigned 32 bit integer */
+typedef signed short int pl_sInt16; /* signed 16 bit integer */
+typedef unsigned short int pl_uInt16; /* unsigned 16 bit integer */
+typedef signed int pl_sInt; /* signed optimal integer */
+typedef unsigned int pl_uInt; /* unsigned optimal integer */
+typedef int pl_Bool; /* boolean */
+typedef unsigned char pl_uChar; /* unsigned 8 bit integer */
+typedef signed char pl_sChar; /* signed 8 bit integer */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !_PL_CONF_H_ */