⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 r_bsp.c

📁 The source code of Doom legacy for windows
💻 C
字号:
// Emacs style mode select   -*- C++ -*-//-----------------------------------------------------------------------------//// $Id: r_bsp.c,v 1.20 2001/04/30 17:19:24 stroggonmeth Exp $//// Copyright (C) 1993-1996 by id Software, Inc.// Portions Copyright (C) 1998-2000 by DooM Legacy Team.//// This program is free software; you can redistribute it and/or// modify it under the terms of the GNU General Public License// as published by the Free Software Foundation; either version 2// of the License, or (at your option) any later version.//// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU General Public License for more details.////// $Log: r_bsp.c,v $// Revision 1.20  2001/04/30 17:19:24  stroggonmeth// HW fix and misc. changes//// Revision 1.19  2001/03/21 18:24:39  stroggonmeth// Misc changes and fixes. Code cleanup//// Revision 1.18  2001/03/13 22:14:20  stroggonmeth// Long time no commit. 3D floors, FraggleScript, portals, ect.//// Revision 1.17  2001/01/25 22:15:44  bpereira// added heretic support//// Revision 1.16  2000/11/21 21:13:17  stroggonmeth// Optimised 3D floors and fixed crashing bug in high resolutions.//// Revision 1.15  2000/11/09 17:56:20  stroggonmeth// Hopefully fixed a few bugs and did a few optimizations.//// Revision 1.14  2000/11/02 19:49:36  bpereira// no message//// Revision 1.13  2000/11/02 17:50:09  stroggonmeth// Big 3Dfloors & FraggleScript commit!!//// Revision 1.12  2000/05/23 15:22:34  stroggonmeth// Not much. A graphic bug fixed.//// Revision 1.11  2000/05/03 23:51:01  stroggonmeth// A few, quick, changes.//// Revision 1.10  2000/04/20 21:47:24  stroggonmeth// no message//// Revision 1.9  2000/04/18 17:39:39  stroggonmeth// Bug fixes and performance tuning.//// Revision 1.8  2000/04/15 22:12:58  stroggonmeth// Minor bug fixes//// Revision 1.7  2000/04/13 23:47:47  stroggonmeth// See logs//// Revision 1.6  2000/04/11 19:07:25  stroggonmeth// Finished my logs, fixed a crashing bug.//// Revision 1.5  2000/04/06 21:06:19  stroggonmeth// Optimized extra_colormap code...// Added #ifdefs for older water code.//// Revision 1.4  2000/04/04 19:28:43  stroggonmeth// Global colormaps working. Added a new linedef type 272.//// Revision 1.3  2000/04/04 00:32:47  stroggonmeth// Initial Boom compatability plus few misc changes all around.//// Revision 1.2  2000/02/27 00:42:10  hurdler// fix CR+LF problem//// Revision 1.1.1.1  2000/02/22 20:32:32  hurdler// Initial import into CVS (v1.29 pr3)////// DESCRIPTION://      BSP traversal, handling of LineSegs for rendering.////-----------------------------------------------------------------------------#include "doomdef.h"#include "g_game.h"#include "r_local.h"#include "r_state.h"#include "r_splats.h"#include "p_local.h"  //SoM: 4/10/2000: camera#include "z_zone.h"   //SoM: Check R_Prep3DFloorsseg_t*          curline;side_t*         sidedef;line_t*         linedef;sector_t*       frontsector;sector_t*       backsector;//faB:  very ugly realloc() of drawsegs at run-time, I upped it to 512//      instead of 256.. and someone managed to send me a level with//      896 drawsegs! So too bad here's a limit removal 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -