projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db210a1
)
Initialize sound
author
Stefano Rivera
<stefano@rivera.za.net>
Sun, 11 May 2014 14:39:33 +0000
(16:39 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Sun, 11 May 2014 14:39:33 +0000
(16:39 +0200)
naja/__main__.py
patch
|
blob
|
history
diff --git
a/naja/__main__.py
b/naja/__main__.py
index cd53e4a3667e37bb0f7fe98a40934dcdc26eefd8..9beb26c63957553e3e86b19ccc836b8eabf2bd1e 100644
(file)
--- a/
naja/__main__.py
+++ b/
naja/__main__.py
@@
-5,6
+5,7
@@
import pygame.locals as pgl
from naja.constants import SCREEN
from naja.engine import Engine
+from naja.sound import sound
from naja.options import parse_args
@@
-16,6
+17,7
@@
def main():
pygame.display.set_mode(SCREEN, pgl.SWSURFACE)
pygame.display.set_caption('Naja')
+ sound.init()
screen = pygame.display.get_surface()
engine = Engine(screen)