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.30 by root, Thu Apr 13 23:07:56 2006 UTC vs.
Revision 1.31 by root, Thu Apr 13 23:11:11 2006 UTC

150 if (x >= row->c0) 150 if (x >= row->c0)
151 { 151 {
152 if (x >= row->c1) 152 if (x >= row->c1)
153 break; 153 break;
154 154
155 mapcell *cell = row->col + (x - row->c0); 155 row->col[x - row->c0].darkness = -1;
156 cell->darkness = -1;
157 cell->face [2] = 0;
158 } 156 }
159 } 157 }
160} 158}
161 159
162MODULE = CFClient PACKAGE = CFClient 160MODULE = CFClient PACKAGE = CFClient
560 { 558 {
561 cell->face [2] = (data [0] << 8) + data [1]; data += 2; 559 cell->face [2] = (data [0] << 8) + data [1]; data += 2;
562 } 560 }
563 } 561 }
564 else 562 else
565 {
566 cell->darkness = -1; 563 cell->darkness = -1;
567 cell->face [2] = 0;
568 }
569 } 564 }
570} 565}
571 566
572void 567void
573draw (CFClient::Map self, int x0, int y0, int sw, int sh) 568draw (CFClient::Map self, int x0, int y0, int sw, int sh)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines