mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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 "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)
|
||||
|
|
|
@ -251,7 +251,6 @@ struct FMugShotState
|
|||
TArray<FMugShotFrame> Frames;
|
||||
|
||||
FMugShotState(FName name);
|
||||
~FMugShotState();
|
||||
void Tick();
|
||||
void Reset();
|
||||
FMugShotFrame &GetCurrentFrame() { return Frames[Position]; }
|
||||
|
|
|
@ -126,16 +126,6 @@ FMugShotState::FMugShotState(FName name)
|
|||
Random = M_Random();
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// MugShotState destructor
|
||||
//
|
||||
//===========================================================================
|
||||
|
||||
FMugShotState::~FMugShotState()
|
||||
{
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// FMugShotState :: Tick
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -39,7 +39,6 @@ namespace OpenGLRenderer
|
|||
|
||||
class FShader;
|
||||
struct GLSectorPlane;
|
||||
extern TArray<VSMatrix> gl_MatrixStack;
|
||||
|
||||
enum EPassType
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue