Mercurial > boomslang
diff scripts/regen-speech.py @ 576:1b1ab71535bd pyntnclick
Classify constants, which involves a whole bunch of XXX comments
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 11 Feb 2012 16:02:06 +0200 |
parents | 66898d810247 |
children |
line wrap: on
line diff
--- a/scripts/regen-speech.py Sat Feb 11 16:01:33 2012 +0200 +++ b/scripts/regen-speech.py Sat Feb 11 16:02:06 2012 +0200 @@ -10,11 +10,11 @@ from albow.resource import resource_path from pygame.locals import SWSURFACE -from gamelib.constants import SCREEN +from gamelib.constants import GameConstants # We need this stuff set up so we can load images and whatnot. pygame.display.init() -pygame.display.set_mode(SCREEN, SWSURFACE) +pygame.display.set_mode(GameConstants().screen, SWSURFACE) def espeak(text, filename, voice="en-sc"):