From 0cc2ad38090b1b286ded01321afc0e199b37372c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 18 Dec 2006 18:15:47 +0000 Subject: x3, x4 aspect ratio corrected scale functions. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 786 --- src/i_scale.c | 282 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 282 insertions(+) (limited to 'src/i_scale.c') diff --git a/src/i_scale.c b/src/i_scale.c index 29bc8731..deda0551 100644 --- a/src/i_scale.c +++ b/src/i_scale.c @@ -402,3 +402,285 @@ void I_Stretch2x(int x1, int y1, int x2, int y2) } } +static void WriteLine3x(byte *dest, byte *src) +{ + int x; + + for (x=0; x 720) + + for (y=0; y 960) + + for (y=0; y