ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.17 by root, Tue Apr 11 17:02:35 2006 UTC vs.
Revision 1.18 by root, Tue Apr 11 19:31:17 2006 UTC

212 double t = SvNV (*hv_fetch (hv, "t", 1, 1)); 212 double t = SvNV (*hv_fetch (hv, "t", 1, 1));
213 int name = SvIV (*hv_fetch (hv, "name", 4, 1)); 213 int name = SvIV (*hv_fetch (hv, "name", 4, 1));
214 214
215 if (items < 5) 215 if (items < 5)
216 { 216 {
217 w = SvNV (*hv_fetch (hv, "width", 5, 1)); 217 w = SvNV (*hv_fetch (hv, "w", 1, 1));
218 h = SvNV (*hv_fetch (hv, "height", 6, 1)); 218 h = SvNV (*hv_fetch (hv, "h", 1, 1));
219 } 219 }
220 220
221 glBindTexture (GL_TEXTURE_2D, name); 221 glBindTexture (GL_TEXTURE_2D, name);
222 glBegin (GL_QUADS); 222 glBegin (GL_QUADS);
223 glTexCoord2d (0, 0); glVertex2d (x , y ); 223 glTexCoord2d (0, 0); glVertex2d (x , y );

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines