poly_src
所属分类:GIS/地图编程
开发工具:C/C++
文件大小:149KB
下载次数:51
上传日期:2008-04-13 10:44:47
上 传 者:
code_vc
说明: POLY ENGINE 一个老外写的程序
(POLY ENGINE written procedures for a foreigner)
文件列表:
DEMO (0, 1999-02-24)
DEMO\DEMO.DSP (7254, 1999-02-24)
DEMO\DEMO.DSW (531, 1999-02-24)
DEMO\DEMO.NCB (115712, 1999-02-24)
DEMO\DEMO.OPT (48640, 1999-02-24)
DEMO\DEMO.PLG (2209, 1999-02-24)
ROGL (0, 1999-02-24)
ROGL\ROGL.DSP (4568, 1999-02-24)
ROGL\ROGL.DSW (531, 1999-02-24)
ROGL\ROGL.NCB (50176, 1999-02-24)
ROGL\ROGL.OPT (48640, 1999-02-24)
ROGL\ROGL.PLG (2224, 1999-02-24)
SRC (0, 1999-02-24)
SRC\ANIM.C (1009, 1998-01-28)
SRC\ANORMS.H (5565, 1996-09-12)
SRC\BSP.C (14000, 1998-08-02)
SRC\CAMERA.C (1803, 1998-08-01)
SRC\CAMERA.H (466, 1998-02-14)
SRC\CLIENT.C (7264, 1998-08-02)
SRC\CLIENT.H (841, 1998-08-01)
SRC\COLDET.C (14965, 1998-07-25)
SRC\DATFILE.C (2353, 1998-01-28)
SRC\DIWRAP.CPP (3509, 1998-08-01)
SRC\ENGINE.C (3273, 1998-08-02)
SRC\ENGINE.H (9149, 1998-08-02)
SRC\ENTITY.C (2787, 1998-04-09)
SRC\FLOAT.C (5378, 1997-01-26)
SRC\H_INPUT.H (2519, 1998-01-19)
SRC\H_NET.H (1280, 1997-11-13)
SRC\H_SOUND.H (997, 1998-02-28)
SRC\H_TIMER.H (80, 1997-04-21)
SRC\H_WIN (0, 1999-02-24)
SRC\H_WIN\NET.C (286, 1997-11-13)
SRC\H_WIN\SOUND.C (421, 1998-02-28)
SRC\H_WIN\SOUND.NUL (421, 1998-02-28)
SRC\H_WIN\SOUND.QMX (3287, 1998-04-07)
SRC\H_WIN\WINSHELL.CPP (29076, 1999-02-24)
SRC\MDL.C (5245, 1998-08-01)
SRC\MODEL.H (760, 1998-07-25)
... ...
POLY ENGINE version 0.79
Written by Alexey Goloshubin
SOURCE CODE RELEASE
Here's the source for the late Poly Engine. I wish I could have released
the source to the public much earlier, when it was state-of-the-art.
Unfortunately it was not possible. As it is, the engine is quite outdated
by todays standards but I hope it can still be useful.
It is free for non-commercial use, however if you decide to make any
money with it I would appreciate it if you contact me.
This is the last piece of gaming code from me at least for the time being,
as I've moved on to another area of software development. You can check
what I am up to at http://www.icesoft.no
Making engines has been fun and I want to thank everybody!
- Alexey Goloshubin
Compiler
-----------------------------
The engine was compiled with Visual C/C++ 5.0. Libraries used MS OpenGL 1.1,
DirectX 5.0.
Sound
-----------------------------
The demo comes without sound support. This is because I used QSound system.
Since it is a commercial lib I cannot include it with this release. However,
it is easy to write a support module for DirectSound or any other sound lib.
You need to write your own h_win\sound.c This directory contains couple
of files:
sound.nul - null driver, no sounds
sound.qmx - driver for QMixer if you happen to have it, just rename this file
to sound.c and use it.
Description
-----------------------------
src/ - source for the engine
demo/ - VisualC++ 5 project file for the main demo (demo.exe)
rogl/ - VC5 prject for OpenGL renderer (rogl.dll)
Notes
-----------------------------
- I never made a software renderer as a separate DLL. It should be trivial.
- a previous version of the Poly source (without renderers as dll's) is
also included. It's in p79b.zip. You can compile it either for OpenGL
or for software rendering by including source from r_ogl and r_soft
subdirectories respectively. Do not include both dirs in the project.
- you can compile the main engine code into a separate .lib file.
Just include all the c/cpp files from the main src directory and h_win.
Do not include winmain.c and progs subdirectory into the project.
- all the game-related code is in progs subdirectory. Those c files
describe Quake2 entities behaviour.
- you need to link rogl.dll to DirectDraw, DirectInput and OpenGL libs.
demo.exe must be linked to dinput.lib and dxguid.lib.
I did not go as far as making everything clean.
- there are lots of warnings during compilation, mainly due to
double-to-float conversion. This is the legacy of WatcomC I used
for first versions of the engine.
近期下载者:
相关文件:
收藏者: