Annotation of doom/r_draw.h, revision 1.1.1.2

1.1       root        1: // Emacs style mode select   -*- C++ -*- 
                      2: //-----------------------------------------------------------------------------
                      3: //
                      4: // $Id:$
                      5: //
                      6: // Copyright (C) 1993-1996 by id Software, Inc.
                      7: //
1.1.1.2 ! root        8: // This program is free software; you can redistribute it and/or
        !             9: // modify it under the terms of the GNU General Public License
        !            10: // as published by the Free Software Foundation; either version 2
        !            11: // of the License, or (at your option) any later version.
1.1       root       12: //
1.1.1.2 ! root       13: // This program is distributed in the hope that it will be useful,
1.1       root       14: // but WITHOUT ANY WARRANTY; without even the implied warranty of
1.1.1.2 ! root       15: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            16: // GNU General Public License for more details.
1.1       root       17: //
                     18: // DESCRIPTION:
                     19: //     System specific interface stuff.
                     20: //
                     21: //-----------------------------------------------------------------------------
                     22: 
                     23: 
                     24: #ifndef __R_DRAW__
                     25: #define __R_DRAW__
                     26: 
                     27: 
                     28: #ifdef __GNUG__
                     29: #pragma interface
                     30: #endif
                     31: 
                     32: 
                     33: extern lighttable_t*   dc_colormap;
                     34: extern int             dc_x;
                     35: extern int             dc_yl;
                     36: extern int             dc_yh;
                     37: extern fixed_t         dc_iscale;
                     38: extern fixed_t         dc_texturemid;
                     39: 
                     40: // first pixel in a column
                     41: extern byte*           dc_source;              
                     42: 
                     43: 
                     44: // The span blitting interface.
                     45: // Hook in assembler or system specific BLT
                     46: //  here.
                     47: void   R_DrawColumn (void);
                     48: void   R_DrawColumnLow (void);
                     49: 
                     50: // The Spectre/Invisibility effect.
                     51: void   R_DrawFuzzColumn (void);
                     52: void   R_DrawFuzzColumnLow (void);
                     53: 
                     54: // Draw with color translation tables,
                     55: //  for player sprite rendering,
                     56: //  Green/Red/Blue/Indigo shirts.
                     57: void   R_DrawTranslatedColumn (void);
                     58: void   R_DrawTranslatedColumnLow (void);
                     59: 
                     60: void
                     61: R_VideoErase
                     62: ( unsigned     ofs,
                     63:   int          count );
                     64: 
                     65: extern int             ds_y;
                     66: extern int             ds_x1;
                     67: extern int             ds_x2;
                     68: 
                     69: extern lighttable_t*   ds_colormap;
                     70: 
                     71: extern fixed_t         ds_xfrac;
                     72: extern fixed_t         ds_yfrac;
                     73: extern fixed_t         ds_xstep;
                     74: extern fixed_t         ds_ystep;
                     75: 
                     76: // start of a 64*64 tile image
                     77: extern byte*           ds_source;              
                     78: 
                     79: extern byte*           translationtables;
                     80: extern byte*           dc_translation;
                     81: 
                     82: 
                     83: // Span blitting for rows, floor/ceiling.
                     84: // No Sepctre effect needed.
                     85: void   R_DrawSpan (void);
                     86: 
                     87: // Low resolution mode, 160x200?
                     88: void   R_DrawSpanLow (void);
                     89: 
                     90: 
                     91: void
                     92: R_InitBuffer
                     93: ( int          width,
                     94:   int          height );
                     95: 
                     96: 
                     97: // Initialize color translation tables,
                     98: //  for player rendering etc.
                     99: void   R_InitTranslationTables (void);
                    100: 
                    101: 
                    102: 
                    103: // Rendering function.
                    104: void R_FillBackScreen (void);
                    105: 
                    106: // If the view size is not full screen, draws a border around it.
                    107: void R_DrawViewBorder (void);
                    108: 
                    109: 
                    110: 
                    111: #endif
                    112: //-----------------------------------------------------------------------------
                    113: //
                    114: // $Log:$
                    115: //
                    116: //-----------------------------------------------------------------------------

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.