Mercurial > rinkhals
comparison gamelib/cursors.py @ 256:bca2f4396de8
removed unused cursors / generated sprites
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Sat, 05 Sep 2009 12:51:20 +0000 |
parents | fa57868123d7 |
children | d564ae258471 |
comparison
equal
deleted
inserted
replaced
255:c4f9e604c81e | 256:bca2f4396de8 |
---|---|
10 'select' : pygame.cursors.broken_x, | 10 'select' : pygame.cursors.broken_x, |
11 } | 11 } |
12 | 12 |
13 for tag, filename in [ | 13 for tag, filename in [ |
14 ('chicken', 'cursors/chkn.xbm'), | 14 ('chicken', 'cursors/chkn.xbm'), |
15 ('rifle', 'cursors/equip_rifle.xbm'), | |
16 ('knife', 'cursors/equip_knife.xbm'), | |
17 ]: | 15 ]: |
18 path = data.filepath(filename) | 16 path = data.filepath(filename) |
19 # pygame 1.8 needs the file twice to do the right thing | 17 # pygame 1.8 needs the file twice to do the right thing |
20 # XXX: check behaviour with pygame 1.9 | 18 # XXX: check behaviour with pygame 1.9 |
21 cursors[tag] = pygame.cursors.load_xbm(path, path) | 19 cursors[tag] = pygame.cursors.load_xbm(path, path) |