- While doing the interpolation rewrite I noticed that DScroller and DPolyAction
were doing some things in their destructor that needed to be done in the Destroy method. - Rewrote the interpolation code. Interpolations are no longer some objects that are separate from the rest of the engine. Instead, they are owned by the thinkers starting them. Also, polyobjects only spawn a single interpolation for each polyobject instead of a single one for each vertex. Also, different types of interpolation objects are used for different types of interpolation so that they can do some additional work if eventually needed. SVN r1018 (trunk)
This commit is contained in:
parent
7ab48d2de6
commit
acab6d9b30
22 changed files with 1075 additions and 630 deletions
|
|
@ -60,6 +60,7 @@
|
|||
#include "sbar.h"
|
||||
#include "p_setup.h"
|
||||
#include "r_translate.h"
|
||||
#include "r_interpolate.h"
|
||||
|
||||
void P_SpawnSlopeMakers (FMapThing *firstmt, FMapThing *lastmt);
|
||||
void P_SetSlopes ();
|
||||
|
|
@ -3194,7 +3195,7 @@ void P_SetupLevel (char *lumpname, int position)
|
|||
|
||||
// Free all level data from the previous map
|
||||
P_FreeLevelData ();
|
||||
clearinterpolations(); // [RH] Nothing to interpolate on a fresh level.
|
||||
interpolator.ClearInterpolations(); // [RH] Nothing to interpolate on a fresh level.
|
||||
|
||||
MapData * map = P_OpenMapData(lumpname);
|
||||
if (map == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue