summaryrefslogtreecommitdiff
path: root/src/v_video.h
diff options
context:
space:
mode:
authorSimon Howard2008-09-20 19:46:11 +0000
committerSimon Howard2008-09-20 19:46:11 +0000
commitcb4c334c162601fa2e2675e293e2e4c7a6ae57e4 (patch)
treeae88c01b0478ca87d2b5ee3a8d316b03b2af0b5e /src/v_video.h
parente2e44080a665c68dffdf1863fd1902be395adb10 (diff)
downloadchocolate-doom-cb4c334c162601fa2e2675e293e2e4c7a6ae57e4.tar.gz
chocolate-doom-cb4c334c162601fa2e2675e293e2e4c7a6ae57e4.tar.bz2
chocolate-doom-cb4c334c162601fa2e2675e293e2e4c7a6ae57e4.zip
Add I_VideoBuffer variable for pointer to screen buffer used by
i_video.c code. Make V_CopyRect always blit to the screen. Subversion-branch: /branches/raven-branch Subversion-revision: 1245
Diffstat (limited to 'src/v_video.h')
-rw-r--r--src/v_video.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/v_video.h b/src/v_video.h
index a993fd1d..5312619a 100644
--- a/src/v_video.h
+++ b/src/v_video.h
@@ -54,17 +54,11 @@ extern const byte gammatable[5][256];
// Allocates buffer screens, call before R_Init.
void V_Init (void);
+// Draw a block from the specified source screen to the screen.
-void
-V_CopyRect
-( int srcx,
- int srcy,
- int srcscrn,
- int width,
- int height,
- int destx,
- int desty,
- int destscrn );
+void V_CopyRect(int srcx, int srcy, byte *source,
+ int width, int height,
+ int destx, int desty);
void
V_DrawPatch
@@ -111,4 +105,6 @@ V_MarkRect
void V_ScreenShot(void);
+void V_RestoreBuffer(void);
+
#endif