Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Wed Nov 30 10:10:17 EST 2005


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2005-11-30 15:10:17 UTC

Log message:

video modes in menu now also set vid_pixelheight and vid_conwidth/vid_conheight
improved video modes menu, it now has widescreen modes, refresh rate, and more information about the chosen mode
renamed vid_pixelaspect to vid_pixelheight and inverted its behavior (smaller value now means that a pixel is wider than it is tall)
eliminated r_refdef.fov* fields, redesigned to use frustum plane slopes (like glFrustum takes) and calculate fov from height*4/3 rather than width, so widescreen now automatically uses higher fov accordingly, but 4x3 modes are the same as they always were, this also required generating the frustum planes differently in the renderer
changed underwater view warping to use frustum scaling rather than angles, this makes it a little smoother

Modified files:
     cl_input.c cl_screen.c cl_screen.h client.h gl_backend.c
     gl_backend.h gl_draw.c gl_rmain.c menu.c render.h view.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20051130.151017.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20051130/42c93e37/attachment.diff>


More information about the twilight-commits mailing list