Direct3DQuake

所属分类:射击游戏
开发工具:Visual C++
文件大小:573KB
下载次数:10
上传日期:2008-12-22 18:34:54
上 传 者bestcode
说明:  将Quake1移植到Direct3D。这是本地移植。使用Direct3D 9.0c,所有的代码已经尽可能的代替GLQuake的功能了。
(Will Quake1 transplanted to Direct3D. This is the local transplant. Using Direct3D 9.0c, all of the code has been possible to replace the function of the GLQuake.)

文件列表:
DirectQ 1.1 Update.txt (2379, 2008-12-21)
DirectQ.exe (413696, 2008-12-21)
gnu.txt (14969, 1999-12-21)
Src\DirectQ (0, 2008-12-21)
Src\DirectQ.sln (911, 2008-12-18)
Src\DirectQ\anorms.h (6476, 1999-12-21)
Src\DirectQ\anorm_dots.h (21280, 1999-12-21)
Src\DirectQ\bspfile.h (5318, 2008-12-12)
Src\DirectQ\cdaudio.h (961, 2008-12-10)
Src\DirectQ\cd_win.cpp (10098, 2008-12-10)
Src\DirectQ\chase.cpp (2604, 2008-12-10)
Src\DirectQ\client.h (9292, 2008-12-10)
Src\DirectQ\cl_demo.cpp (7679, 2008-12-10)
Src\DirectQ\cl_input.cpp (11655, 2008-12-10)
Src\DirectQ\cl_main.cpp (16093, 2008-12-18)
Src\DirectQ\cl_parse.cpp (20702, 2008-12-14)
Src\DirectQ\cl_tent.cpp (9295, 1999-12-21)
Src\DirectQ\cmd.cpp (12910, 2008-12-10)
Src\DirectQ\cmd.h (4453, 2008-12-10)
Src\DirectQ\common.cpp (37353, 2008-12-14)
Src\DirectQ\common.h (5522, 2008-12-10)
Src\DirectQ\conproc.cpp (7428, 2008-12-10)
Src\DirectQ\conproc.h (1107, 1999-12-21)
Src\DirectQ\console.cpp (12839, 2008-12-14)
Src\DirectQ\console.h (1512, 2008-12-10)
Src\DirectQ\crc.cpp (3518, 1999-12-21)
Src\DirectQ\crc.h (918, 1999-12-21)
Src\DirectQ\cvar.cpp (4429, 2008-12-10)
Src\DirectQ\cvar.h (3473, 2008-12-10)
Src\DirectQ\D3DQuake.ICO (2238, 1997-02-07)
Src\DirectQ\D3DQuake.rc (188, 2008-12-18)
Src\DirectQ\d3d_draw.cpp (15419, 2008-12-20)
Src\DirectQ\d3d_mesh.cpp (15059, 2008-12-20)
Src\DirectQ\d3d_model.cpp (42647, 2008-12-19)
Src\DirectQ\d3d_quake.h (3580, 2008-12-20)
Src\DirectQ\d3d_refrag.cpp (4458, 2008-12-10)
Src\DirectQ\d3d_rlight.cpp (20525, 2008-12-20)
Src\DirectQ\d3d_rmain.cpp (12233, 2008-12-20)
Src\DirectQ\d3d_rmisc.cpp (8176, 2008-12-20)
... ...

DIRECT 3D QUAKE! ================ What is it? ----------- It's a true native Direct 3D 9.0c port of GLQuake. It doesn't use the gl_fakegl wrapper, or any other wrapper, but is rather a complete rewrite of GLQuake's renderer to use proper Direct 3D. Why is it? ---------- A number of reasons. The prevailing wisdom is that Direct 3D is foisted on us by evil alien overlords, so there was an element of perversity, I suppose. I was also at the stage where I was sufficiently frustrated with OpenGL to make the switch. I don't really like the direction OpenGL seems to be going in at the present moment, it reminds me a lot of the dying throes of 3DFX moreso than anything else, so that was another factor. Another consideration was the engines already out there. There are - it seems to me - 3 main contenders. ProQuake for the ultra-trads, QRack for eye candy, and DarkPlaces for everything *including* the kitchen sink (with extra kitchen sink). However, there is a gap in the market, and that's for the people with Intel and ATI cards who often struggle to get OpenGL based engines working correctly. I'm not arrogantly thinking I'm going to fill that gap, this engine is purely for my own personal amusement first and foremost, but if it helps anyone else get enjoyment out of a 12 year old game it's a good thing too. What version of Direct 3D is needed? ------------------------------------ It should run on any Direct 3D 9.0c card, but it practice there are a few it probably won't run on. I coded using the March 2008 SDK, so if you get an error saying that a required DLL is missing, you'll need to update your installed version of DirectX. What else is needed? -------------------- If you can run GLQuake you can probably also run this. Direct3D has a few features, like texture locking and vertex buffers, that allow this engine to more memory-efficient than GLQuake was, so even if you can't run GLQuake you might still be able to run this. How fast is it? --------------- About the same speed as GLQuake. I don't currently have a stock GLQuake to compare with, but on an Intel 915 mobile chipset I'm getting over 120 FPS in timedemo demo1, with a debug build. What's new in it? ----------------- Not much really. The initial goal was to just get a straight port of stock GLQuake functionality working, and this is it. I have removed a few things, like mirrors and gl_flashblend 1 mode. There's no interpolation and I haven't renamed or removed any of the gl_* cvars, so as not to mess with people's configs. Maybe some small bugfixes, but overall nothing much beyond what was in stock GLQuake. I did add in *** bit lightmaps, as they were really easy to do, and allowed me to significantly raise the cap on the maximum light intensity in the game (quadrupled, with better granularity than stock GLQuake, so stair-steps on them are vastly reduced). I also removed the hard limits on the number of lightmaps, textures and video modes you can have. Future releases may add extra functionality.

近期下载者

相关文件


收藏者