ref: d7f038fe0566c8239ec0b2ca1e56686476e82e09
dir: /src/rt_scale.h/
/* Copyright (C) 1994-1995 Apogee Software, Ltd. Copyright (C) 2002-2015 icculus.org, GNU/Linux port Copyright (C) 2017-2018 Steven LeVesque This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ //*************************************************************************** // // RT_SCALE.H - Scale-o-rama // //*************************************************************************** #ifndef _rt_scale_public #define _rt_scale_public #include "rt_draw.h" extern int dc_texturemid; extern int dc_iscale; extern int dc_invscale; extern int centeryclipped; extern int sprtopoffset; extern int dc_yl; extern int dc_yh; extern byte * dc_source; extern int transparentlevel; void ScaleShape (visobj_t * vis); void ScaleWeapon (int xcent, int yoffset, int shapenum); void DrawScreenSprite (int x, int y, int shapenum); void SetLightLevel (int height); void ScaleMaskedPost (byte * src, byte * buf); void DrawScreenSizedSprite (int lump); void ScaleTransparentPost (byte * src, byte * buf, int level); void ScaleTransparentShape (visobj_t * sprite); void ScaleSolidShape (visobj_t * sprite); void DrawUnScaledSprite (int x, int y, int shapenum, int shade); void DrawPositionedScaledSprite (int x, int y, int shapenum, int height, int type); void DrawNormalSprite (int x, int y, int shapenum); #endif