mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-31 04:50:48 +00:00
- removed some unused bits of code.
This commit is contained in:
parent
3fbc55a8dd
commit
20184e1e99
5 changed files with 1 additions and 28 deletions
|
@ -19,23 +19,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "info.h"
|
#include "info.h"
|
||||||
#include "a_pickups.h"
|
#include "actor.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 "vm.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)
|
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)
|
IFVIRTUALPTR(victim, AActor, Morph)
|
||||||
|
|
|
@ -251,7 +251,6 @@ struct FMugShotState
|
||||||
TArray<FMugShotFrame> Frames;
|
TArray<FMugShotFrame> Frames;
|
||||||
|
|
||||||
FMugShotState(FName name);
|
FMugShotState(FName name);
|
||||||
~FMugShotState();
|
|
||||||
void Tick();
|
void Tick();
|
||||||
void Reset();
|
void Reset();
|
||||||
FMugShotFrame &GetCurrentFrame() { return Frames[Position]; }
|
FMugShotFrame &GetCurrentFrame() { return Frames[Position]; }
|
||||||
|
|
|
@ -126,16 +126,6 @@ FMugShotState::FMugShotState(FName name)
|
||||||
Random = M_Random();
|
Random = M_Random();
|
||||||
}
|
}
|
||||||
|
|
||||||
//===========================================================================
|
|
||||||
//
|
|
||||||
// MugShotState destructor
|
|
||||||
//
|
|
||||||
//===========================================================================
|
|
||||||
|
|
||||||
FMugShotState::~FMugShotState()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//
|
//
|
||||||
// FMugShotState :: Tick
|
// FMugShotState :: Tick
|
||||||
|
|
|
@ -48,7 +48,6 @@ namespace OpenGLRenderer
|
||||||
FGLRenderState gl_RenderState;
|
FGLRenderState gl_RenderState;
|
||||||
|
|
||||||
static VSMatrix identityMatrix(1);
|
static VSMatrix identityMatrix(1);
|
||||||
TArray<VSMatrix> gl_MatrixStack;
|
|
||||||
|
|
||||||
static void matrixToGL(const VSMatrix &mat, int loc)
|
static void matrixToGL(const VSMatrix &mat, int loc)
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,7 +39,6 @@ namespace OpenGLRenderer
|
||||||
|
|
||||||
class FShader;
|
class FShader;
|
||||||
struct GLSectorPlane;
|
struct GLSectorPlane;
|
||||||
extern TArray<VSMatrix> gl_MatrixStack;
|
|
||||||
|
|
||||||
enum EPassType
|
enum EPassType
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue