Initial checkin of software rendering bits and bobs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@20 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
3a7c75319a
commit
fffb8897b9
55 changed files with 38138 additions and 0 deletions
48
engine/sw/sw_draw.h
Normal file
48
engine/sw/sw_draw.h
Normal file
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
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);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue