Changeset 42:4a9e26f1f35a


Ignore:
Timestamp:
Apr 3, 2011, 6:33:43 PM (9 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
rebase_source:
f23983751ff7642924090a906f49c0567715f8aa
Message:

Remove area keyword for pygame 1.8 compatability

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scripts/level-editor

    r40 r42  
    5252        level_surface.set_clip(clip_rect)
    5353        level.draw(level_surface)
    54         screen_surface.blit(level_surface, (0, 0), area=clip_rect)
     54        screen_surface.blit(level_surface, (0, 0), clip_rect)
    5555
    5656        pygame.display.flip()
  • skaapsteker/level.py

    r40 r42  
    8888        clip_rect = surface.get_clip()
    8989        bg_pos = self.get_background_pos(clip_rect.topleft, clip_rect.size)
    90         surface.blit(self.background, clip_rect.topleft, area=Rect(bg_pos, clip_rect.size))
     90        surface.blit(self.background, clip_rect.topleft, Rect(bg_pos, clip_rect.size))
    9191
    9292
  • skaapsteker/levelscene.py

    r40 r42  
    2323        self._world.draw(self._level_surface)
    2424
    25         screen_surface.blit(self._level_surface, (0, 0), area=clip_rect)
     25        screen_surface.blit(self._level_surface, (0, 0), clip_rect)
    2626
    2727    def dispatch(self, ev):
Note: See TracChangeset for help on using the changeset viewer.