about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-07-20 14:59:32 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-07-20 15:01:03 +0700
commit6dc590834e1c89e2aaa0172d930703c78e9ec27e (patch)
tree23e93ebf776d1d41f4fd99890ebc992f6dabd652
parentffe6ba9855433502fc1fde8125a86bc81080ad09 (diff)
downloadbrutalmaze-6dc590834e1c89e2aaa0172d930703c78e9ec27e.tar.gz
Revise documentation and bump to version 0.8 0.8.0
-rw-r--r--brutalmaze/game.py7
-rwxr-xr-xclient-examples/hit-and-run.py1
-rwxr-xr-xsetup.py2
m---------wiki0
4 files changed, 4 insertions, 6 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 <https://www.gnu.org/licenses/>.
 
-__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
-Subproject d54cbe67d08d2bb3e64e287b68f9635c3fc801d
+Subproject 7217867826232988e5710b1738af521d81224ed