mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Another change modifying saved game format in SW:
Increase MAXINTERPOLATIONS from 1024 to MAXSPRITES.
This commit is contained in:
parent
bf0ace3748
commit
25be14ccc0
1 changed files with 10 additions and 1 deletions
|
@ -25,13 +25,19 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
BEGIN_SW_NS
|
BEGIN_SW_NS
|
||||||
|
|
||||||
|
#ifndef INTERP_H
|
||||||
|
|
||||||
|
#define INTERP_H
|
||||||
|
|
||||||
|
#include "build.h"
|
||||||
|
|
||||||
#define SHORT_MAXINTERPOLATIONS 256
|
#define SHORT_MAXINTERPOLATIONS 256
|
||||||
extern short short_numinterpolations;
|
extern short short_numinterpolations;
|
||||||
extern short short_oldipos[SHORT_MAXINTERPOLATIONS];
|
extern short short_oldipos[SHORT_MAXINTERPOLATIONS];
|
||||||
extern short short_bakipos[SHORT_MAXINTERPOLATIONS];
|
extern short short_bakipos[SHORT_MAXINTERPOLATIONS];
|
||||||
extern short *short_curipos[SHORT_MAXINTERPOLATIONS];
|
extern short *short_curipos[SHORT_MAXINTERPOLATIONS];
|
||||||
|
|
||||||
#define MAXINTERPOLATIONS 1024
|
#define MAXINTERPOLATIONS MAXSPRITES
|
||||||
extern int numinterpolations;
|
extern int numinterpolations;
|
||||||
extern int oldipos[MAXINTERPOLATIONS];
|
extern int oldipos[MAXINTERPOLATIONS];
|
||||||
extern int bakipos[MAXINTERPOLATIONS];
|
extern int bakipos[MAXINTERPOLATIONS];
|
||||||
|
@ -42,4 +48,7 @@ void stopinterpolation(int *posptr);
|
||||||
void updateinterpolations(void);
|
void updateinterpolations(void);
|
||||||
void dointerpolations(int smoothratio);
|
void dointerpolations(int smoothratio);
|
||||||
void restoreinterpolations(void);
|
void restoreinterpolations(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
END_SW_NS
|
END_SW_NS
|
||||||
|
|
Loading…
Reference in a new issue