| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
No functional change.
|
| |
|
|
|
|
| |
list. Addresses Coverity CID 1507. Also put pointers before shorts in
a struct rather than mixing them up
|
| |
|
| |
|
|
|
| |
Patches provided by Joel Baker in PR 22269, verified by myself.
|
|
|
| |
struct ship * to are now always the first two args.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
obvious reasons of convention).
|
| |
|
|
|
|
|
| |
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.
|
|
|
| |
than linker commons.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082. Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
integer arguments and with string arguments (cast to long, and in one
place to int). The patch here cleans this up, making it into two
separate functions; this allows for the game to be made const-correct
in future and improves portability.
The patch also contains two other fragments: a change to use the
symbolic constant SEEK_END with fseek(), and a change to use snprintf
in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| |
|
|
|
| |
Joseph Myers <jsm@octomino.demon.co.uk>.
|
| |
|
|
|
| |
- add a makemsg() function to accompany makesignal.
|
|
|
|
|
|
| |
use varargs properly
use unsigned chars where appropriate
fix typos
eliminate gcc warnings
|
|
|
| |
values works as expected on systems with unsigned chars.
|
| |
|
|
|