summaryrefslogtreecommitdiff
path: root/src/i_scale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i_scale.h')
-rw-r--r--src/i_scale.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/i_scale.h b/src/i_scale.h
index 578b2b36..d90f63f6 100644
--- a/src/i_scale.h
+++ b/src/i_scale.h
@@ -20,7 +20,7 @@
// 02111-1307, USA.
//
// DESCRIPTION:
-// System specific interface stuff.
+// Pixel-doubling scale up functions.
//
//-----------------------------------------------------------------------------
@@ -30,16 +30,22 @@
#include "doomtype.h"
+void I_InitStretchTables(byte *palette);
void I_InitScale(byte *_src_buffer, byte *_dest_buffer, int _dest_pitch);
+
+// Normal pixel-perfect doubling functions.
+
void I_Scale1x(int x1, int y1, int x2, int y2);
void I_Scale2x(int x1, int y1, int x2, int y2);
void I_Scale3x(int x1, int y1, int x2, int y2);
void I_Scale4x(int x1, int y1, int x2, int y2);
+
+// Aspect ratio correcting scale up functions
+
void I_Stretch1x(int x1, int y1, int x2, int y2);
void I_Stretch2x(int x1, int y1, int x2, int y2);
void I_Stretch3x(int x1, int y1, int x2, int y2);
void I_Stretch4x(int x1, int y1, int x2, int y2);
-void I_InitStretchTables(byte *palette);
#endif /* #ifndef __I_SCALE__ */