1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-12-04 14:46:45 -05:00

Add the files help.c and help.h

These file will eventually contain help text describing how to play the
Star Traders game.
This commit is contained in:
John Zaitseff 2011-07-02 21:50:47 +10:00
parent abd196d2c5
commit 3aa98f48bd
4 changed files with 70 additions and 0 deletions

View File

@ -32,6 +32,7 @@ bin_PROGRAMS = trader
trader_SOURCES = \
trader.c trader.h \
globals.c globals.h \
help.c help.h \
intf.c intf.h \
utils.c utils.h \
system.h

View File

@ -13,6 +13,8 @@ source code is split up among the following files:
system.h - All system header files are included here
globals.h - Global game constants and variables
globals.c - Global game variables
help.h - Help text routines header file
help.c - Help text routines: how to play Star Traders
intf.h - Basic text input/output header file
intf.c - Basic text input/output routines
utils.h - Utility functions header file

32
src/help.c Normal file
View File

@ -0,0 +1,32 @@
/************************************************************************
* *
* Star Traders: A Game of Interstellar Trading *
* Copyright (C) 1990-2011, John Zaitseff *
* *
************************************************************************/
/*
Author: John Zaitseff <J.Zaitseff@zap.org.au>
$Id$
This file, help.c, contains the actual implementation of help routines
as used in 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/.
*/
#include "system.h"
#include "help.h"

35
src/help.h Normal file
View File

@ -0,0 +1,35 @@
/************************************************************************
* *
* Star Traders: A Game of Interstellar Trading *
* Copyright (C) 1990-2011, John Zaitseff *
* *
************************************************************************/
/*
Author: John Zaitseff <J.Zaitseff@zap.org.au>
$Id$
This file, help.h, contains declarations for help text routines as used
in 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 included_HELP_H
#define included_HELP_H 1
#endif /* included_HELP_H */