Odamex
Setting the Standard in Multiplayer Doom
DPlat Class Reference

#include <p_spec.h>

Inheritance diagram for DPlat:
DMovingFloor DMover DSectorEffect DThinker DObject

Public Types

enum  EPlatState { up, down, waiting, in_stasis }
enum  EPlatType {
  platPerpetualRaise, platDownWaitUpStay, platUpWaitDownStay, platDownByValue,
  platUpByValue, platUpByValueStay, platRaiseAndStay, platToggle,
  platDownToNearestFloor, platDownToLowestCeiling
}

Public Member Functions

void RunThink ()
void SetState (byte state, int count)
void GetState (byte &state, int &count)
 DPlat (sector_t *sector)

Data Fields

fixed_t m_Speed
fixed_t m_Low
fixed_t m_High
int m_Wait
int m_Count
EPlatState m_Status
EPlatState m_OldStatus
bool m_Crush
int m_Tag
EPlatType m_Type
bool m_PostWait

Protected Member Functions

void PlayPlatSound (const char *sound)
void Reactivate ()
void Stop ()

Friends

BOOL EV_DoPlat (int tag, line_t *line, EPlatType type, int height, int speed, int delay, int lip, int change)
void EV_StopPlat (int tag)
void P_ActivateInStasis (int tag)

Member Enumeration Documentation

Enumerator:
up 
down 
waiting 
in_stasis 
Enumerator:
platPerpetualRaise 
platDownWaitUpStay 
platUpWaitDownStay 
platDownByValue 
platUpByValue 
platUpByValueStay 
platRaiseAndStay 
platToggle 
platDownToNearestFloor 
platDownToLowestCeiling 

Constructor & Destructor Documentation

DPlat::DPlat ( sector_t sector)

Member Function Documentation

void DPlat::GetState ( byte state,
int &  count 
) [inline]
void DPlat::PlayPlatSound ( const char *  sound) [protected]
void DPlat::Reactivate ( ) [protected]
void DPlat::RunThink ( ) [virtual]

Reimplemented from DThinker.

void DPlat::SetState ( byte  state,
int  count 
) [inline]
void DPlat::Stop ( ) [protected]

Friends And Related Function Documentation

BOOL EV_DoPlat ( int  tag,
line_t line,
DPlat::EPlatType  type,
int  height,
int  speed,
int  delay,
int  lip,
int  change 
) [friend]
void EV_StopPlat ( int  tag) [friend]
void P_ActivateInStasis ( int  tag) [friend]

Field Documentation


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends