X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fpolyfill.h;h=a01130cbc5f9c2faf76a1ce37855a7b26837be32;hp=b39574a9949ea411437fbdf18def915a500e2927;hb=6218ea71a2a175dca5bf88ca7922e97f42f85e69;hpb=b2dd6c9916fc3ed24545eaae52e0138b558e6543 diff --git a/src/polyfill.h b/src/polyfill.h index b39574a..a01130c 100644 --- a/src/polyfill.h +++ b/src/polyfill.h @@ -15,7 +15,7 @@ enum { struct pvertex { int32_t x, y; /* 24.8 fixed point */ int32_t u, v; /* 16.16 fixed point */ - unsigned char r, g, b; + int32_t r, g, b; /* int 0-255 */ }; struct pimage { @@ -29,5 +29,8 @@ extern struct pimage pimg_texture; void polyfill(int mode, struct pvertex *verts, int nverts); void polyfill_wire(struct pvertex *verts, int nverts); void polyfill_flat(struct pvertex *verts, int nverts); +void polyfill_gouraud(struct pvertex *verts, int nverts); +void polyfill_tex(struct pvertex *verts, int nverts); +void polyfill_tex_gouraud(struct pvertex *verts, int nverts); #endif /* POLYFILL_H_ */