John Zaitseff
|
cbff5193d9
|
Include microseconds as well as seconds for the random number seed
|
2011-07-20 12:42:10 +10:00 |
|
John Zaitseff
|
b10b4c21ed
|
Clean up the system.h header file
|
2011-07-19 22:53:06 +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
|
4cca36441a
|
Implement the show_status() and total_value() functions
|
2011-07-15 17:46:57 +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
|
dd281f795b
|
Add gettxline() to read a line of input from the keyboard
|
2011-07-11 10:31:19 +10:00 |
|
John Zaitseff
|
ca64093a07
|
Move definition of "enum curs_type"; rename CURS_VERYVISIBLE
Rename CURS_VERYVISIBLE to CURS_VISIBLE to match the system documentation
for Curses.
|
2011-07-04 19:15:38 +10:00 |
|
John Zaitseff
|
4d5c5b70ca
|
Add the functions init_program() and end_program()
|
2011-07-04 15:45:03 +10:00 |
|
John Zaitseff
|
6c90801102
|
Add the err_exit() and errno_exit() functions
|
2011-07-02 14:23:35 +10:00 |
|
John Zaitseff
|
d5951adb4f
|
Redefine the cursor type as an enum instead of as macros
|
2011-07-02 12:47:51 +10:00 |
|
John Zaitseff
|
e8bdcfe304
|
Remove premature provisions for internationalisation
In particular, remove the use of the "_" macro: real internationalisation
may require this macro in a different form from that used here.
|
2011-07-02 10:01:37 +10:00 |
|
John Zaitseff
|
ba721ced10
|
Be stricter about saved game numbers
|
2011-07-02 09:39:23 +10:00 |
|
John Zaitseff
|
ee94d86b57
|
Add some more definitions, especially for the Curses library
|
2011-06-30 21:52:55 +10:00 |
|
John Zaitseff
|
9453cfc402
|
Use the C99 <stdbool.h> header file
|
2011-06-30 21:11:36 +10:00 |
|
John Zaitseff
|
3a4c95f927
|
Add the SysV-compatible curses library
The AX_WITH_CURSES macro is taken from the autoconf-archive project,
available at http://www.gnu.org/software/autoconf-archive/.
|
2011-06-30 20:31:19 +10:00 |
|
John Zaitseff
|
d6050858d9
|
Add the __attribute__((noreturn)) function specifier where possible
|
2011-06-30 16:09:13 +10:00 |
|
John Zaitseff
|
7fa5833fb6
|
Complete the command line argument processing routines
|
2011-06-30 15:25:30 +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 |
|