Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
298 serge 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.
11
//
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.
16
//
17
// DESCRIPTION:
18
//  Refresh module, data I/O, caching, retrieval of graphics
19
//  by name.
20
//
21
//-----------------------------------------------------------------------------
22
 
23
 
24
#ifndef __R_DATA__
25
#define __R_DATA__
26
 
27
#include "r_defs.h"
28
#include "r_state.h"
29
 
30
#ifdef __GNUG__
31
#pragma interface
32
#endif
33
 
34
// Retrieve column data for span blitting.
35
byte*
36
R_GetColumn
37
( int		tex,
38
  int		col );
39
 
40
 
41
// I/O, setting up the stuff.
42
void R_InitData (void);
43
void R_PrecacheLevel (void);
44
 
45
 
46
// Retrieval.
47
// Floor/ceiling opaque texture tiles,
48
// lookup by name. For animation?
49
int R_FlatNumForName (char* name);
50
 
51
 
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);
56
 
57
#endif
58
//-----------------------------------------------------------------------------
59
//
60
// $Log:$
61
//
62
//-----------------------------------------------------------------------------