summaryrefslogtreecommitdiff
path: root/src/strife/p_doors.c
diff options
context:
space:
mode:
authorSamuel Villareal2010-08-31 01:37:11 +0000
committerSamuel Villareal2010-08-31 01:37:11 +0000
commitb6ea4375e0b5db116a1cdf27e30273d4a92b7a53 (patch)
treee531ff8da0b7e4149d99b585d69469dfb4793e59 /src/strife/p_doors.c
parent1ae6058ab5c492f6f8e7fd606c9ad452f0b861ae (diff)
downloadchocolate-doom-b6ea4375e0b5db116a1cdf27e30273d4a92b7a53.tar.gz
chocolate-doom-b6ea4375e0b5db116a1cdf27e30273d4a92b7a53.tar.bz2
chocolate-doom-b6ea4375e0b5db116a1cdf27e30273d4a92b7a53.zip
+ Strife music/sound implemented
+ All doom sound references replaced with sfx_swish as placeholder + Removed all but MT_PLAYER mobjinfo in mobjinfo struct Subversion-branch: /branches/strife-branch Subversion-revision: 1980
Diffstat (limited to 'src/strife/p_doors.c')
-rw-r--r--src/strife/p_doors.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/strife/p_doors.c b/src/strife/p_doors.c
index 89b65328..d3a201ea 100644
--- a/src/strife/p_doors.c
+++ b/src/strife/p_doors.c
@@ -81,12 +81,12 @@ void T_VerticalDoor (vldoor_t* door)
case normal:
door->direction = -1; // time to go back down
- S_StartSound(&door->sector->soundorg, sfx_dorcls);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
case close30ThenOpen:
door->direction = 1;
- S_StartSound(&door->sector->soundorg, sfx_doropn);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
default:
@@ -104,7 +104,7 @@ void T_VerticalDoor (vldoor_t* door)
case raiseIn5Mins:
door->direction = 1;
door->type = normal;
- S_StartSound(&door->sector->soundorg, sfx_doropn);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
default:
@@ -155,7 +155,7 @@ void T_VerticalDoor (vldoor_t* door)
default:
door->direction = 1;
- S_StartSound(&door->sector->soundorg, sfx_doropn);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
}
}
@@ -301,13 +301,13 @@ EV_DoDoor
door->topheight = P_FindLowestCeilingSurrounding(sec);
door->topheight -= 4*FRACUNIT;
door->direction = -1;
- S_StartSound(&door->sector->soundorg, sfx_dorcls);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
case close30ThenOpen:
door->topheight = sec->ceilingheight;
door->direction = -1;
- S_StartSound(&door->sector->soundorg, sfx_dorcls);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
case blazeRaise:
@@ -326,7 +326,7 @@ EV_DoDoor
door->topheight = P_FindLowestCeilingSurrounding(sec);
door->topheight -= 4*FRACUNIT;
if (door->topheight != sec->ceilingheight)
- S_StartSound(&door->sector->soundorg, sfx_doropn);
+ S_StartSound(&door->sector->soundorg, sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
default:
@@ -470,11 +470,11 @@ EV_VerticalDoor
case 1: // NORMAL DOOR SOUND
case 31:
- S_StartSound(&sec->soundorg,sfx_doropn);
+ S_StartSound(&sec->soundorg,sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
default: // LOCKED DOOR SOUND
- S_StartSound(&sec->soundorg,sfx_doropn);
+ S_StartSound(&sec->soundorg,sfx_swish); // villsa [STRIFE] TODO - fix sounds
break;
}