Remove unused v19_door

This commit is contained in:
Kp 2014-04-27 22:22:58 +00:00
parent b5701bf202
commit 41dc39c64c
2 changed files with 0 additions and 29 deletions

View file

@ -147,15 +147,6 @@ struct v19_wall
int linked_wall; // number of linked wall
} __pack__;
struct v19_door
{
int n_parts; // for linked walls
short seg[2]; // Segment pointer of door.
short side[2]; // Side number of door.
short type[2]; // What kind of door animation.
fix open; // How long it has been open.
} __pack__;
//End old wall structures
#if defined(DXX_BUILD_DESCENT_I) || defined(DXX_BUILD_DESCENT_II)
@ -357,11 +348,6 @@ extern void wall_read(wall *w, PHYSFS_file *fp);
*/
extern void wall_read_n_swap(wall *w, int n, int swap, PHYSFS_file *fp);
/*
* reads a v19_door structure from a PHYSFS_file
*/
extern void v19_door_read(v19_door *d, PHYSFS_file *fp);
/*
* reads an active_door structure from a PHYSFS_file
*/

View file

@ -1840,21 +1840,6 @@ void wall_read_n_swap(wall *w, int n, int swap, PHYSFS_file *fp)
wall_swap(&w[i], swap);
}
/*
* reads a v19_door structure from a PHYSFS_file
*/
void v19_door_read(v19_door *d, PHYSFS_file *fp)
{
d->n_parts = PHYSFSX_readInt(fp);
d->seg[0] = PHYSFSX_readShort(fp);
d->seg[1] = PHYSFSX_readShort(fp);
d->side[0] = PHYSFSX_readShort(fp);
d->side[1] = PHYSFSX_readShort(fp);
d->type[0] = PHYSFSX_readShort(fp);
d->type[1] = PHYSFSX_readShort(fp);
d->open = PHYSFSX_readFix(fp);
}
/*
* reads an active_door structure from a PHYSFS_file
*/