quake2forge/HACKING
Jamie Wilkinson 9743e9dcce - Added library detection to configure.in, to detect
SVGAlib, X, GL, SDL, and GLIDE.  Modified the
  Makefile.am's to match the new configure variables.
  Now people don't have to manually hack src/Makefile.am to
  build their targets.
- Fixed a typo in src/qgl.h with the #define
- Added new automake generated files to bootstrap's clean
  command.
- Added build requirements to HACKING, as we now need
  automake 1.6.
- Removed note in README about the asm FPE bug, as I seem to
  have inadvertently fixed this without meaning to.
2002-07-01 04:53:50 +00:00

33 lines
996 B
Text

HACKING on quake2
=================
To build quake2 from CVS, you will need the following software:
- automake, 1.6
- autoconf, 2.50 or higher
- GNU make
Note to developers: bsd/, irix/ and solaris/ are NO LONGER PERTINENT!
linux/ was renamed src/, so hack in there. As we port to more arch/os's,
we'll integrate the old os subdirs into src/, and remove the old trees.
If you want to hack on something, but don't know where to start, have a look
at TODO in the top level source tree, or open a browser at
http://bugs.quakeforge.net/bugs/cgi-bin/pkgreport.cgi?pkg=quake2&archive=no
for the currently open bug reports.
Adding a new screen resolution
------------------------------
Open up src/vid_so.c and find the array "vid_modes". Append your resolution
to this array:
{ "Mode n: RESxRES", RES, RES, n }
Open up src/vid_menu.c and find the array "resolutions" in VID_MenuInit().
Append your resolution so it is the same index as your addition to vid_modes.
Save both, rebuild.