Mercurial > rinkhals
comparison gamelib/cursors.py @ 378:71f5897ac5ef
Fences are now buildings, with appropriate (but ugly) UI changes.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 24 Oct 2009 19:08:54 +0000 |
parents | cade64404997 |
children |
comparison
equal
deleted
inserted
replaced
377:0dc9d17c689e | 378:71f5897ac5ef |
---|---|
12 } | 12 } |
13 | 13 |
14 for tag, filename in [ | 14 for tag, filename in [ |
15 ('chicken', 'cursors/chkn.xbm'), | 15 ('chicken', 'cursors/chkn.xbm'), |
16 ('sell', 'cursors/sell_cursor.xbm'), | 16 ('sell', 'cursors/sell_cursor.xbm'), |
17 ('repair', 'cursors/repair_cursor.xbm'), | |
17 ]: | 18 ]: |
18 path = data.filepath(filename) | 19 path = data.filepath(filename) |
19 # pygame 1.8 needs the file twice to do the right thing | 20 # pygame 1.8 needs the file twice to do the right thing |
20 # XXX: check behaviour with pygame 1.9 | 21 # XXX: check behaviour with pygame 1.9 |
21 cursors[tag] = pygame.cursors.load_xbm(path, path) | 22 cursors[tag] = pygame.cursors.load_xbm(path, path) |