1 /*
2 Copyright (C) 1994-1995 Apogee Software, Ltd.
3 
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8 
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 
13 See the GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
18 
19 */
20 //***************************************************************************
21 //
22 //    RT_SCALE.H - Scale-o-rama
23 //
24 //***************************************************************************
25 #ifndef _rt_scale_public
26 #define _rt_scale_public
27 
28 #include "rt_draw.h"
29 
30 extern  int dc_texturemid;
31 extern  int dc_iscale;
32 extern  int dc_invscale;
33 extern  int centeryclipped;
34 extern  int sprtopoffset;
35 extern  int dc_yl;
36 extern  int dc_yh;
37 extern  byte * dc_source;
38 extern  int transparentlevel;
39 
40 void ScaleShape (visobj_t * vis);
41 void ScaleWeapon (int xcent, int yoffset, int shapenum);
42 void DrawScreenSprite (int x, int y, int shapenum);
43 void SetLightLevel (int height);
44 void ScaleMaskedPost (byte * src, byte * buf);
45 void DrawScreenSizedSprite (int lump);
46 void ScaleTransparentPost (byte * src, byte * buf, int level);
47 void ScaleTransparentShape (visobj_t * sprite);
48 void ScaleSolidShape (visobj_t * sprite);
49 void DrawUnScaledSprite (int x, int y, int shapenum, int shade);
50 void DrawPositionedScaledSprite (int x, int y, int shapenum, int height, int type);
51 void DrawNormalSprite (int x, int y, int shapenum);
52 
53 #endif
54