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 //-----------------------------------------------------------------------------
27 #include "amiga_macros.h"
35 extern lighttable_t
* dc_colormap
;
39 extern fixed_t dc_iscale
;
40 extern fixed_t dc_texturemid
;
42 // first pixel in a column
43 extern byte
* dc_source
;
46 void resinit_r_draw (void);
49 // The span blitting interface.
50 // Hook in assembler or system specific BLT
52 void R_DrawColumn (void);
53 void R_DrawColumnLow (void);
55 // The Spectre/Invisibility effect.
56 void R_DrawFuzzColumn (void);
57 void R_DrawFuzzColumnLow (void);
59 // Draw with color translation tables,
60 // for player sprite rendering,
61 // Green/Red/Blue/Indigo shirts.
62 void R_DrawTranslatedColumn (void);
63 void R_DrawTranslatedColumnLow (void);
74 extern lighttable_t
* ds_colormap
;
76 extern fixed_t ds_xfrac
;
77 extern fixed_t ds_yfrac
;
78 extern fixed_t ds_xstep
;
79 extern fixed_t ds_ystep
;
81 // start of a 64*64 tile image
82 extern byte
* ds_source
;
84 extern byte
* translationtables
;
85 extern byte
* dc_translation
;
88 // Span blitting for rows, floor/ceiling.
89 // No Sepctre effect needed.
90 void R_DrawSpan (void);
92 // Low resolution mode, 160x200?
93 void R_DrawSpanLow (void);
101 // Initialize color translation tables,
102 // for player rendering etc.
103 void R_InitTranslationTables (void);
107 // Rendering function.
108 void R_FillBackScreen (void);
110 // If the view size is not full screen, draws a border around it.
111 void R_DrawViewBorder (void);
116 //-----------------------------------------------------------------------------
119 // Revision 1.1 2000/02/29 18:21:06 stegerg
120 // Doom port based on ADoomPPC. Read README.AROS!
123 //-----------------------------------------------------------------------------