quakeforge/libs/video/renderer/sw32
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
..
d_edge.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
d_fill.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
d_init.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
d_modech.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
d_part.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
d_polyse.c Allow large skins in sw32. 2012-04-25 10:47:44 +09:00
d_scan.c Fix a segfault in the sw32 renderer on entering e1m7 2012-04-24 22:02:20 +09:00
d_sky.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
d_sprite.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
d_surf.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
d_vars.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
d_zpoint.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
draw.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
Makefile.am Many distcheck fixes. 2012-06-29 10:49:21 +09:00
namehack.h Really fix sw32 renderer loading. 2012-07-15 07:30:17 +09:00
screen.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw32_graph.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
sw32_raclip.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw32_ralias.c Really fix sw32 renderer loading. 2012-07-15 07:30:17 +09:00
sw32_rbsp.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw32_rdraw.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw32_redge.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
sw32_riqm.c Really fix sw32 renderer loading. 2012-07-15 07:30:17 +09:00
sw32_rmain.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
sw32_rmisc.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
sw32_rpart.c Fix a couple of missing particle function pointers. 2012-07-06 10:18:05 +09:00
sw32_rsky.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw32_rsprite.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
sw32_rsurf.c Support up to 128 dlights. 2012-07-21 13:58:54 +09:00
vid_common_sw32.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00