--- monsterz-0.7.1.old/monsterz.py +++ monsterz-0.7.1/monsterz.py @@ -382,10 +382,7 @@ class System: def __init__(self): - if settings.get('fullscreen'): - f = pygame.FULLSCREEN - else: - f = 0 + f = 0 pygame.init() self.window = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT), f) self.background = pygame.Surface(self.window.get_size()) @@ -413,17 +410,6 @@ def toggle_fullscreen(self): self.play('whip') - if settings.get('fullscreen'): - settings.set('fullscreen', False) - f = 0 - else: - settings.set('fullscreen', True) - f = pygame.FULLSCREEN - settings.save() - if platform == 'win32': - self.window = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT), f) - else: - pygame.display.toggle_fullscreen() def toggle_sfx(self): self.play('whip') @@ -1928,7 +1917,6 @@ print 'Options' print ' -h, --help display this help and exit' print ' -v, --version display version information and exit' - print ' -f, --fullscreen start in full screen mode' print ' -m, --nomusic disable music' print ' -s, --nosfx disable sound effects' print ' --outfd output scores to file descriptor '