1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
18 // System specific interface stuff.
20 //-----------------------------------------------------------------------------
32 extern lighttable_t* dc_colormap;
36 extern fixed_t dc_iscale;
37 extern fixed_t dc_texturemid;
39 // first pixel in a column
40 extern byte* dc_source;
43 // The span blitting interface.
44 // Hook in assembler or system specific BLT
46 void R_DrawColumn (void);
47 void R_DrawColumnLow (void);
49 // The Spectre/Invisibility effect.
50 void R_DrawFuzzColumn (void);
51 void R_DrawFuzzColumnLow (void);
53 // Draw with color translation tables,
54 // for player sprite rendering,
55 // Green/Red/Blue/Indigo shirts.
56 void R_DrawTranslatedColumn (void);
57 void R_DrawTranslatedColumnLow (void);
68 extern lighttable_t* ds_colormap;
70 extern fixed_t ds_xfrac;
71 extern fixed_t ds_yfrac;
72 extern fixed_t ds_xstep;
73 extern fixed_t ds_ystep;
75 // start of a 64*64 tile image
76 extern byte* ds_source;
78 extern byte* translationtables;
79 extern byte* dc_translation;
82 // Span blitting for rows, floor/ceiling.
83 // No Sepctre effect needed.
84 void R_DrawSpan (void);
86 // Low resolution mode, 160x200?
87 void R_DrawSpanLow (void);
96 // Initialize color translation tables,
97 // for player rendering etc.
98 void R_InitTranslationTables (void);
102 // Rendering function.
103 void R_FillBackScreen (void);
105 // If the view size is not full screen, draws a border around it.
106 void R_DrawViewBorder (void);
111 //-----------------------------------------------------------------------------
115 //-----------------------------------------------------------------------------