Home | History | Annotate | Download | only in phantasia
History log of /src/games/phantasia/main.c
RevisionDateAuthorComments
 1.25  27-Jun-2022  andvar fix various typos in comments.
 1.24  03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.23  31-Aug-2009  dholland branches: 1.23.46;
Dumping all system includes anything uses in one big header file is so 1986.

XXX: Removing unused declarations (thus, unused headers can trigger
XXX: it) sometimes causes gcc to generate substantially different
XXX: code. Dunno why but it looks rather like a gcc bug.
 1.22  12-Aug-2009  dholland sprinkle static
 1.21  26-May-2009  dholland Paranoia about lengths of login names. From pjanzen of OpenBSD.
 1.20  26-May-2009  dholland Avoid SIGSEGV on users not in password file. From pjanzen of OpenBSD.
 1.19  25-May-2009  dholland sprintf -> snprintf
 1.18  25-May-2009  dholland ANSIfy function declarations. Object file diffs cross-checked.
 1.17  08-Aug-2008  drochner if initscr() fails, exit with a message rather than crash in the
next curses call
 1.16  13-May-2006  christos branches: 1.16.20;
Coverity CID 3508: Fix file leak.
 1.15  09-Dec-2004  jmc Redo how void gets init'd.
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's
 1.14  11-Apr-2004  he Undef bool before including <curses.h>, since it tries to typedef
bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
 1.13  07-Apr-2004  ross Rework to use curses.h only on the target, not on the host.
 1.12  01-Jan-2004  jsm branches: 1.12.4;
When cleaning up, only close files that have been opened successfully.
When reporting errors for failing to open files, give error text
rather than errno number. Patch from Joey Hess <joey@kitenet.net> for
Debian bug 187251 from Mikael Hedin <micce@debian.org>.
 1.11  08-May-2003  wiz de-__P().
 1.10  06-Dec-2001  blymn branches: 1.10.2;
Change deprecated curses function calls to new equivalents.
 1.9  13-Sep-1999  jsm A couple more checks for file descriptor < 3 missed earlier.
 1.8  08-Sep-1999  jsm Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
 1.7  08-Sep-1999  jsm Add use of `const' where appropriate to the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
 1.6  18-Aug-1999  hubertf Make phrase to enter password again clearer
 1.5  30-Aug-1998  veego Add braces to make the new egcs happy.
 1.4  13-Oct-1997  lukem WARNSify, KNFify (inc. removing extremely verbose & useless comments), ...
 1.3  24-Apr-1995  cgd Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations,
change sizes of variables and casts.
 1.2  24-Mar-1995  cgd rcs id conventions
 1.1  21-Oct-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  21-Oct-1994  jtc phantasia(6), from 44lite
 1.10.2.1  26-Oct-2005  riz Pull up following revision(s) (requested by jmc in ticket #5921):
games/phantasia/setup.c: revision 1.14 via patch
games/phantasia/main.c: revision 1.15
Redo how void gets init'd.
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's
 1.12.4.3  08-Apr-2005  tron Pull up revision 1.15 (requested by jmc in ticket #1032):
Redo how void gets init'd.
setup now just creates an empty file. When main starts and loads it in,
it stats and if zero size init's a new location and saves it back out.
Now games.tgz can be shared among MACHINE_ARCH's
 1.12.4.2  08-Apr-2005  tron Pull up revision 1.14 (requested by jmc in ticket #1032):
Undef bool before including <curses.h>, since it tries to typedef
bool. Otherwise we get (at least on gcc 2.95.3) an empty declaration
warning from "typedef char char;" due to the #define of bool in
phantstruct.h.
 1.12.4.1  08-Apr-2005  tron Pull up revision 1.13 (requested by jmc in ticket #1032):
Rework to use curses.h only on the target, not on the host.
 1.16.20.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.23.46.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed