mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
065a525d4f
- Added resolutions for the Sony Vaio Pocketbook and the Apple Titanium Powerbook, as well as a note in HACKING for people wishing to add their own resolutions. (Closes #33) I have an idea involving querying the X server for supported resolutions at runtime, or through some API that we can use to do it portably (to SVGA/3dfx/Win32).
28 lines
874 B
Text
28 lines
874 B
Text
HACKING on quake2
|
|
=================
|
|
|
|
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.
|