OpenGrok
Cross Reference: main.c
xref
: /
src
/
games
/
sail
/
main.c
Home
|
History
|
Annotate
|
Download
|
only in
sail
History log of
/src/games/sail/main.c
Revision
Date
Author
Comments
1.26
06-Aug-2010
dholland
Rework the game startup so it uses curses nicely. There are now menus
and stuff for picking scenarios and ships and all that.
1.25
14-Mar-2009
dholland
Fix usage message
1.24
14-Mar-2009
dholland
chdir to /var/games/sail while running, to simplify name handling.
1.23
02-Mar-2009
dholland
Use errx/warnx instead of printing to stderr. From OpenBSD.
1.22
20-Jul-2008
lukem
branches: 1.22.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
1.21
07-Aug-2003
agc
branches: 1.21.32;
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
1.20
29-Aug-2001
jsm
Include <time.h> for declarations the Single Unix Specification says
are there but not in <sys/time.h>.
1.19
04-Jan-2001
jwise
More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't
include any).
b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't
have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
1.18
04-Jan-2001
jwise
Rationalize inclusion of header files: cut down on `include everything
everywhere' a little (more to go), and as per KNF, local includes after
system includes.
1.17
04-Jan-2001
jwise
G/C undocumented and unimplemented `-D' (debug) option.
1.16
01-Jan-2001
jwise
Fix getopt usage (again) in case where user does not choose a scenario on
the command line.
1.15
01-Jan-2001
jwise
Fix getopt() usage.
1.14
01-Jan-2001
jwise
ANSIfy in preparation for further work.
1.13
30-Nov-2000
jwise
Fix warning.
1.12
30-Nov-2000
jwise
Use random() instead of rand(), and seed from time(3) instead of from getpid().
1.11
30-Nov-2000
jwise
Change the macro to roll a six-sided die from die() to dieroll() (for
obvious reasons of convention).
1.10
30-Nov-2000
jwise
Use getopt(3) for flag processing.
1.9
30-Nov-2000
jwise
Fix style nit.
1.8
30-Nov-2000
jwise
ANSIfy in preparation for other changes.
1.7
09-Feb-2000
jsm
Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the
Linux port of the NetBSD games which it is fairly clear to me should
be so merged.
1.6
13-Oct-1997
christos
- make sure that the arguments to the printf like functions are correct
- add a makemsg() function to accompany makesignal.
1.5
13-Oct-1997
christos
Warns fixes:
use varargs properly
use unsigned chars where appropriate
fix typos
eliminate gcc warnings
1.4
07-Jan-1997
tls
Sync to 4.4BSD-Lite2
1.3
22-Apr-1995
cgd
clean up import, NetBSD RCS IDs
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.3
28-Dec-1996
tls
Import from 4.4BSD-Lite2
1.1.1.2
22-Apr-1995
cgd
src/games/sail from Lite
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.21.32.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
1.22.6.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Indexes created Wed Oct 22 13:09:56 GMT 2025