2008-03-18 18:18:18 +00:00
|
|
|
|
|
|
|
#ifndef __3DMIDTEX_H
|
|
|
|
#define __3DMIDTEX_H
|
|
|
|
|
|
|
|
#include "doomtype.h"
|
|
|
|
|
2008-09-15 14:11:05 +00:00
|
|
|
class DInterpolation;
|
|
|
|
struct sector_t;
|
|
|
|
struct line_t;
|
2008-03-18 18:18:18 +00:00
|
|
|
class AActor;
|
|
|
|
|
|
|
|
bool P_Scroll3dMidtex(sector_t *sector, int crush, fixed_t move, bool ceiling);
|
2008-06-04 17:53:15 +00:00
|
|
|
void P_Start3dMidtexInterpolations(TArray<DInterpolation *> &list, sector_t *sec, bool ceiling);
|
2008-03-18 18:18:18 +00:00
|
|
|
void P_Attach3dMidtexLinesToSector(sector_t *dest, int lineid, int tag, bool ceiling);
|
|
|
|
bool P_GetMidTexturePosition(const line_t *line, int sideno, fixed_t *ptextop, fixed_t *ptexbot);
|
|
|
|
bool P_Check3dMidSwitch(AActor *actor, line_t *line, int side);
|
2012-04-10 03:18:04 +00:00
|
|
|
bool P_LineOpening_3dMidtex(AActor *thing, const line_t *linedef, struct FLineOpening &open, bool restrict=false);
|
2008-03-18 18:18:18 +00:00
|
|
|
|
2008-03-20 21:12:03 +00:00
|
|
|
bool P_MoveLinkedSectors(sector_t *sector, int crush, fixed_t move, bool ceiling);
|
2008-06-04 17:53:15 +00:00
|
|
|
void P_StartLinkedSectorInterpolations(TArray<DInterpolation *> &list, sector_t *sector, bool ceiling);
|
2008-03-20 21:12:03 +00:00
|
|
|
bool P_AddSectorLinks(sector_t *control, int tag, INTBOOL ceiling, int movetype);
|
|
|
|
void P_AddSectorLinksByID(sector_t *control, int id, INTBOOL ceiling);
|
|
|
|
|
2008-03-18 18:18:18 +00:00
|
|
|
|
2008-03-19 02:20:19 +00:00
|
|
|
#endif
|