mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-30 07:31:13 +00:00
fffb8897b9
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@20 fc73d0e0-1445-4013-8a0c-d673dee63da5
48 lines
1.9 KiB
C
48 lines
1.9 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_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);
|
|
|