History log of /netbsd/games/sail/extern.h (Results 1 – 25 of 38)
Revision Date Author Comments
# 67c60162 29-Aug-2011 joerg <joerg@NetBSD.org>

Use __dead


# 70862b7a 26-Aug-2011 dholland <dholland@NetBSD.org>

Use __dead and __printflike instead of __attribute__.


# 38821839 06-Aug-2010 dholland <dholland@NetBSD.org>

Rework the game startup so it uses curses nicely. There are now menus
and stuff for picking scenarios and ships and all that.


# da121b33 12-Aug-2009 dholland <dholland@NetBSD.org>

sprinkle static


# 87d1d157 15-Mar-2009 dholland <dholland@NetBSD.org>

Rework curses handling.

The most visible change is that the scrolling buffer of messages now
actually scrolls and keeps history, and you type on the bottom line only.
For now you can page through th

Rework curses handling.

The most visible change is that the scrolling buffer of messages now
actually scrolls and keeps history, and you type on the bottom line only.
For now you can page through the history with ^P/^N; that's not ideal but
one can't fix everything all at once.

Use resizeable array code (roughly the same that I floated a while ago
in connection with make) to hold the scroll.

show more ...


# 0c94ee21 14-Mar-2009 dholland <dholland@NetBSD.org>

Turns out the W_FILE message wasn't ever used.


# e544d2b8 14-Mar-2009 dholland <dholland@NetBSD.org>

Create some abstraction for sending messages.
Make a send and receive function for each possible message.
Make these have useful argument signatures.
Hide the list of message codes inside sync.c.


# 49bf5e73 14-Mar-2009 dholland <dholland@NetBSD.org>

Sprinkle some "bool". And don't use '\0' to mean 'false'.


# b8c43a1f 14-Mar-2009 dholland <dholland@NetBSD.org>

Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.
No functional change.


# 25e99263 14-Mar-2009 dholland <dholland@NetBSD.org>

String buffer cleanup. sprintf bad.


# a3edf3e1 18-Mar-2006 abs <abs@NetBSD.org>

If none of the boarding parties are set do not fall off the end of the
list. Addresses Coverity CID 1507. Also put pointers before shorts in
a struct rather than mixing them up


# 5c6ba477 08-Feb-2004 jsm <jsm@NetBSD.org>

Use standard C abs function rather than local macro.


# 8f5e2162 27-Jan-2004 jsm <jsm@NetBSD.org>

Include <sys/types.h>.


# e5aeb4ea 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22269, verified by myself.


# a5f75468 04-Jan-2001 jwise <jwise@NetBSD.org>

Normalize signature of ship handling functions -- struct ship * from and
struct ship * to are now always the first two args.


# d62e34ec 04-Jan-2001 jwise <jwise@NetBSD.org>

Various stylistic nits.


# 61a39e0b 04-Jan-2001 jwise <jwise@NetBSD.org>

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

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.

show more ...


# 43894be6 04-Jan-2001 jwise <jwise@NetBSD.org>

Second half of static-ization of local funcs.


# d5c5fed0 04-Jan-2001 jwise <jwise@NetBSD.org>

G/C undocumented and unimplemented `-D' (debug) option.


# bca097d5 04-Jan-2001 jwise <jwise@NetBSD.org>

First half of static-ization of local funcs.


# dfea9f08 01-Jan-2001 jwise <jwise@NetBSD.org>

ANSIfy in preparation for further work.


# 3e7481b1 30-Nov-2000 jwise <jwise@NetBSD.org>

Use random() instead of rand(), and seed from time(3) instead of from getpid().


# 48253ebc 30-Nov-2000 jwise <jwise@NetBSD.org>

Change the macro to roll a six-sided die from die() to dieroll() (for
obvious reasons of convention).


# f876814e 30-Nov-2000 jwise <jwise@NetBSD.org>

ANSIfy in preparation for changes.


# 01be1267 09-Feb-2000 jsm <jsm@NetBSD.org>

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.


12