p_doors.c
资源名称:21.rar [点击查看]
上传用户:xuyinpeng
上传日期:2021-05-12
资源大小:455k
文件大小:16k
源码类别:
射击游戏
开发平台:
Visual C++
- // Emacs style mode select -*- C++ -*-
- //-----------------------------------------------------------------------------
- //
- // $Id:$
- //
- // Copyright (C) 1993-1996 by id Software, Inc.
- //
- // This source is available for distribution and/or modification
- // only under the terms of the DOOM Source Code License as
- // published by id Software. All rights reserved.
- //
- // The source is distributed in the hope that it will be useful,
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
- // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
- // for more details.
- //
- // $Log:$
- //
- // DESCRIPTION: Door animation code (opening/closing)
- //
- //-----------------------------------------------------------------------------
- static const char
- rcsid[] = "$Id: p_doors.c,v 1.4 1997/02/03 16:47:53 b1 Exp $";
- #include "z_zone.h"
- #include "doomdef.h"
- #include "p_local.h"
- #include "s_sound.h"
- // State.
- #include "doomstat.h"
- #include "r_state.h"
- // Data.
- #include "dstrings.h"
- #include "sounds.h"
- #if 0
- //
- // Sliding door frame information
- //
- slidename_t slideFrameNames[MAXSLIDEDOORS] =
- {
- {"GDOORF1","GDOORF2","GDOORF3","GDOORF4", // front
- "GDOORB1","GDOORB2","GDOORB3","GDOORB4"}, // back
- {"