1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
4 // Copyright(C) 1993-1996 Id Software, Inc.
5 // Copyright(C) 2005 Simon Howard
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 // System specific interface stuff.
25 //-----------------------------------------------------------------------------
34 extern lighttable_t
* dc_colormap
;
38 extern fixed_t dc_iscale
;
39 extern fixed_t dc_texturemid
;
41 // first pixel in a column
42 extern byte
* dc_source
;
45 // The span blitting interface.
46 // Hook in assembler or system specific BLT
48 void R_DrawColumn (void);
49 void R_DrawColumnLow (void);
51 // The Spectre/Invisibility effect.
52 void R_DrawFuzzColumn (void);
53 void R_DrawFuzzColumnLow (void);
55 // Draw with color translation tables,
56 // for player sprite rendering,
57 // Green/Red/Blue/Indigo shirts.
58 void R_DrawTranslatedColumn (void);
59 void R_DrawTranslatedColumnLow (void);
70 extern lighttable_t
* ds_colormap
;
72 extern fixed_t ds_xfrac
;
73 extern fixed_t ds_yfrac
;
74 extern fixed_t ds_xstep
;
75 extern fixed_t ds_ystep
;
77 // start of a 64*64 tile image
78 extern byte
* ds_source
;
80 extern byte
* translationtables
;
81 extern byte
* dc_translation
;
84 // Span blitting for rows, floor/ceiling.
85 // No Sepctre effect needed.
86 void R_DrawSpan (void);
88 // Low resolution mode, 160x200?
89 void R_DrawSpanLow (void);
98 // Initialize color translation tables,
99 // for player rendering etc.
100 void R_InitTranslationTables (void);
104 // Rendering function.
105 void R_FillBackScreen (void);
107 // If the view size is not full screen, draws a border around it.
108 void R_DrawViewBorder (void);