quakeforge/libs/video/targets
Ozkan Sezer 6e04fd5ff6 signed int viddef_t members
The attached patch (against quakeforge git) changes the [con]width,
[con]height, and most importantly the rowbytes members of viddef_t
from unsigned to signed int, like in q2.  This allows for a properly
negative vid.rowbytes which may be needed in, e.g. a DIB sections
windows driver if needed.  Along with it, I changed a few places
where unsigned int is used along with comparisons against the relevant
vid.* members.
One thing I am not 100% sure is the signedness requirements of
d_zrowbytes and d_zwidth: q2 has them as unsigned but I am not sure
whether that is because they are needed as unsigned or it was just an
oversight of the id developers. They do look like they should be OK
as signed int to me, though: comments?

==
Note from Bill Currie: I had to do some extra changes as many
signed/unsigned comparisons were somehow missed.
2012-10-21 09:00:50 +09:00
..
context_sdl.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
context_x11.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
dga_check.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
fbset.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
fbset_modes_l.l various gcc 4.3 fixes 2008-07-19 05:40:57 +00:00
fbset_modes_y.y And a few more bits of whitespace. 2012-05-23 08:21:27 +09:00
in_common.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_event.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_fbdev.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_sdl.c Evil hack to handle duplicated sdl key syms. 2012-08-18 21:44:51 +09:00
in_svgalib.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_win.c Add 32 button support to sdl and win as well. 2012-07-02 16:51:14 +09:00
in_x11.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
joy.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
joy_linux.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
joy_null.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
joy_win.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
keys.c Force pr_keys.c to get linked in. 2012-07-16 18:18:13 +09:00
Makefile.am Move pr_keys.c from console to video/targets. 2012-07-15 07:39:50 +09:00
old_keys.c Yet more char index issues. 2012-08-18 21:42:49 +09:00
pr_keys.c Move pr_keys.c from console to video/targets. 2012-07-15 07:39:50 +09:00
vid.c Better default vid_gamma value. 2012-07-17 06:30:01 +09:00
vid_3dfxsvga.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
vid_fbdev.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
vid_sdl.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
vid_svgalib.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
vid_wgl.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
vid_x11.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00