summaryrefslogtreecommitdiff
path: root/src/v_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v_video.h')
-rw-r--r--src/v_video.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/v_video.h b/src/v_video.h
index 0c722478..01791d6c 100644
--- a/src/v_video.h
+++ b/src/v_video.h
@@ -46,6 +46,13 @@ extern int dirtybox[4];
extern byte *tinttable;
+// haleyjd 08/28/10: implemented for Strife support
+// haleyjd 08/28/10: Patch clipping callback, implemented to support Choco
+// Strife.
+typedef boolean (*vpatchclipfunc_t)(patch_t *, int, int);
+void V_SetPatchClipCallback(vpatchclipfunc_t func);
+
+
// Allocates buffer screens, call before R_Init.
void V_Init (void);
@@ -60,7 +67,7 @@ void V_DrawPatchFlipped(int x, int y, patch_t *patch);
void V_DrawTLPatch(int x, int y, patch_t *patch);
void V_DrawAltTLPatch(int x, int y, patch_t * patch);
void V_DrawShadowedPatch(int x, int y, patch_t *patch);
-
+void V_DrawXlaPatch(int x, int y, patch_t * patch); // villsa [STRIFE]
void V_DrawPatchDirect(int x, int y, patch_t *patch);
// Draw a linear block of pixels into the view buffer.
@@ -92,5 +99,11 @@ void V_ScreenShot(char *format);
void V_LoadTintTable(void);
+// villsa [STRIFE]
+// Load the lookup table for translucency calculations from the XLATAB
+// lump.
+
+void V_LoadXlaTable(void);
+
#endif