mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Remove unused ceiling_t variables
This commit is contained in:
parent
299b2dcff2
commit
202c56054e
3 changed files with 1 additions and 7 deletions
|
@ -377,7 +377,7 @@ INT32 EV_DoCrush(mtag_t tag, line_t *line, ceiling_e type)
|
|||
ceiling->sector = sec;
|
||||
ceiling->crush = true;
|
||||
ceiling->sourceline = (INT32)(line-lines);
|
||||
ceiling->speed = ceiling->oldspeed = line->args[2] << (FRACBITS - 2);
|
||||
ceiling->speed = ceiling->origspeed = line->args[2] << (FRACBITS - 2);
|
||||
|
||||
switch(type)
|
||||
{
|
||||
|
|
|
@ -1985,14 +1985,12 @@ static void SaveCeilingThinker(const thinker_t *th, const UINT8 type)
|
|||
WRITEFIXED(save_p, ht->bottomheight);
|
||||
WRITEFIXED(save_p, ht->topheight);
|
||||
WRITEFIXED(save_p, ht->speed);
|
||||
WRITEFIXED(save_p, ht->oldspeed);
|
||||
WRITEFIXED(save_p, ht->delay);
|
||||
WRITEFIXED(save_p, ht->delaytimer);
|
||||
WRITEUINT8(save_p, ht->crush);
|
||||
WRITEINT32(save_p, ht->texture);
|
||||
WRITEINT32(save_p, ht->direction);
|
||||
WRITEINT16(save_p, ht->tag);
|
||||
WRITEINT32(save_p, ht->olddirection);
|
||||
WRITEFIXED(save_p, ht->origspeed);
|
||||
WRITEFIXED(save_p, ht->sourceline);
|
||||
}
|
||||
|
@ -3092,14 +3090,12 @@ static thinker_t* LoadCeilingThinker(actionf_p1 thinker)
|
|||
ht->bottomheight = READFIXED(save_p);
|
||||
ht->topheight = READFIXED(save_p);
|
||||
ht->speed = READFIXED(save_p);
|
||||
ht->oldspeed = READFIXED(save_p);
|
||||
ht->delay = READFIXED(save_p);
|
||||
ht->delaytimer = READFIXED(save_p);
|
||||
ht->crush = READUINT8(save_p);
|
||||
ht->texture = READINT32(save_p);
|
||||
ht->direction = READINT32(save_p);
|
||||
ht->tag = READINT16(save_p);
|
||||
ht->olddirection = READINT32(save_p);
|
||||
ht->origspeed = READFIXED(save_p);
|
||||
ht->sourceline = READFIXED(save_p);
|
||||
if (ht->sector)
|
||||
|
|
|
@ -287,7 +287,6 @@ typedef struct
|
|||
fixed_t bottomheight; ///< The lowest height to move to.
|
||||
fixed_t topheight; ///< The highest height to move to.
|
||||
fixed_t speed; ///< Ceiling speed.
|
||||
fixed_t oldspeed;
|
||||
fixed_t delay;
|
||||
fixed_t delaytimer;
|
||||
UINT8 crush; ///< Whether to crush things or not.
|
||||
|
@ -297,7 +296,6 @@ typedef struct
|
|||
|
||||
// ID
|
||||
INT16 tag; ///< Tag of linedef executor to run when movement is done.
|
||||
INT32 olddirection;
|
||||
fixed_t origspeed; ///< The original, "real" speed.
|
||||
INT32 sourceline; ///< Index of the source linedef
|
||||
} ceiling_t;
|
||||
|
|
Loading…
Reference in a new issue