- removed some unused bits of code.

This commit is contained in:
Christoph Oelckers 2018-12-29 12:52:34 +01:00
parent 3fbc55a8dd
commit 20184e1e99
5 changed files with 1 additions and 28 deletions

View file

@ -19,23 +19,9 @@
//
#include "info.h"
#include "a_pickups.h"
#include "p_local.h"
#include "gi.h"
#include "a_sharedglobal.h"
#include "sbar.h"
#include "a_morph.h"
#include "doomstat.h"
#include "serializer.h"
#include "p_enemy.h"
#include "d_player.h"
#include "r_data/sprites.h"
#include "g_levellocals.h"
#include "actor.h"
#include "vm.h"
static FRandom pr_morphmonst ("MorphMonster");
bool P_MorphActor(AActor *activator, AActor *victim, PClassActor *ptype, PClassActor *mtype, int duration, int style, PClassActor *enter_flash, PClassActor *exit_flash)
{
IFVIRTUALPTR(victim, AActor, Morph)

View file

@ -251,7 +251,6 @@ struct FMugShotState
TArray<FMugShotFrame> Frames;
FMugShotState(FName name);
~FMugShotState();
void Tick();
void Reset();
FMugShotFrame &GetCurrentFrame() { return Frames[Position]; }

View file

@ -126,16 +126,6 @@ FMugShotState::FMugShotState(FName name)
Random = M_Random();
}
//===========================================================================
//
// MugShotState destructor
//
//===========================================================================
FMugShotState::~FMugShotState()
{
}
//===========================================================================
//
// FMugShotState :: Tick

View file

@ -48,7 +48,6 @@ namespace OpenGLRenderer
FGLRenderState gl_RenderState;
static VSMatrix identityMatrix(1);
TArray<VSMatrix> gl_MatrixStack;
static void matrixToGL(const VSMatrix &mat, int loc)
{

View file

@ -39,7 +39,6 @@ namespace OpenGLRenderer
class FShader;
struct GLSectorPlane;
extern TArray<VSMatrix> gl_MatrixStack;
enum EPassType
{