From 6dc590834e1c89e2aaa0172d930703c78e9ec27e Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 20 Jul 2018 14:59:32 +0700 Subject: Revise documentation and bump to version 0.8 --- brutalmaze/game.py | 7 +++---- client-examples/hit-and-run.py | 1 - setup.py | 2 +- wiki | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/brutalmaze/game.py b/brutalmaze/game.py index 5ee547c..f754ab0 100644 --- a/brutalmaze/game.py +++ b/brutalmaze/game.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Brutal Maze. If not, see . -__version__ = '0.7.8' +__version__ = '0.8.0' import re from argparse import ArgumentParser, FileType, RawTextHelpFormatter @@ -369,9 +369,8 @@ def main(): parser.add_argument( '--music-volume', type=float, metavar='VOL', dest='musicvol', help='between 0.0 and 1.0 (fallback: {})'.format(config.musicvol)) - parser.add_argument( - '--space-music', action='store_true', default=None, dest='space', - help='use space music background'.format(config.muted)) + parser.add_argument('--space-music', action='store_true', dest='space', + default=None, help='use space music background') parser.add_argument('--default-music', action='store_false', dest='space', help='use default music background') parser.add_argument( diff --git a/client-examples/hit-and-run.py b/client-examples/hit-and-run.py index b93e149..925a3a6 100755 --- a/client-examples/hit-and-run.py +++ b/client-examples/hit-and-run.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 from math import inf, atan2, degrees from socket import socket -from random import randint clientsocket = socket() clientsocket.connect(('localhost', 8089)) diff --git a/setup.py b/setup.py index 7a9807e..debbff5 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open('README.rst') as f: setup( name='brutalmaze', - version='0.7.8', + version='0.8.0', description='A minimalist TPS game with fast-paced action', long_description=long_description, url='https://github.com/McSinyx/brutalmaze', diff --git a/wiki b/wiki index d54cbe6..7217867 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit d54cbe67d08d2bb3e64e287b68f9635c3fc801dc +Subproject commit 7217867826232988e5710b1738af521d81224ed3 -- cgit 1.4.1