ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/los.C
(Generate patch)

Comparing deliantra/server/common/los.C (file contents):
Revision 1.42 by root, Sat Dec 20 02:32:31 2008 UTC vs.
Revision 1.43 by root, Sat Dec 20 04:02:15 2008 UTC

33 LOS_YI = 0x02, 33 LOS_YI = 0x02,
34}; 34};
35 35
36struct los_info 36struct los_info
37{ 37{
38 sint8 xo, yo; // obscure angle 38 sint8 xo, yo; // obscure angle
39 sint8 xe, ye; // angle deviation 39 sint8 xe, ye; // angle deviation
40 uint8 culled; 40 uint8 culled; // culled from "tree"
41 uint8 queued; 41 uint8 queued; // already queued
42 uint8 visible; 42 uint8 visible;
43 uint8 flags; 43 uint8 flags; // LOS_XI/YI
44}; 44};
45 45
46// temporary storage for the los algorithm, 46// temporary storage for the los algorithm,
47// one los_info for each lightable map space 47// one los_info for each lightable map space
48static los_info los[MAP_CLIENT_X][MAP_CLIENT_Y]; 48static los_info los[MAP_CLIENT_X][MAP_CLIENT_Y];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines