Skip to content

Commit

Permalink
Modified hq2x filtering added
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 22, 2004
1 parent 19f3e42 commit 6840c04
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/Include/de_graphics.h
Expand Up @@ -26,6 +26,7 @@
#include "gl_main.h"
#include "gl_draw.h"
#include "gl_tex.h"
#include "gl_hq2x.h"
#include "gl_font.h"
#include "gl_model.h"
#include "gl_pcx.h"
Expand Down
29 changes: 29 additions & 0 deletions doomsday/Include/gl_hq2x.h
@@ -0,0 +1,29 @@
/* DE1: $Id$
* Copyright (C) 2004 Jaakko Keränen <jaakko.keranen@iki.fi>
*
* 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. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not: http://www.opensource.org/
*/

/*
* gl_hq2x.h: High-Quality 2x Graphics Resizing
*/

#ifndef __DOOMSDAY_HQ2X_H__
#define __DOOMSDAY_HQ2X_H__

void GL_InitSmartFilter(void);
void GL_SmartFilter2x(unsigned char *pIn, unsigned char *pOut,
int Xres, int Yres, int BpL);

#endif
1 change: 1 addition & 0 deletions doomsday/Include/gl_tex.h
Expand Up @@ -65,6 +65,7 @@ typedef enum lightingtex_e {

extern int mipmapping, linearRaw, texQuality, filterSprites;
extern int texMagMode;
extern int useSmartFilter;
extern boolean loadExtAlways;
extern float texw, texh;
extern int texmask;
Expand Down

0 comments on commit 6840c04

Please sign in to comment.