summaryrefslogtreecommitdiff
path: root/3dc/win95/KRENDER.H
diff options
context:
space:
mode:
authorRebellion Developments <rebellion@nomail>2000-03-16 11:25:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-19 05:45:17 +0200
commit218ca90543758a20ac326e444ca0643174ca7384 (patch)
tree16bfe3e5307f9f515489000f28728224291a0e3b /3dc/win95/KRENDER.H
Import Aliens vs Predator - Gold (Build 116)
Source code release, imported from: https://www.gamefront.com/games/aliens-vs-predator-3/file/avp-gold-complete-source-code All text files were converted to Unix format.
Diffstat (limited to '3dc/win95/KRENDER.H')
-rw-r--r--3dc/win95/KRENDER.H55
1 files changed, 55 insertions, 0 deletions
diff --git a/3dc/win95/KRENDER.H b/3dc/win95/KRENDER.H
new file mode 100644
index 0000000..ebd5dc1
--- /dev/null
+++ b/3dc/win95/KRENDER.H
@@ -0,0 +1,55 @@
+/* If this define is set to a non-zero value then the new scandraws will be used */
+#define KRENDER_ON 1
+
+/* prototypes of the replacement scandraw functions */
+extern void KR_ScanDraw_Item_2dTexturePolygon_VideoModeType_8(int *itemptr);
+extern void KR_ScanDraw_Item_Gouraud2dTexturePolygon_VideoModeType_8(int *itemptr);
+extern void KR_ScanDraw_Item_Gouraud3dTexturePolygon_Linear_S_VideoModeType_8(int *itemptr);
+extern void MotionTrackerRotateBlit(void);
+extern void MotionTrackerRotateBlit8(void);
+
+
+/*KJL*****************************************************
+* Palette fading; a value of 65536 corresponds to normal *
+* palette, 0 is completely other (eg. all white). *
+*****************************************************KJL*/
+extern void SetPaletteFadeLevel(int fadeLevel);
+extern void FadeBetweenPalettes(unsigned char *palPtr, int fadeLevel);
+extern void FadePaletteToWhite(unsigned char *palPtr,int fadeLevel);
+
+/*KJL*********************************************
+* Fill the screen with black & flip then repeat. *
+*********************************************KJL*/
+extern void BlankScreen(void);
+
+
+/* KJL 16:06:24 04/04/97 - To choose between laced and full screen modes */
+extern int KRenderDrawMode;
+
+
+
+
+
+
+extern void KDraw_Item_GouraudPolygon(int *itemptr);
+extern void KDraw_Item_2dTexturePolygon(int *itemptr);
+extern void KDraw_Item_Gouraud2dTexturePolygon(int *itemptr);
+extern void KDraw_Item_Gouraud3dTexturePolygon(int *itemptr);
+
+
+
+
+
+
+
+
+
+
+
+
+extern void MakeViewingWindowSmaller(void);
+extern void MakeViewingWindowLarger(void);
+
+/* routines to draw a star filled sky */
+extern void CreateStarArray(void);
+extern void DrawStarfilledSky(void); \ No newline at end of file