Mercurial > atc
diff atc_single.py @ 24:aa7332d16d82
Added loading of maps at start up/Multimap support
Added maps directory config option
committer: Jeff <jeffpc@batlh.(none)> 1121710237 -0400
author | Jeff <jeffpc@batlh.(none)> |
---|---|
date | Mon, 18 Jul 2005 18:10:37 -0400 |
parents | 4c026c5634f9 |
children | 6ac02ee10233 |
line wrap: on
line diff
--- a/atc_single.py Mon Jul 18 17:23:35 2005 -0400 +++ b/atc_single.py Mon Jul 18 18:10:37 2005 -0400 @@ -28,6 +28,8 @@ import atc_plane import atc_message +from atc_maps import * + def single(screen): """ Main fn to run the single player game """ @@ -38,7 +40,7 @@ background = pygame.Surface(screen.get_size()).convert() background.fill(atc_colors.black) - (back_image, back_rect) = atc_utils.load_png('data/image/background.png') + (back_image, back_rect) = atc_utils.load_png(MAPS[0]["image"]) background.blit(back_image, (0, 0)) # Some text