Odamex
Setting the Standard in Multiplayer Doom
common/p_lnspec.h File Reference

Go to the source code of this file.

Typedefs

typedef BOOL(* lnSpecFunc )(struct line_s *line, class AActor *activator, int arg1, int arg2, int arg3, int arg4, int arg5)

Enumerations

enum  linespecial_t {
  Polyobj_StartLine = 1, Polyobj_RotateLeft = 2, Polyobj_RotateRight = 3, Polyobj_Move = 4,
  Polyobj_ExplicitLine = 5, Polyobj_MoveTimes8 = 6, Polyobj_DoorSwing = 7, Polyobj_DoorSlide = 8,
  Door_Close = 10, Door_Open = 11, Door_Raise = 12, Door_LockedRaise = 13,
  Floor_LowerByValue = 20, Floor_LowerToLowest = 21, Floor_LowerToNearest = 22, Floor_RaiseByValue = 23,
  Floor_RaiseToHighest = 24, Floor_RaiseToNearest = 25, Stairs_BuildDown = 26, Stairs_BuildUp = 27,
  Floor_RaiseAndCrush = 28, Pillar_Build = 29, Pillar_Open = 30, Stairs_BuildDownSync = 31,
  Stairs_BuildUpSync = 32, Floor_RaiseByValueTimes8 = 35, Floor_LowerByValueTimes8 = 36, Ceiling_LowerByValue = 40,
  Ceiling_RaiseByValue = 41, Ceiling_CrushAndRaise = 42, Ceiling_LowerAndCrush = 43, Ceiling_CrushStop = 44,
  Ceiling_CrushRaiseAndStay = 45, Floor_CrushStop = 46, Plat_PerpetualRaise = 60, Plat_Stop = 61,
  Plat_DownWaitUpStay = 62, Plat_DownByValue = 63, Plat_UpWaitDownStay = 64, Plat_UpByValue = 65,
  Floor_LowerInstant = 66, Floor_RaiseInstant = 67, Floor_MoveToValueTimes8 = 68, Ceiling_MoveToValueTimes8 = 69,
  Teleport = 70, Teleport_NoFog = 71, ThrustThing = 72, DamageThing = 73,
  Teleport_NewMap = 74, Teleport_EndGame = 75, ACS_Execute = 80, ACS_Suspend = 81,
  ACS_Terminate = 82, ACS_LockedExecute = 83, Polyobj_OR_RotateLeft = 90, Polyobj_OR_RotateRight = 91,
  Polyobj_OR_Move = 92, Polyobj_OR_MoveTimes8 = 93, Pillar_BuildAndCrush = 94, FloorAndCeiling_LowerByValue = 95,
  FloorAndCeiling_RaiseByValue = 96, Scroll_Texture_Left = 100, Scroll_Texture_Right = 101, Scroll_Texture_Up = 102,
  Scroll_Texture_Down = 103, Light_ForceLightning = 109, Light_RaiseByValue = 110, Light_LowerByValue = 111,
  Light_ChangeToValue = 112, Light_Fade = 113, Light_Glow = 114, Light_Flicker = 115,
  Light_Strobe = 116, Radius_Quake = 120, Line_SetIdentification = 121, UsePuzzleItem = 129,
  Thing_Activate = 130, Thing_Deactivate = 131, Thing_Remove = 132, Thing_Destroy = 133,
  Thing_Projectile = 134, Thing_Spawn = 135, Thing_ProjectileGravity = 136, Thing_SpawnNoFog = 137,
  Floor_Waggle = 138, Sector_ChangeSound = 140, Line_AlignCeiling = 183, Line_AlignFloor = 184,
  Sector_SetRotation = 185, Sector_SetCeilingOffset = 186, Sector_SetFloorOffset = 187, Sector_SetCeilingScale = 188,
  Sector_SetFloorScale = 189, Static_Init = 190, SetPlayerProperty = 191, Ceiling_LowerToHighestFloor = 192,
  Ceiling_LowerInstant = 193, Ceiling_RaiseInstant = 194, Ceiling_CrushRaiseAndStayA = 195, Ceiling_CrushAndRaiseA = 196,
  Ceiling_CrushAndRaiseSilentA = 197, Ceiling_RaiseByValueTimes8 = 198, Ceiling_LowerByValueTimes8 = 199, Generic_Floor = 200,
  Generic_Ceiling = 201, Generic_Door = 202, Generic_Lift = 203, Generic_Stairs = 204,
  Generic_Crusher = 205, Plat_DownWaitUpStayLip = 206, Plat_PerpetualRaiseLip = 207, TranslucentLine = 208,
  Transfer_Heights = 209, Transfer_FloorLight = 210, Transfer_CeilingLight = 211, Sector_SetColor = 212,
  Sector_SetFade = 213, Sector_SetDamage = 214, Teleport_Line = 215, Sector_SetGravity = 216,
  Stairs_BuildUpDoom = 217, Sector_SetWind = 218, Sector_SetFriction = 219, Sector_SetCurrent = 220,
  Scroll_Texture_Both = 221, Scroll_Texture_Model = 222, Scroll_Floor = 223, Scroll_Ceiling = 224,
  Scroll_Texture_Offsets = 225, ACS_ExecuteAlways = 226, PointPush_SetForce = 227, Plat_RaiseAndStayTx0 = 228,
  Thing_SetGoal = 229, Plat_UpByValueStayTx = 230, Plat_ToggleCeiling = 231, Light_StrobeDoom = 232,
  Light_MinNeighbor = 233, Light_MaxNeighbor = 234, Floor_TransferTrigger = 235, Floor_TransferNumeric = 236,
  ChangeCamera = 237, Floor_RaiseToLowestCeiling = 238, Floor_RaiseByValueTxTy = 239, Floor_RaiseByTexture = 240,
  Floor_LowerToLowestTxTy = 241, Floor_LowerToHighest = 242, Exit_Normal = 243, Exit_Secret = 244,
  Elevator_RaiseToNearest = 245, Elevator_MoveToFloor = 246, Elevator_LowerToNearest = 247, HealThing = 248,
  Door_CloseWaitOpen = 249, Floor_Donut = 250, FloorAndCeiling_LowerRaise = 251, Ceiling_RaiseToNearest = 252,
  Ceiling_LowerToLowest = 253, Ceiling_LowerToFloor = 254, Ceiling_CrushRaiseAndStaySilA = 255
}
enum  staticinit_t {
  Init_Gravity = 0, Init_Color = 1, Init_Damage = 2, NUM_STATIC_INITS,
  Init_TransferSky = 255
}
enum  sectorspecial_t {
  Light_Phased = 1, LightSequenceStart = 2, LightSequenceSpecial1 = 3, LightSequenceSpecial2 = 4,
  Stairs_Special1 = 26, Stairs_Special2 = 27, dLight_Flicker = 65, dLight_StrobeFast = 66,
  dLight_StrobeSlow = 67, dLight_Strobe_Hurt = 68, dDamage_Hellslime = 69, dDamage_Nukage = 71,
  dLight_Glow = 72, dSector_DoorCloseIn30 = 74, dDamage_End = 75, dLight_StrobeSlowSync = 76,
  dLight_StrobeFastSync = 77, dSector_DoorRaiseIn5Mins = 78, dDamage_SuperHellslime = 80, dLight_FireFlicker = 81,
  Light_IndoorLightning2 = 198, Light_IndoorLightning1 = 199, Sky2 = 200, Scroll_North_Slow = 201,
  Scroll_North_Medium = 202, Scroll_North_Fast = 203, Scroll_East_Slow = 204, Scroll_East_Medium = 205,
  Scroll_East_Fast = 206, Scroll_South_Slow = 207, Scroll_South_Medium = 208, Scroll_South_Fast = 209,
  Scroll_West_Slow = 210, Scroll_West_Medium = 211, Scroll_West_Fast = 212, Scroll_NorthWest_Slow = 213,
  Scroll_NorthWest_Medium = 214, Scroll_NorthWest_Fast = 215, Scroll_NorthEast_Slow = 216, Scroll_NorthEast_Medium = 217,
  Scroll_NorthEast_Fast = 218, Scroll_SouthEast_Slow = 219, Scroll_SouthEast_Medium = 220, Scroll_SouthEast_Fast = 221,
  Scroll_SouthWest_Slow = 222, Scroll_SouthWest_Medium = 223, Scroll_SouthWest_Fast = 224
}

Functions

BOOL EV_CeilingCrushStop (int tag)
int EV_DoDonut (int tag, fixed_t pillarspeed, fixed_t slimespeed)
void EV_StopPlat (int tag)

Variables

lnSpecFunc LineSpecials [256]
int TeleportSide

Typedef Documentation

typedef BOOL(* lnSpecFunc)(struct line_s *line, class AActor *activator, int arg1, int arg2, int arg3, int arg4, int arg5)

Enumeration Type Documentation

Enumerator:
Polyobj_StartLine 
Polyobj_RotateLeft 
Polyobj_RotateRight 
Polyobj_Move 
Polyobj_ExplicitLine 
Polyobj_MoveTimes8 
Polyobj_DoorSwing 
Polyobj_DoorSlide 
Door_Close 
Door_Open 
Door_Raise 
Door_LockedRaise 
Floor_LowerByValue 
Floor_LowerToLowest 
Floor_LowerToNearest 
Floor_RaiseByValue 
Floor_RaiseToHighest 
Floor_RaiseToNearest 
Stairs_BuildDown 
Stairs_BuildUp 
Floor_RaiseAndCrush 
Pillar_Build 
Pillar_Open 
Stairs_BuildDownSync 
Stairs_BuildUpSync 
Floor_RaiseByValueTimes8 
Floor_LowerByValueTimes8 
Ceiling_LowerByValue 
Ceiling_RaiseByValue 
Ceiling_CrushAndRaise 
Ceiling_LowerAndCrush 
Ceiling_CrushStop 
Ceiling_CrushRaiseAndStay 
Floor_CrushStop 
Plat_PerpetualRaise 
Plat_Stop 
Plat_DownWaitUpStay 
Plat_DownByValue 
Plat_UpWaitDownStay 
Plat_UpByValue 
Floor_LowerInstant 
Floor_RaiseInstant 
Floor_MoveToValueTimes8 
Ceiling_MoveToValueTimes8 
Teleport 
Teleport_NoFog 
ThrustThing 
DamageThing 
Teleport_NewMap 
Teleport_EndGame 
ACS_Execute 
ACS_Suspend 
ACS_Terminate 
ACS_LockedExecute 
Polyobj_OR_RotateLeft 
Polyobj_OR_RotateRight 
Polyobj_OR_Move 
Polyobj_OR_MoveTimes8 
Pillar_BuildAndCrush 
FloorAndCeiling_LowerByValue 
FloorAndCeiling_RaiseByValue 
Scroll_Texture_Left 
Scroll_Texture_Right 
Scroll_Texture_Up 
Scroll_Texture_Down 
Light_ForceLightning 
Light_RaiseByValue 
Light_LowerByValue 
Light_ChangeToValue 
Light_Fade 
Light_Glow 
Light_Flicker 
Light_Strobe 
Radius_Quake 
Line_SetIdentification 
UsePuzzleItem 
Thing_Activate 
Thing_Deactivate 
Thing_Remove 
Thing_Destroy 
Thing_Projectile 
Thing_Spawn 
Thing_ProjectileGravity 
Thing_SpawnNoFog 
Floor_Waggle 
Sector_ChangeSound 
Line_AlignCeiling 
Line_AlignFloor 
Sector_SetRotation 
Sector_SetCeilingOffset 
Sector_SetFloorOffset 
Sector_SetCeilingScale 
Sector_SetFloorScale 
Static_Init 
SetPlayerProperty 
Ceiling_LowerToHighestFloor 
Ceiling_LowerInstant 
Ceiling_RaiseInstant 
Ceiling_CrushRaiseAndStayA 
Ceiling_CrushAndRaiseA 
Ceiling_CrushAndRaiseSilentA 
Ceiling_RaiseByValueTimes8 
Ceiling_LowerByValueTimes8 
Generic_Floor 
Generic_Ceiling 
Generic_Door 
Generic_Lift 
Generic_Stairs 
Generic_Crusher 
Plat_DownWaitUpStayLip 
Plat_PerpetualRaiseLip 
TranslucentLine 
Transfer_Heights 
Transfer_FloorLight 
Transfer_CeilingLight 
Sector_SetColor 
Sector_SetFade 
Sector_SetDamage 
Teleport_Line 
Sector_SetGravity 
Stairs_BuildUpDoom 
Sector_SetWind 
Sector_SetFriction 
Sector_SetCurrent 
Scroll_Texture_Both 
Scroll_Texture_Model 
Scroll_Floor 
Scroll_Ceiling 
Scroll_Texture_Offsets 
ACS_ExecuteAlways 
PointPush_SetForce 
Plat_RaiseAndStayTx0 
Thing_SetGoal 
Plat_UpByValueStayTx 
Plat_ToggleCeiling 
Light_StrobeDoom 
Light_MinNeighbor 
Light_MaxNeighbor 
Floor_TransferTrigger 
Floor_TransferNumeric 
ChangeCamera 
Floor_RaiseToLowestCeiling 
Floor_RaiseByValueTxTy 
Floor_RaiseByTexture 
Floor_LowerToLowestTxTy 
Floor_LowerToHighest 
Exit_Normal 
Exit_Secret 
Elevator_RaiseToNearest 
Elevator_MoveToFloor 
Elevator_LowerToNearest 
HealThing 
Door_CloseWaitOpen 
Floor_Donut 
FloorAndCeiling_LowerRaise 
Ceiling_RaiseToNearest 
Ceiling_LowerToLowest 
Ceiling_LowerToFloor 
Ceiling_CrushRaiseAndStaySilA 
Enumerator:
Light_Phased 
LightSequenceStart 
LightSequenceSpecial1 
LightSequenceSpecial2 
Stairs_Special1 
Stairs_Special2 
dLight_Flicker 
dLight_StrobeFast 
dLight_StrobeSlow 
dLight_Strobe_Hurt 
dDamage_Hellslime 
dDamage_Nukage 
dLight_Glow 
dSector_DoorCloseIn30 
dDamage_End 
dLight_StrobeSlowSync 
dLight_StrobeFastSync 
dSector_DoorRaiseIn5Mins 
dDamage_SuperHellslime 
dLight_FireFlicker 
Light_IndoorLightning2 
Light_IndoorLightning1 
Sky2 
Scroll_North_Slow 
Scroll_North_Medium 
Scroll_North_Fast 
Scroll_East_Slow 
Scroll_East_Medium 
Scroll_East_Fast 
Scroll_South_Slow 
Scroll_South_Medium 
Scroll_South_Fast 
Scroll_West_Slow 
Scroll_West_Medium 
Scroll_West_Fast 
Scroll_NorthWest_Slow 
Scroll_NorthWest_Medium 
Scroll_NorthWest_Fast 
Scroll_NorthEast_Slow 
Scroll_NorthEast_Medium 
Scroll_NorthEast_Fast 
Scroll_SouthEast_Slow 
Scroll_SouthEast_Medium 
Scroll_SouthEast_Fast 
Scroll_SouthWest_Slow 
Scroll_SouthWest_Medium 
Scroll_SouthWest_Fast 
Enumerator:
Init_Gravity 
Init_Color 
Init_Damage 
NUM_STATIC_INITS 
Init_TransferSky 

Function Documentation

BOOL EV_CeilingCrushStop ( int  tag)
int EV_DoDonut ( int  tag,
fixed_t  pillarspeed,
fixed_t  slimespeed 
)
void EV_StopPlat ( int  tag)

Variable Documentation

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends