From f66fb88c6906ad3bae033a3991113940e934c5ba Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Tue, 14 Jun 2011 18:19:01 +1000 Subject: [PATCH] Create preliminary versions of the source code and manual page --- doc/trader.6 | 34 ++++++++++++++++++++++++++++++++++ src/trader.c | 34 ++++++++++++++++++++++++++++++++++ src/trader.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 doc/trader.6 create mode 100644 src/trader.c create mode 100644 src/trader.h diff --git a/doc/trader.6 b/doc/trader.6 new file mode 100644 index 0000000..880cd30 --- /dev/null +++ b/doc/trader.6 @@ -0,0 +1,34 @@ +.\" ********************************************************************* +.\" * * +.\" * Star Traders: A Game of Interstellar Trading * +.\" * Copyright (C) 1990-2011, John Zaitseff * +.\" * * +.\" ********************************************************************* +.\" +.\" Author: John Zaitseff +.\" Date: 14th June, 2011 +.\" Version: 7.0 +.\" +.\" $Id$ +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or (at +.\" your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +.\" General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see http://www.gnu.org/licenses/. + +.TH TRADER 6 "14th June, 2011" "Unix-like systems" +.SH NAME +trader \- a game of interstellar trading +.SH SYNOPSIS +.SH DESCRIPTION +.SH OPTIONS +.SH AUTHOR +John Zaitseff diff --git a/src/trader.c b/src/trader.c new file mode 100644 index 0000000..5725fdc --- /dev/null +++ b/src/trader.c @@ -0,0 +1,34 @@ +/************************************************************************ +* * +* Star Traders: A Game of Interstellar Trading * +* Copyright (C) 1990-2011, John Zaitseff * +* * +************************************************************************/ + +/* + Author: John Zaitseff + Date: 14th June, 2011 + Version: 7.0 + + $Id$ + + Star Traders is a simple game of interstellar trading, where the object + of the game is to create companies, buy and sell shares, borrow and + repay money, in order to become the wealthiest player (the winner). + + This file, "trader.c", contains the main program for Star Traders. + + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see http://www.gnu.org/licenses/. +*/ diff --git a/src/trader.h b/src/trader.h new file mode 100644 index 0000000..fa7c94e --- /dev/null +++ b/src/trader.h @@ -0,0 +1,42 @@ +/************************************************************************ +* * +* Star Traders: A Game of Interstellar Trading * +* Copyright (C) 1990-2011, John Zaitseff * +* * +************************************************************************/ + +/* + Author: John Zaitseff + Date: 14th June, 2011 + Version: 7.0 + + $Id$ + + Star Traders is a simple game of interstellar trading, where the object + of the game is to create companies, buy and sell shares, borrow and + repay money, in order to become the wealthiest player (the winner). + + This file, "trader.h", contains default game values and certain other + definitions for Star Traders. + + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see http://www.gnu.org/licenses/. +*/ + + +#ifndef __TRADER_H__ +#define __TRADER_H__ + + +#endif /* __TRADER_H__ */