wolf3d-ios/wolf3d/code/wolf/wolf_renderer.h

62 lines
1.8 KiB
C

/*
Copyright (C) 2004 Michael Liebscher
Copyright (C) 1997-2001 Id Software, Inc.
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, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*
* wolf_renderer.h: Wolfenstein3-D renderer.
*
* Author: Michael Liebscher <johnnycanuck@users.sourceforge.net>
* Date: 2004
*
* Acknowledgement:
* Portion of this code was derived from Quake II, and was originally
* written by Id Software, Inc.
*
*/
/*
Notes:
This module is implemented by wolf_renderer.c and wolf_opengl.c
*/
#ifndef __WOLF_RENDERER_H__
#define __WOLF_RENDERER_H__
extern void R_DrawBox( int x, int y, int w, int h, W32 color );
extern void R_DrawBoxFloat( float x, float y, float w, float h, W32 color );
extern void R_Draw_Door( int x, int y, float z1, float z2, _boolean vertical, _boolean backside, int tex, int amount );
extern void R_Draw_Wall( float x, float y, float z1, float z2, int type, int tex );
extern void R_DrawSprites( void );
extern void R_DrawPsyched( W32 percent );
extern void R_DrawHUD( void );
extern void R_DrawNumber( int x, int y, int number );
extern void R_put_line( int x, int y, const char *string );
#endif /* __WOLF_RENDERER_H__ */