info
journal
tutorial
links
|
QS-LCC is a port of
ID Software's glquake source code to the lcc-win32 compiler with bug-fixes
and enhancements.
Get QS-LCC:
qs-lcc.27-01-00.zip
:The latest release. Complete source with IDE project, libraries,
and executable.
qs-lcc.18-01-00.zip
:The previous release. Complete source with IDE project, libraries,
and executable.
glquake.zip
:The executable glquake.exe only.
opengl32.zip
:Just the opengl32.lib import library included with QS-LCC. This
library imports more functions than the one included with lcc and may be
usefull for an enhanced glquake or other projects.
Build the project:
1. Install lcc-win32.
2. Unzip QS-LCC
with full paths to C: drive.
3. From Wedit,
import the qs-lcc.prj project from C:\QS-LCC.
4. Correct dsound.h
in the lcc include directory.
"STDMETHOD(SetFormat)
(THIS_LPWAVEFORMATEX)" instead of LPCWAVEFORMATEX.
5. Build.
Changes and enhancements
to the original source:
-
QS-LCC includes source files
and project files for the lcc-win32 compiler and IDE rather than for Visual
C++.
-
A static library with assembler
functions is provided. MASM is not needed unless you wish to rebuild
this library.
-
The directX headers and
libraries included with lcc-win32 are used instead of the DXSDK.
-
The directory structure
is changed for compliance with lcc-win32 convention.
-
Code base is streamlined
for just the glQuake flavor of Quake.
-
Bug fixes and enhancements
from several authors are incorporated.
-
Unreferenced variables are
removed and function prototypes are added as necessary to quench compiler
warnings.
-
Port-related changes and
fixes are commented in the source files.
I started the port for my
own amusement and was happily surprised with the results. I hope
others will enjoy it as well. It can probably be adapted to other major
flavors of Quake (WinQuake, glQuakeWorld, etc.). Thank you to all
who have provided feedback.
Jeff
Ford |