~ubuntu-branches/ubuntu/intrepid/wing/intrepid

« back to all changes in this revision

Viewing changes to collision.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2003-10-02 16:28:06 UTC
  • Revision ID: james.westby@ubuntu.com-20031002162806-7l2t9hy4eq6putz3
Tags: 0.7-20
* debian/control:
  + Set policy to 3.6.1.0.
  + Wrote more meaningful long descriptions (Closes: #210137).

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
          for(z=0; z<NUM_CHUNKS; z++)
30
30
     {
31
 
                        for (x1=(z*32); x1<((z*32)+32); x1++)
 
31
                        for (x1=(z*32); x1<(z*32+32); x1++)
32
32
         {
33
33
                                p=getpixel(s3,x1,y1);
34
34
                           if (p>0)
39
39
                bb_height=y1;
40
40
                              if (x1>bb_width)
41
41
                bb_width=x1;
42
 
                        mask.sp_mask[y1][z]+=0x80000000 >> (x1 - ((z+1)*32));
 
42
                        mask.sp_mask[y1][z]+=1<<(z*32+32-1-x1);
43
43
                           }
44
44
                        }
45
45
                }