2006-02-24 04:48:15 +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 (R_*) module, global header.
|
|
|
|
// All the rendering/drawing stuff is here.
|
|
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef __R_LOCAL_H__
|
|
|
|
#define __R_LOCAL_H__
|
|
|
|
|
|
|
|
// Binary Angles, sine/cosine/atan lookups.
|
|
|
|
#include "tables.h"
|
|
|
|
|
|
|
|
// Screen size related parameters.
|
|
|
|
#include "doomdef.h"
|
|
|
|
|
|
|
|
// Include the refresh/render data structs.
|
|
|
|
#include "r_data.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// Separate header file for each module.
|
|
|
|
//
|
|
|
|
#include "r_main.h"
|
|
|
|
#include "r_bsp.h"
|
|
|
|
#include "r_segs.h"
|
|
|
|
#include "r_plane.h"
|
|
|
|
#include "r_data.h"
|
|
|
|
#include "r_things.h"
|
|
|
|
#include "r_draw.h"
|
|
|
|
|
2006-05-18 01:42:50 +00:00
|
|
|
// r_anim.cpp
|
|
|
|
|
|
|
|
void R_InitPicAnims ();
|
|
|
|
void R_AddSimpleAnim (int picnum, int animcount, int animtype, DWORD animspeed /* in ms */, DWORD speedrange=0);
|
|
|
|
void R_UpdateAnimations (DWORD mstime);
|
|
|
|
|
2006-02-24 04:48:15 +00:00
|
|
|
#endif // __R_LOCAL_H__
|