quakeforge/libs/video/renderer/sw
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_copy.S Fix the 32-bit x86 build of the software renderer. 2012-04-28 13:02:36 +09:00
d_draw.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +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_parta.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +09:00
d_polysa.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +09:00
d_polyse.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
d_scan.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
d_scana.S re-enable asm for static builds 2001-06-11 20:59:48 +00:00
d_sky.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
d_spr8.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +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_varsa.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +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
fpu.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
fpua.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +09:00
Makefile.am SW now tries (but fails miserably) to render iqm models. 2012-05-18 23:31:14 +09:00
nonintel.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
screen.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
surf8.S lots of code cleanup. Merge Mod_LoadAllSkins, merge the sw32 model loading 2001-11-21 19:13:53 +00:00
sw_graph.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw_raclip.c Fix the 32-bit x86 build of the software renderer. 2012-04-28 13:02:36 +09:00
sw_raclipa.S Fix the 32-bit x86 build of the software renderer. 2012-04-28 13:02:36 +09:00
sw_ralias.c Remove pskindesc from affinetridesc_t. 2012-05-19 09:29:05 +09:00
sw_raliasa.S re-enable asm for static builds 2001-06-11 20:59:48 +00:00
sw_rbsp.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw_rdraw.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sw_rdrawa.S Fix asm ilnking in mingw. 2011-09-10 17:49:14 +09:00
sw_redge.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
sw_redgea.S re-enable asm for static builds 2001-06-11 20:59:48 +00:00
sw_riqm.c Fix non-static sw renderer for 32bit x86. 2012-07-15 22:34:00 +09:00
sw_rmain.c signed int viddef_t members 2012-10-21 09:00:50 +09:00
sw_rmisc.c Call R_SetFrustum in all renderers. 2012-07-03 15:57:33 +09:00
sw_rpart.c Fix a couple of missing particle function pointers. 2012-07-06 10:18:05 +09:00
sw_rsky.c Nuke UNALIGNED_OK. 2012-06-15 22:02:17 +09:00
sw_rsprite.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
sw_rsurf.c Support up to 128 dlights. 2012-07-21 13:58:54 +09:00
sw_rvarsa.S Fix the 32-bit x86 build of the software renderer. 2012-04-28 13:02:36 +09:00
transform.S re-enable asm for static builds 2001-06-11 20:59:48 +00:00
vid_common_sw.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00