mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Remove unused member from actor_t
git-svn-id: https://svn.eduke32.com/eduke32@6226 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6319b6fb60
commit
c26fcfa786
2 changed files with 5 additions and 13 deletions
|
@ -149,6 +149,7 @@ typedef struct { int32_t id; struct action ac; } con_action_t;
|
|||
# define AC_MOVFLAGS(spr, a) ((spr)->hitag)
|
||||
#endif
|
||||
|
||||
#pragma pack(push, 1)
|
||||
// (+ 40 16 16 4 8 6 8 6 4 20)
|
||||
typedef struct
|
||||
{
|
||||
|
@ -171,10 +172,7 @@ typedef struct
|
|||
|
||||
// NOTE: 'dispicnum' is updated locally, not in sync with the game!
|
||||
int16_t actorstayput, dispicnum;
|
||||
#if !defined LUNATIC
|
||||
// NOTE: shootzvel is not used any more.
|
||||
int16_t shootzvel_;
|
||||
#else
|
||||
#ifdef LUNATIC
|
||||
// Movement flags, sprite[i].hitag in C-CON:
|
||||
uint16_t movflags;
|
||||
#endif
|
||||
|
@ -193,21 +191,20 @@ typedef struct
|
|||
#if UINTPTR_MAX == 0xffffffff
|
||||
/* 32-bit */
|
||||
# if !defined LUNATIC
|
||||
int8_t filler[20];
|
||||
int8_t filler[22];
|
||||
# else
|
||||
int8_t filler[4];
|
||||
# endif
|
||||
#else
|
||||
/* 64-bit */
|
||||
# if !defined LUNATIC
|
||||
int8_t filler[16];
|
||||
int8_t filler[18];
|
||||
# else
|
||||
/* no padding */
|
||||
#endif
|
||||
#endif
|
||||
} actor_t;
|
||||
|
||||
#pragma pack(push, 1)
|
||||
// this struct needs to match the beginning of actor_t above
|
||||
typedef struct
|
||||
{
|
||||
|
@ -227,9 +224,7 @@ typedef struct
|
|||
int16_t movflag, tempang, timetosleep; // 6b
|
||||
|
||||
int16_t actorstayput, dispicnum;
|
||||
#if !defined LUNATIC
|
||||
int16_t shootzvel_;
|
||||
#else
|
||||
#ifdef LUNATIC
|
||||
uint16_t movflags;
|
||||
#endif
|
||||
int16_t cgg;
|
||||
|
|
|
@ -1267,7 +1267,6 @@ void Net_CopyToNet(int32_t i, netactor_t *netactor)
|
|||
netactor->lastvy = actor[i].lastvy;
|
||||
netactor->lasttransport = actor[i].lasttransport;
|
||||
netactor->actorstayput = actor[i].actorstayput;
|
||||
//netactor->dispicnum = actor[i].dispicnum;
|
||||
netactor->cgg = actor[i].cgg;
|
||||
netactor->owner = actor[i].owner;
|
||||
|
||||
|
@ -1308,7 +1307,6 @@ void Net_CopyFromNet(int32_t i, netactor_t *netactor)
|
|||
actor[i].lastvy = netactor->lastvy;
|
||||
actor[i].lasttransport = netactor->lasttransport;
|
||||
actor[i].actorstayput = netactor->actorstayput;
|
||||
actor[i].dispicnum = netactor->dispicnum;
|
||||
actor[i].cgg = netactor->cgg;
|
||||
actor[i].owner = netactor->owner;
|
||||
|
||||
|
@ -1337,7 +1335,6 @@ int32_t Net_ActorsAreDifferent(netactor_t *actor1, netactor_t *actor2)
|
|||
actor1->lastvy != actor2->lastvy ||
|
||||
actor1->lasttransport != actor2->lasttransport ||
|
||||
actor1->actorstayput != actor2->actorstayput ||
|
||||
//actor1->dispicnum != actor2->dispicnum ||
|
||||
//actor1->cgg != actor2->cgg ||
|
||||
|
||||
actor1->sprite.owner != actor2->sprite.owner ||
|
||||
|
|
Loading…
Reference in a new issue