Oops.
[AROS-Contrib.git] / Games / Doom / r_data.h
blob5050c5ffa2b6813ecbf41865042ca78bdfabe2c6
1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
3 //
4 // $Id$
5 //
6 // Copyright (C) 1993-1996 by id Software, Inc.
7 //
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
15 // for more details.
17 // DESCRIPTION:
18 // Refresh module, data I/O, caching, retrieval of graphics
19 // by name.
21 //-----------------------------------------------------------------------------
24 #ifndef __R_DATA__
25 #define __R_DATA__
27 #include "r_defs.h"
28 #include "r_state.h"
30 #ifdef __GNUG__
31 #pragma interface
32 #endif
34 // Retrieve column data for span blitting.
35 byte*
36 R_GetColumn
37 ( int tex,
38 int col );
41 // I/O, setting up the stuff.
42 void R_InitData (void);
43 void R_PrecacheLevel (void);
46 // Retrieval.
47 // Floor/ceiling opaque texture tiles,
48 // lookup by name. For animation?
49 int R_FlatNumForName (char* name);
52 // Called by P_Ticker for switches and animations,
53 // returns the texture number for the texture name.
54 int R_TextureNumForName (char *name);
55 int R_CheckTextureNumForName (char *name);
57 #endif
58 //-----------------------------------------------------------------------------
60 // $Log$
61 // Revision 1.1 2000/02/29 18:21:06 stegerg
62 // Doom port based on ADoomPPC. Read README.AROS!
65 //-----------------------------------------------------------------------------