diff options
author | Simon Howard | 2008-09-20 19:54:44 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-20 19:54:44 +0000 |
commit | 96cfb635bef9e156f1c304e7f68b4bf0eeead891 (patch) | |
tree | 4069faf596add0450a1f4134755ee00f85941c54 /src/v_video.h | |
parent | cb4c334c162601fa2e2675e293e2e4c7a6ae57e4 (diff) | |
download | chocolate-doom-96cfb635bef9e156f1c304e7f68b4bf0eeead891.tar.gz chocolate-doom-96cfb635bef9e156f1c304e7f68b4bf0eeead891.tar.bz2 chocolate-doom-96cfb635bef9e156f1c304e7f68b4bf0eeead891.zip |
Add a dest_buffer pointer for the v_video code, and V_UseBuffer to allow
that to be temporarily changed. Make V_DrawBlock always draw to the
screen.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1246
Diffstat (limited to 'src/v_video.h')
-rw-r--r-- | src/v_video.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/v_video.h b/src/v_video.h index 5312619a..969024c9 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -76,14 +76,8 @@ V_DrawPatchDirect // Draw a linear block of pixels into the view buffer. -void -V_DrawBlock -( int x, - int y, - int scrn, - int width, - int height, - byte* src ); + +void V_DrawBlock(int x, int y, int width, int height, byte *src); // Reads a linear block of pixels into the view buffer. void @@ -105,6 +99,7 @@ V_MarkRect void V_ScreenShot(void); +void V_UseBuffer(byte *buffer); void V_RestoreBuffer(void); #endif |