Ignore:
Timestamp:
Apr 17, 2011, 11:56:44 PM (12 years ago)
Author:
Sam Hocevar
Message:

style: remove trailing spaces, fix copyright statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/transp.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 1995 Crack dot Com
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This software was released into the Public Domain. As with most public
     
    4647  int iw=im->width(),sw=screen->width();
    4748
    48   for (int iy=ys;iy<ye;iy++,y++,isl+=iw,ssl+=sw)
     49  for (int iy=ys; iy<ye; iy++,y++,isl+=iw,ssl+=sw)
    4950  {
    5051    uint8_t *s=ssl,*i=isl;
    51     for (int ix=xs;ix<xe;ix++,s++,i++)
     52    for (int ix=xs; ix<xe; ix++,s++,i++)
    5253    {
    5354      if (*i)
     
    9495  int iw=im->width(),sw=screen->width();
    9596
    96   for (int iy=ys;iy<ye;iy++,y++,isl+=iw,ssl+=sw)
     97  for (int iy=ys; iy<ye; iy++,y++,isl+=iw,ssl+=sw)
    9798  {
    9899    uint8_t *s=ssl,*i=isl;
    99     for (int ix=xs;ix<xe;ix++,s++,i++)
     100    for (int ix=xs; ix<xe; ix++,s++,i++)
    100101      *s=table[((*i)<<8)|(*s)];
    101102  }
Note: See TracChangeset for help on using the changeset viewer.