XenevaOS
Loading...
Searching...
No Matches
i_scale.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Pixel-doubling scale up functions.
17//
18
19
20#ifndef __I_SCALE__
21#define __I_SCALE__
22
23#include "doomtype.h"
24
25void I_InitScale(byte *_src_buffer, byte *_dest_buffer, int _dest_pitch);
26void I_ResetScaleTables(byte *palette);
27
28// Scaled modes (direct multiples of 320x200)
29
35
36// Vertically stretched modes (320x200 -> multiples of 320x240)
37
43
44// Horizontally squashed modes (320x200 -> multiples of 256x200)
45
51
52#endif /* #ifndef __I_SCALE__ */
53
screen_mode_t mode_stretch_2x
Definition i_scale.c:613
screen_mode_t mode_scale_4x
Definition i_scale.c:231
screen_mode_t mode_stretch_3x
Definition i_scale.c:752
void I_InitScale(byte *_src_buffer, byte *_dest_buffer, int _dest_pitch)
Definition i_scale.c:61
screen_mode_t mode_stretch_1x
Definition i_scale.c:500
screen_mode_t mode_stretch_5x
Definition i_scale.c:1007
screen_mode_t mode_squash_5x
Definition i_scale.c:1445
screen_mode_t mode_squash_3x
Definition i_scale.c:1269
screen_mode_t mode_squash_1x
Definition i_scale.c:1087
screen_mode_t mode_squash_2x
Definition i_scale.c:1186
screen_mode_t mode_squash_4x
Definition i_scale.c:1380
void I_ResetScaleTables(byte *palette)
Definition i_scale.c:404
screen_mode_t mode_scale_1x
Definition i_scale.c:96
screen_mode_t mode_scale_3x
Definition i_scale.c:182
screen_mode_t mode_stretch_4x
Definition i_scale.c:917
screen_mode_t mode_scale_5x
Definition i_scale.c:284
screen_mode_t mode_scale_2x
Definition i_scale.c:137
Definition i_video.h:41