diff --git a/readme.txt b/readme.txt new file mode 100644 index 000000000..b6ea70314 --- /dev/null +++ b/readme.txt @@ -0,0 +1,45 @@ +This is the first playable beta version of Teewars. + +Keys +#### + +A and D to move left and right +W or Space to jump +Left mouse button fires your weapon +Right mouse button launches the grappling hook +1-5 to change weapon + + +Gameplay +######## + +Players spawn with the Sledge Hammer and the Gun, which has unlimited ammo. All other weapons hold 10 rounds. + + +Command Line Switches +#################### + +-s to start a server +-w for windowed mode + + +The Teewars team +################ + +Matricks Code +Phobos Code +Serp Code +Void Code +Red Com Graphics +Ampleyfly Graphics +Maikka Graphics +Dopefish Levels +Teetow Audio +Trin Web page + + +Contact info +############ + +http://www.teewars.com +Any bugs or problems can be addressed in #teewars on Quakenet IRC. \ No newline at end of file diff --git a/scripts/deploy_win.py b/scripts/deploy_win.py new file mode 100644 index 000000000..3015ba5a9 --- /dev/null +++ b/scripts/deploy_win.py @@ -0,0 +1,30 @@ +import zipfile +import os, os.path +from distutils.file_util import copy_file + +# A bit of dir trickery to make sure we're referring to the right dir +# this makes it possible to run the script both from the teewars root and +# the scripts subdir +if os.getcwd().find("scripts") > -1: + dir = os.path.abspath("..") +else: + dir = os.getcwd() + +data_dir = "%s\\%s" % (dir, 'data') +exe_file = "%s\\%s" % (dir, 'teewars.exe') +zip_file = "%s\\%s" % (dir, 'teewars.zip') + +ns = os.listdir(data_dir) +try: + ns.remove('.svn') +except: + pass +zf = zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED) +zf.write(exe_file, 'teewars.exe') +for n in ns: + zf.write(os.path.join(data_dir, n), "%s\\%s" % ('data', n)) + +print "Data written to zip-file:\n" +zf.printdir() +zf.close() + diff --git a/scripts/make_docs.sh b/scripts/make_docs.sh new file mode 100755 index 000000000..248b3efa8 --- /dev/null +++ b/scripts/make_docs.sh @@ -0,0 +1,5 @@ +#!/bin/sh +docs/doctool/NaturalDocs -r -s Small -i src/ -i docs/articles -o HTML docs/output -p docs/config + +#rm -Rf ~/public_html/.docs +#cp -Rf docs/output ~/public_html/.docs diff --git a/scripts/png.py b/scripts/png.py new file mode 100644 index 000000000..739b1a7a1 --- /dev/null +++ b/scripts/png.py @@ -0,0 +1,102 @@ +import struct, zlib, sys + +class image: + w = 0 + h = 0 + data = [] + +def read_tga(f): + image = f.read() + img_type = struct.unpack("