mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Another change modifying saved game format in SW:
Increase MAXINTERPOLATIONS from 1024 to MAXSPRITES. # Conflicts: # source/sw/src/interp.cpp # source/sw/src/interp.h
This commit is contained in:
parent
04bf8499e7
commit
e80888523e
2 changed files with 9 additions and 2 deletions
|
@ -33,7 +33,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
|||
|
||||
BEGIN_SW_NS
|
||||
|
||||
#define MAXINTERPOLATIONS 1024
|
||||
int numinterpolations = 0, startofdynamicinterpolations = 0;
|
||||
int oldipos[MAXINTERPOLATIONS];
|
||||
int bakipos[MAXINTERPOLATIONS];
|
||||
|
|
|
@ -25,13 +25,19 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
|
|||
//-------------------------------------------------------------------------
|
||||
BEGIN_SW_NS
|
||||
|
||||
#ifndef INTERP_H
|
||||
|
||||
#define INTERP_H
|
||||
|
||||
#include "build.h"
|
||||
|
||||
#define SHORT_MAXINTERPOLATIONS 256
|
||||
extern short short_numinterpolations, short_startofdynamicinterpolations;
|
||||
extern short short_oldipos[SHORT_MAXINTERPOLATIONS];
|
||||
extern short short_bakipos[SHORT_MAXINTERPOLATIONS];
|
||||
extern short *short_curipos[SHORT_MAXINTERPOLATIONS];
|
||||
|
||||
#define MAXINTERPOLATIONS 1024
|
||||
#define MAXINTERPOLATIONS MAXSPRITES
|
||||
extern int numinterpolations, startofdynamicinterpolations;
|
||||
extern int oldipos[MAXINTERPOLATIONS];
|
||||
extern int bakipos[MAXINTERPOLATIONS];
|
||||
|
@ -42,4 +48,6 @@ void stopinterpolation(int *posptr);
|
|||
void updateinterpolations(void);
|
||||
void dointerpolations(int smoothratio);
|
||||
void restoreinterpolations(void);
|
||||
|
||||
#endif
|
||||
END_SW_NS
|
||||
|
|
Loading…
Reference in a new issue