1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-09-29 17:45:55 -04:00
trader/src
John Zaitseff e3d5d04774 Eliminate a second TOCTOU bug in xmkdir() itself
The theoretical odds of hitting this time-of-check / time-of-use bug are
extremely remote.  But we do want to keep Coverity Scan happy, don't we?
2022-08-01 22:26:12 +10:00
..
exch.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
exch.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
fileio.c Eliminate a TOCTOU bug between data_directory() and xmkdir() 2022-08-01 22:23:06 +10:00
fileio.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
game.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
game.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
globals.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
globals.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
help.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
help.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
intf.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
intf.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
Makefile.am Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
move.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
move.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
README Tweak reStructuredText files using the default interpreted text role 2020-12-30 10:56:27 +11:00
system.h Eliminate a TOCTOU bug between data_directory() and xmkdir() 2022-08-01 22:23:06 +10:00
trader.c Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
trader.h Update the copyright year to 2022 2022-08-01 04:46:15 +10:00
utils.c Eliminate a second TOCTOU bug in xmkdir() itself 2022-08-01 22:26:12 +10:00
utils.h Eliminate a TOCTOU bug between data_directory() and xmkdir() 2022-08-01 22:23:06 +10:00

.. -*- mode: rst; coding: utf-8 -*-
.. role:: filename(literal)
.. default-role:: filename

============================================
Star Traders: A Game of Interstellar Trading
============================================

This directory, `src`, contains the main source code for Star Traders.
The source code is split up among the following files:

* `trader.c`,  `trader.h`:   Main program, command-line interface
* `globals.c`, `globals.h`:  Global game constants and variables
* `game.c`,    `game.h`:     Game start, end and (some) display functions
* `move.c`,    `move.h`:     Functions for making and processing a move
* `exch.c`,    `exch.h`:     Stock Exchange and Bank functions
* `fileio.c`,  `fileio.h`:   Load and save game file functions
* `help.c`,    `help.h`:     Help text functions: how to play the game
* `intf.c`,    `intf.h`:     Basic text input/output functions
* `utils.c`,   `utils.h`:    Utility functions needed by Star Traders
* `system.h`:                All system header files are included here