2016-03-01 15:47:10 +00:00
|
|
|
// Emacs style mode select -*- C++ -*-
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// $Id:$
|
|
|
|
//
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
//
|
|
|
|
// This source is available for distribution and/or modification
|
|
|
|
// only under the terms of the DOOM Source Code License as
|
|
|
|
// published by id Software. All rights reserved.
|
|
|
|
//
|
|
|
|
// The source is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
// DESCRIPTION:
|
|
|
|
// Refresh/render internal state variables (global).
|
|
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __R_STATE_H__
|
|
|
|
#define __R_STATE_H__
|
|
|
|
|
|
|
|
// Need data structure definitions.
|
|
|
|
#include "doomtype.h"
|
|
|
|
#include "r_defs.h"
|
|
|
|
#include "r_data/sprites.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// Refresh internal data structures,
|
|
|
|
// for rendering.
|
|
|
|
//
|
|
|
|
|
2017-03-11 10:31:09 +00:00
|
|
|
extern int viewwindowx;
|
|
|
|
extern int viewwindowy;
|
|
|
|
extern int viewwidth;
|
|
|
|
extern int viewheight;
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
// Lookup tables for map data.
|
|
|
|
//
|
|
|
|
extern TArray<spritedef_t> sprites;
|
2017-03-09 19:19:55 +00:00
|
|
|
extern uint32_t NumStdSprites;
|
2016-03-01 15:47:10 +00:00
|
|
|
|
2017-01-09 00:40:14 +00:00
|
|
|
extern TArray<vertexdata_t> vertexdatas;
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
// POV data.
|
|
|
|
//
|
|
|
|
|
|
|
|
int R_FindSkin (const char *name, int pclass); // [RH] Find a skin
|
|
|
|
|
|
|
|
#endif // __R_STATE_H__
|