John Zaitseff
1231c084b8
Update the copyright year to 2022
2022-08-01 04:46:15 +10:00
John Zaitseff
0d2462ef41
Update the copyright year to 2021
2021-01-07 17:07:55 +11:00
John Zaitseff
814ce71842
Update the copyright year to 2020
2020-01-02 08:37:36 +11:00
John Zaitseff
fa0cb153ff
Update copyright year to 2019
2019-01-05 08:10:28 +11:00
John Zaitseff
abc9b77bd6
Change all relevant http references to https (secure HTTP)
2018-03-30 12:46:37 +11:00
John Zaitseff
8c6d009611
Update the copyright date to 2018
2018-03-30 11:38:29 +11:00
John Zaitseff
2f79514910
Update the copyright date to 2017
2017-05-14 06:29:44 +10:00
John Zaitseff
a486cd15aa
Update the copyright year to 2016
2016-01-05 09:25:51 +11:00
John Zaitseff
f16f78a509
Update the copyright date to 2015
2015-08-18 07:27:22 +10:00
John Zaitseff
9cb3a46693
Completely rewrite the scramble() and unscramble() functions
...
The file output is now completely in ASCII---and will be much harder to
break for casual cheating!
2014-05-23 18:56:24 +10:00
John Zaitseff
549b2d517d
Use separate input and output buffers for scramble() and unscramble()
2014-05-22 15:34:32 +10:00
John Zaitseff
9450fed943
Update the copyright year to 2014
2014-05-22 11:05:51 +10:00
John Zaitseff
c25ec91e99
Update the copyright year to 2013, and the version number to 7.5
2013-02-02 10:48:43 +11:00
John Zaitseff
bc3e1a06a1
Update the copyright year to 2012
2012-03-15 02:36:23 +11:00
John Zaitseff
150bcf10c2
Try loading UTF-8 strings with transliteration, if at all possible
...
Also fix a bug in save_game(): the iconv_open() parameters were the wrong
way around!
2011-08-20 16:27:11 +10:00
John Zaitseff
4d145813ff
Make the show_help() function multibyte-aware
...
All text in the show_help() function is now processed as wide characters.
2011-08-20 13:27:26 +10:00
John Zaitseff
32ed55a0cd
Convert strings to UTF-8 if possible during file save and load
2011-08-08 11:15:44 +10:00
John Zaitseff
c7e1f6096f
Replace PACKAGE_NAME with "Star Traders"
...
The gettext utilities don't like C macros in gettext() invocations, so
replace each occurrence of PACKAGE_NAME with "Star Traders".
2011-08-01 19:49:16 +10:00
John Zaitseff
c19feab652
Clean up various comments, etc, in header files
2011-07-19 20:32:00 +10:00
John Zaitseff
7bfdcff969
Minor (cosmetic) changes to the ordering of elements in some files
2011-07-19 19:09:59 +10:00
John Zaitseff
2c65c5be4a
Move the stock exchange and bank functions (to be written) to exch.c
2011-07-16 10:43:19 +10:00
John Zaitseff
ddb214c5fb
Move the selection and processing of game moves to move.c
2011-07-16 10:30:58 +10:00
John Zaitseff
dd40b94301
Move game_load() and game_save() functions to their own source file
2011-07-16 09:58:53 +10:00
John Zaitseff
5c28cea858
Move the BUFSIZE macro to trader.h; remove the similar GAME_BUFSIZE
2011-07-15 18:52:31 +10:00
John Zaitseff
200f7cdf97
Revise the scramble() and unscramble() functions
...
The scramble() and unscramble() functions now use a moving (incrementing)
key for the XOR encryption/decryption. Also include a table of XOR keys
to use at random for encryption.
Revised the scramble() and unscramble() functions to use a moving
(incrementing) key for the XOR encryption/decryption. Also generated a
table of XOR keys to use at random for encryption.
2011-07-14 12:30:23 +10:00
John Zaitseff
593cda9a97
Add to the save_game() function to save the current game to disk
2011-07-13 12:52:38 +10:00
John Zaitseff
1c502d671c
Load a game file; support (trivial) game file encryption
2011-07-11 23:23:21 +10:00
John Zaitseff
9a39c84bf4
Add source files game.c and game.h
...
These files will eventually contain many of the game functions.
2011-07-04 15:54:39 +10:00
John Zaitseff
abd196d2c5
Add the basic I/O functions init_screen(), end_screen() and center()
2011-07-02 21:25:57 +10:00
John Zaitseff
0af905e1d9
Use PACKAGE_NAME where appropriate
2011-07-02 21:19:51 +10:00
John Zaitseff
ee94d86b57
Add some more definitions, especially for the Curses library
2011-06-30 21:52:55 +10:00
John Zaitseff
6910370557
Add various header files
...
Add the system.h header file for all system header includes, and utils.c
and utils.h for various low-level utility functions.
2011-06-15 22:34:28 +10:00
John Zaitseff
18fde51d30
Add global constants, type definitions and variables to the game
2011-06-15 12:55:19 +10:00
John Zaitseff
38d7a0e022
Add missing #include directives
2011-06-14 23:19:58 +10:00
John Zaitseff
c9cf917763
Rename header #define to conform to relevant C language standards
...
Although widely used, macro definitions starting with "__" (amongst
others) are reserved by the C programming language standard for the
compiler and standard header files to use in any way desired.
2011-06-14 23:11:16 +10:00
John Zaitseff
3187aaf10c
Remove superfluous version and date information
2011-06-14 23:01:15 +10:00
John Zaitseff
c39b6019e2
Remove quote characters surrounding filenames
2011-06-14 21:59:48 +10:00
John Zaitseff
f66fb88c69
Create preliminary versions of the source code and manual page
2011-06-14 18:19:01 +10:00