1
0
mirror of https://git.zap.org.au/git/trader.git synced 2025-01-03 14:57:41 -05:00

Merge branch master into with-autogenerated

This commit is contained in:
John Zaitseff 2014-08-13 12:03:06 +10:00
commit 8859697053
18 changed files with 58 additions and 46 deletions

10
INSTALL
View File

@ -45,7 +45,7 @@ and installation:
it), you may pass "--disable-nls" to the configure script. it), you may pass "--disable-nls" to the configure script.
5. Development libraries and header files for all of the above. On many 5. Development libraries and header files for all of the above. On many
systems, these files are part of XXX-dev packages. systems, these files are part of XXX-dev or XXX-devel packages.
6. The GNU Perfect Hash Function Generator, gperf. This utility program 6. The GNU Perfect Hash Function Generator, gperf. This utility program
may be required for parts of the GNU Portability Library. may be required for parts of the GNU Portability Library.
@ -102,12 +102,12 @@ You can also run configure in a separate build-only directory tree. This
feature requires GNU Make and allows you to keep the source code tree from feature requires GNU Make and allows you to keep the source code tree from
being modified by the compilation process. To use this option, create a being modified by the compilation process. To use this option, create a
separate build directory, then run configure. For example, if you placed separate build directory, then run configure. For example, if you placed
the Star Traders source code tree in $HOME/src/trader-7.5, you could run the Star Traders source code tree in $HOME/src/trader-7.6, you could run
something like: something like:
mkdir $HOME/build/trader-build-7.5 mkdir $HOME/build/trader-build-7.6
cd $HOME/build/trader-build-7.5 cd $HOME/build/trader-build-7.6
$HOME/src/trader-7.5/configure $HOME/src/trader-7.6/configure
Once again, the Autoconf manual describes these options (and many others): Once again, the Autoconf manual describes these options (and many others):

12
NEWS
View File

@ -15,6 +15,18 @@ consult the Subversion repository for "trader" on The ZAP Group web server
at http://www.zap.org.au/services/svn/. at http://www.zap.org.au/services/svn/.
Version 7.6 (13th August, 2014)
-------------------------------
A minor release to fix compilation bugs under Cygwin: the libiconv library
must be listed AFTER the GNU Portability Library on that platform.
In addition, the minimum and maximum share return values were changed from
-10% to -15% and 20% to 25% respectively. This gives more incentive to
borrow money from the Interstellar Trading Bank, whose interest rate can
reach a maximum of 20%.
Version 7.5 (24th May, 2014) Version 7.5 (24th May, 2014)
---------------------------- ----------------------------

View File

@ -26,7 +26,7 @@ dnl You should have received a copy of the GNU General Public License
dnl along with this program. If not, see http://www.gnu.org/licenses/. dnl along with this program. If not, see http://www.gnu.org/licenses/.
AC_INIT([Star Traders], [7.5], [J.Zaitseff@zap.org.au], [trader], [http://www.zap.org.au/software/trader/]) AC_INIT([Star Traders], [7.6], [J.Zaitseff@zap.org.au], [trader], [http://www.zap.org.au/software/trader/])
AC_DEFINE([PACKAGE_AUTHOR], ["John Zaitseff"], [Package author]) AC_DEFINE([PACKAGE_AUTHOR], ["John Zaitseff"], [Package author])
AC_PREREQ([2.67]) AC_PREREQ([2.67])

View File

@ -41,7 +41,7 @@
.if \n[.g] .mso www.tmac .if \n[.g] .mso www.tmac
.\" .\"
.\" ********************************************************************* .\" *********************************************************************
.TH TRADER 6 "24th May, 2014" "Unix-like systems" .TH TRADER 6 "13th August, 2014" "Unix-like systems"
.SH NAME .SH NAME
trader \- a game of interstellar trading trader \- a game of interstellar trading
.\" ********************************************************************* .\" *********************************************************************

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:57+1000\n" "PO-Revision-Date: 2014-08-13 11:50+1000\n"
"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n" "Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
"Language-Team: Danish <dansk@dansk-gruppen.dk>\n" "Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
"Language: da\n" "Language: da\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:57+1000\n" "PO-Revision-Date: 2014-08-13 11:51+1000\n"
"Last-Translator: Philipp Thomas <pth@suse.de>\n" "Last-Translator: Philipp Thomas <pth@suse.de>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n" "Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
"Language: de\n" "Language: de\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:57+1000\n" "PO-Revision-Date: 2014-08-13 11:51+1000\n"
"Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n" "Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n"
"Language-Team: English (Australian)\n" "Language-Team: English (Australian)\n"
"Language: en_AU\n" "Language: en_AU\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:58+1000\n" "PO-Revision-Date: 2014-08-13 11:51+1000\n"
"Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n" "Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n"
"Language-Team: English (Canadian)\n" "Language-Team: English (Canadian)\n"
"Language: en_CA\n" "Language: en_CA\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:58+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n" "Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n"
"Language-Team: English (British)\n" "Language-Team: English (British)\n"
"Language: en_GB\n" "Language: en_GB\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:58+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n" "Last-Translator: John Zaitseff <J.Zaitseff@zap.org.au>\n"
"Language-Team: English\n" "Language-Team: English\n"
"Language: en_US\n" "Language: en_US\n"

View File

@ -13,10 +13,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:59+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: Felipe Castro <fefcas@gmail.com>\n" "Last-Translator: Felipe Castro <fefcas@gmail.com>\n"
"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n" "Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
"Language: eo\n" "Language: eo\n"

View File

@ -13,10 +13,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 10:59+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n" "Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n" "Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
"Language: fi\n" "Language: fi\n"

View File

@ -12,10 +12,10 @@
# Frédéric Marchal <fmarchal@perso.be>, 2012. # Frédéric Marchal <fmarchal@perso.be>, 2012.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 11:00+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: Frédéric Marchal <fmarchal@perso.be>\n" "Last-Translator: Frédéric Marchal <fmarchal@perso.be>\n"
"Language-Team: French <traduc@traduc.org>\n" "Language-Team: French <traduc@traduc.org>\n"
"Language: fr\n" "Language: fr\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 11:00+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n" "Last-Translator: Tomislav Krznar <tomislav.krznar@gmail.com>\n"
"Language-Team: Croatian <lokalizacija@linux.hr>\n" "Language-Team: Croatian <lokalizacija@linux.hr>\n"
"Language: hr\n" "Language: hr\n"

View File

@ -12,10 +12,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 11:00+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n" "Last-Translator: Johnny A. Solbu <johnny@solbu.net>\n"
"Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n" "Language-Team: Norwegian Bokmaal <i18n-nb@lister.ping.uio.no>\n"
"Language: nb\n" "Language: nb\n"

View File

@ -15,10 +15,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: trader 7.5\n" "Project-Id-Version: trader 7.6\n"
"Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n" "Report-Msgid-Bugs-To: J.Zaitseff@zap.org.au\n"
"POT-Creation-Date: 2014-05-24 08:24+1000\n" "POT-Creation-Date: 2014-08-13 11:39+1000\n"
"PO-Revision-Date: 2014-05-22 11:01+1000\n" "PO-Revision-Date: 2014-08-13 11:52+1000\n"
"Last-Translator: Pavel Maryanov <acid@jack.kiev.ua>\n" "Last-Translator: Pavel Maryanov <acid@jack.kiev.ua>\n"
"Language-Team: Russian <gnu@mx.ru>\n" "Language-Team: Russian <gnu@mx.ru>\n"
"Language: ru\n" "Language: ru\n"

View File

@ -43,6 +43,6 @@ trader_SOURCES = \
trader_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \ trader_CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib \
-DLOCALEDIR=\"$(localedir)\" -DLOCALEDIR=\"$(localedir)\"
trader_LDADD = @CURSES_LIB@ @LIBICONV@ $(top_builddir)/lib/libgnu.a @LIBINTL@ trader_LDADD = @CURSES_LIB@ $(top_builddir)/lib/libgnu.a @LIBICONV@ @LIBINTL@
EXTRA_DIST = README EXTRA_DIST = README

View File

@ -74,8 +74,8 @@
#define DEC_SHARE_PRICE 0.65 // 65% x 35% chance of decrementing same #define DEC_SHARE_PRICE 0.65 // 65% x 35% chance of decrementing same
#define PRICE_CHANGE_RATE 0.25 // Up to 25% of share price is used to incr./decr. #define PRICE_CHANGE_RATE 0.25 // Up to 25% of share price is used to incr./decr.
#define INITIAL_RETURN 0.05 // Initial return per share: 5% #define INITIAL_RETURN 0.05 // Initial return per share: 5%
#define MIN_COMPANY_RETURN -0.10 // Minimum return per share (yes, negative!) #define MIN_COMPANY_RETURN -0.15 // Minimum return per share (yes, negative!)
#define MAX_COMPANY_RETURN 0.20 // Maximum return per share #define MAX_COMPANY_RETURN 0.25 // Maximum return per share
#define CHANGE_COMPANY_RETURN 0.50 // Chance of randomly changing return #define CHANGE_COMPANY_RETURN 0.50 // Chance of randomly changing return
#define DEC_COMPANY_RETURN 0.50 // Chance such change will decrease return #define DEC_COMPANY_RETURN 0.50 // Chance such change will decrease return
#define RETURN_MAX_CHANGE 0.03 // Maximum that company return will change #define RETURN_MAX_CHANGE 0.03 // Maximum that company return will change