mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-12-18 00:11:55 +00:00
aaa1e1948f
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@524 fc73d0e0-1445-4013-8a0c-d673dee63da5
50 lines
2 KiB
C
50 lines
2 KiB
C
/*
|
|
Copyright (C) 1996-1997 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.
|
|
|
|
*/
|
|
|
|
// draw.h -- these are the only functions outside the refresh allowed
|
|
// to touch the vid buffer
|
|
|
|
void SWDraw_Init (void);
|
|
void SWDraw_ReInit (void);
|
|
void SWDraw_Shutdown(void);
|
|
void SWDraw_Character (int x, int y, unsigned int num);
|
|
void SWDraw_ImageColours (float r, float g, float b, float a);
|
|
void SWDraw_Image (float xp, float yp, float wp, float hp, float s1, float t1, float s2, float t2, qpic_t *pic);
|
|
void SWDraw_ColouredCharacter (int x, int y, unsigned int num);
|
|
void SWDraw_DebugChar (qbyte num);
|
|
void SWDraw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height);
|
|
void SWDraw_Pic (int x, int y, qpic_t *pic);
|
|
void SWDraw_TransPic (int x, int y, qpic_t *pic);
|
|
void SWDraw_TransPicTranslate (int x, int y, qpic_t *pic, qbyte *translation);
|
|
void SWDraw_ConsoleBackground (int lines);
|
|
void SWDraw_EditorBackground (int lines);
|
|
void SWDraw_BeginDisc (void);
|
|
void SWDraw_EndDisc (void);
|
|
void SWDraw_TileClear (int x, int y, int w, int h);
|
|
void SWDraw_Fill (int x, int y, int w, int h, int c);
|
|
void SWDraw_FadeScreen (void);
|
|
void SWDraw_String (int x, int y, const qbyte *str);
|
|
void SWDraw_Alt_String (int x, int y, const qbyte *str);
|
|
qpic_t *SWDraw_SafePicFromWad (char *name);
|
|
qpic_t *SWDraw_PicFromWad (char *name);
|
|
qpic_t *SWDraw_SafeCachePic (char *path);
|
|
qpic_t *SWDraw_CachePic (char *path);
|
|
void SWDraw_Crosshair(void);
|
|
|