XenevaOS
Loading...
Searching...
No Matches
r_data.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Refresh module, data I/O, caching, retrieval of graphics
17// by name.
18//
19
20
21#ifndef __R_DATA__
22#define __R_DATA__
23
24#include "r_defs.h"
25#include "r_state.h"
26
27
28// Retrieve column data for span blitting.
29byte*
31( int tex,
32 int col );
33
34
35// I/O, setting up the stuff.
36void R_InitData (void);
37void R_PrecacheLevel (void);
38
39
40// Retrieval.
41// Floor/ceiling opaque texture tiles,
42// lookup by name. For animation?
43int R_FlatNumForName (char* name);
44
45
46// Called by P_Ticker for switches and animations,
47// returns the texture number for the texture name.
48int R_TextureNumForName (char *name);
50
51#endif
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char * name
Definition drm_crtc.h:1242
int R_TextureNumForName(char *name)
Definition r_data.c:775
int R_CheckTextureNumForName(char *name)
Definition r_data.c:744
void R_PrecacheLevel(void)
Definition r_data.c:800
void R_InitData(void)
Definition r_data.c:703
byte * R_GetColumn(int tex, int col)
Definition r_data.c:384
int R_FlatNumForName(char *name)
Definition r_data.c:720