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
24ec66e00e
Change "prints" to imperative "print" in a translator comment in help.c
2017-05-24 20:38:32 +10:00
John Zaitseff
2f79514910
Update the copyright date to 2017
2017-05-14 06:29:44 +10:00
John Zaitseff
5edd10177c
Ensure no label has to start with a new-line character
2016-04-16 07:39:51 +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
bad1e27f8f
Update a translator comment and regenerate the PO files
2014-10-03 09:17:05 +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
48bf36b719
The author and maintainer (me!) is willing to help with formatting
...
Translating the help text is particularly challenging when taking into
account the necessity for correct whitespacing. Clarify that the author
and maintainer (me!) is willing to help.
2012-04-14 12:19:52 +10:00
John Zaitseff
71e1cd593e
Clarify that help page count is fixed for any given language
...
The number of pages used by the help text is fixed for any given
language. Different languages, depending on the actual translation, may
use differing number of pages.
2012-03-29 07:39:53 +11:00
John Zaitseff
c1c580c133
Add a new-line to the end of empty help text strings
...
This allows translators to do the same: msgmerge(1) complains if the
translated string ends in "\n" where the original string does not (and
vice versa).
2012-03-25 19:19:02 +11:00
John Zaitseff
bc3e1a06a1
Update the copyright year to 2012
2012-03-15 02:36:23 +11:00
John Zaitseff
1c2518a78b
Minor clean-up: replace character constants with wide-char versions
...
Wide-char character constants is not strictly needed for most (all?)
modern C compilers, as ASCII maps to wchar_t directly (as long as
__STDC_ISO_10646__ is defined). However, it doesn't hurt to be pedantic!
2011-08-25 21:34:41 +10:00
John Zaitseff
20473ae409
Use wide-character functions for input routines and most strings
...
Convert all input routines, and most internal strings, to use
wide-character functions. All extended characters are supported,
including those having column widths of zero (eg, combining characters),
one (eg, normal Western characters) and two (eg, many East Asian
characters). This was quite a major undertaking!
2011-08-25 13:19:31 +10:00
John Zaitseff
bc8dc76f00
Minor white-space formatting change: indent by 8 characters, not 7
2011-08-20 13:34:28 +10:00
John Zaitseff
c90265ec28
Replace "---" with "--": it looks better in text mode
2011-08-20 13:30:31 +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
6ef7c7b6da
Allow localisation of company letters and map moves (choices)
2011-08-18 12:10:33 +10:00
John Zaitseff
a024ad83e7
Update help text company letter; clarify tilde escapes in general
2011-08-18 09:10:38 +10:00
John Zaitseff
1c4cac2ba1
Add a detailed explanation of the help text markup format
2011-08-17 21:41:38 +10:00
John Zaitseff
6c1c272780
Place all output strings within gettext invocations
2011-08-16 21:03:41 +10:00
John Zaitseff
cf30933614
Continue to rewrite the interface code to use the new interfaces
2011-08-16 18:48:56 +10:00
John Zaitseff
82647cf691
Move to the new left/center/right functions; add maxlines parameter
2011-08-15 23:54:44 +10:00
John Zaitseff
665605d144
Add convenience functions left(), center() and right()
2011-08-15 21:04:07 +10:00
John Zaitseff
a6c362d2e8
Rename pr_left, pr_center and pr_right to leftch, centerch and rightch
2011-08-15 19:46:26 +10:00
John Zaitseff
907a995b98
Refactor function names; "old_" functions will be removed
...
Rename prepstr, vprepstr, chbufdup, center, center2, center3 and attrpr
to mkchstr, vmkchstr, chstrdup, old_center, old_center2, old_center3 and
old_attrpr respectively.
2011-08-15 19:12:26 +10:00
John Zaitseff
746155078b
Continue to move text output to the new interfaces
2011-08-15 10:08:44 +10:00
John Zaitseff
040e1a5ad6
Rework the signal handler
...
Rework the signal handler to be somewhat more unsafe, but conceptually
cleaner, in operation. It now ends the use of Curses, then reraises the
signal. Remove almost all references to abort_game.
2011-08-09 23:20:56 +10:00
John Zaitseff
bbdae69de4
Add a signal handler for SIGINT and SIGTERM
...
Add a signal handler for SIGINT and SIGTERM, as well as sprinklings of
checks to abort_game. Although Ncurses DOES define handlers for SIGINT
and SIGTERM, they do not always seem to work correctly under many
operating systems.
2011-08-08 20:47:52 +10:00
John Zaitseff
961e989bd7
Replace the WCENTER(x) macro with WCENTER; refactor newtxwin() to suit
2011-07-23 10:16:03 +10:00
John Zaitseff
fc60a9fef1
Rework the handling of character renditions
...
Rather than querying use_color each and every time a rendition is used,
do it once in init_screen(), assigning the renditions to global
variables.
2011-07-23 09:47:13 +10:00
John Zaitseff
6ee474e438
Minor code cleanups
2011-07-20 21:18:28 +10:00
John Zaitseff
9f02f8e77f
Rename character renditions (attributes) to something more regular
2011-07-20 17:01:25 +10:00
John Zaitseff
46c7a55203
Remove LINE_OFFSET and COL_OFFSET; rename COL_CENTER to WCENTER
2011-07-20 15:53:53 +10:00
John Zaitseff
c6007be5aa
Move background setting and box drawing into newtxwin()
...
Setting the background and drawing a box is almost always the first thing
done after window creation.
2011-07-20 11:41:46 +10:00
John Zaitseff
ee259b8a83
Add a few more function comments
2011-07-20 10:50:18 +10:00
John Zaitseff
cdb98dbedb
Make slight corrections to the help text
2011-07-19 23:19:08 +10:00
John Zaitseff
d47848850f
Clean up help.c and help.h: remove superfluous lines, add comments
2011-07-19 23:07:26 +10:00
John Zaitseff
13c6353dd2
Replace all visible mentions of <ESC> with <CTRL><C>
...
Note that pressing <ESC> will often generate up to one second's worth of
delay, whereas <CTRL><C> causes no delay.
2011-07-19 19:45:42 +10:00
John Zaitseff
fcffaa5860
Add checks for KEY_EXIT: same functionality as pressing CTRL-C
2011-07-19 19:22:20 +10:00
John Zaitseff
4ecb40fe27
Complete the implementation of the process_move() function
...
This includes the functions try_start_new_company(), merge_companies(),
include_outpost() and inc_share_price().
2011-07-16 19:23:12 +10:00
John Zaitseff
dec1a44caf
Add key presses to show_help() and get_move() to be more consistent
2011-07-15 21:45:23 +10:00
John Zaitseff
3093e2cfd3
Add the help text, including all appropriate formatting
2011-07-14 19:27:57 +10:00
John Zaitseff
92a95b253f
Implement the show_help() function with sample text
2011-07-14 16:29:29 +10:00
John Zaitseff
6436a68f8b
Add the prototype and an empty definition for show_help()
2011-07-11 13:57:14 +10:00
John Zaitseff
3aa98f48bd
Add the files help.c and help.h
...
These file will eventually contain help text describing how to play the
Star Traders game.
2011-07-02 21:50:47 +10:00