mirror of
https://github.com/id-Software/DOOM-iOS.git
synced 2026-03-20 17:10:11 +01:00
Source release for DOOM Classic for iOS version 2.1
This commit is contained in:
76
code/prboom/.svn/text-base/r_fps.h.svn-base
Normal file
76
code/prboom/.svn/text-base/r_fps.h.svn-base
Normal file
@@ -0,0 +1,76 @@
|
||||
/* Emacs style mode select -*- C++ -*-
|
||||
*-----------------------------------------------------------------------------
|
||||
*
|
||||
*
|
||||
* PrBoom: a Doom port merged with LxDoom and LSDLDoom
|
||||
* based on BOOM, a modified and improved DOOM engine
|
||||
* Copyright (C) 1999 by
|
||||
* id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman
|
||||
* Copyright (C) 1999-2000 by
|
||||
* Jess Haas, Nicolas Kalkhof, Colin Phipps, Florian Schulze, Andrey Budko
|
||||
* Copyright 2005, 2006 by
|
||||
* Florian Schulze, Colin Phipps, Neil Stevens, Andrey Budko
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
* 02111-1307, USA.
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* Uncapped framerate stuff
|
||||
*
|
||||
*---------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef __R_FPS__
|
||||
#define __R_FPS__
|
||||
|
||||
#include "doomstat.h"
|
||||
|
||||
extern int movement_smooth;
|
||||
|
||||
typedef struct {
|
||||
fixed_t viewx;
|
||||
fixed_t viewy;
|
||||
fixed_t viewz;
|
||||
angle_t viewangle;
|
||||
angle_t viewpitch;
|
||||
} view_vars_t;
|
||||
|
||||
extern view_vars_t original_view_vars;
|
||||
|
||||
typedef struct {
|
||||
unsigned int start;
|
||||
unsigned int next;
|
||||
unsigned int step;
|
||||
fixed_t frac;
|
||||
float msec;
|
||||
} tic_vars_t;
|
||||
|
||||
extern tic_vars_t tic_vars;
|
||||
|
||||
void R_InitInterpolation(void);
|
||||
void R_InterpolateView (player_t *player, fixed_t frac);
|
||||
|
||||
extern boolean WasRenderedInTryRunTics;
|
||||
|
||||
void R_ResetViewInterpolation ();
|
||||
void R_UpdateInterpolations();
|
||||
void R_StopAllInterpolations(void);
|
||||
void R_DoInterpolations(fixed_t smoothratio);
|
||||
void R_RestoreInterpolations();
|
||||
void R_ActivateSectorInterpolations();
|
||||
void R_ActivateThinkerInterpolations(thinker_t *th);
|
||||
void R_StopInterpolationIfNeeded(thinker_t *th);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user