Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Userland now builds and uses terminfo instead of termcap. | roy | 2010-02-03 | 1 | -88/+48 |
| | | | OK: core@, jdc@ | ||||
* | sprinkle static | dholland | 2009-08-12 | 1 | -4/+4 |
| | |||||
* | Once upon a time, larn 12.0 had functions named getchar() and putchar() | dholland | 2008-02-03 | 1 | -26/+27 |
| | | | | | | | that conflicted with libc. We changed them to lgetchar() and xputchar() respectively; larn 12.2 changed them to ttgetch() and ttputch(). After reflecting on this for a while I've decided to adopt the larn 12.2 names; not so much for compatibility but for consistency going forward. So, massrename them. Also make ttputch() static. | ||||
* | Larn does not need its own private versions of functions from <ctype.h>. | dholland | 2008-02-03 | 1 | -2/+3 |
| | | | Also, remove the function gettokstr(), which is not used. From larn 12.2. | ||||
* | Make a bunch of functions static. Merged from larn 12.2. | dholland | 2008-02-03 | 1 | -3/+5 |
| | |||||
* | Call srandom() as well as initializing the private random generator | dholland | 2008-01-28 | 1 | -2/+3 |
| | | | | (which is crappy and should be removed, but that's for another day...) This way e.g. fortune cookies no longer appear always in the same order. | ||||
* | Larn now builds with WARNS=4. | dholland | 2008-01-28 | 1 | -43/+47 |
| | |||||
* | Apparently the reason the printf arguments were all wrong is that larn | dholland | 2008-01-28 | 1 | -121/+11 |
| | | | | had its own private and not-quite-standard implementation of printf. Remove it surgically with a chainsaw. | ||||
* | Per PR 36185, OKed by martin@ | mouse | 2007-04-22 | 1 | -2/+3 |
| | |||||
* | lrint() -> larn_lrint(). | mrg | 2006-05-11 | 1 | -4/+4 |
| | |||||
* | A preprocessor macro named "srand" was defined which seeded the random | perry | 2005-02-03 | 1 | -3/+3 |
| | | | | | | | | number generator. Unfortunately, it conflicted with a function of the same defined in stdlib.h. This was masked by the __P hack, which is now being purged. I've renamed "srand" to "seedrand" to eliminate the conflict. | ||||
* | __STDC__ is always defined on NetBSD. | wiz | 2002-05-26 | 1 | -18/+2 |
| | |||||
* | Update to the new t_agetstr() API. | christos | 2001-11-02 | 1 | -13/+10 |
| | |||||
* | va_{start,end} audit: | wiz | 2001-09-24 | 1 | -2/+3 |
| | | | | | | | | | | | | | Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility). Improved by comments from enami and christos -- thanks! Heimdal/krb4/KAME changes already fed back, rest to follow. Inspired by, but not not based on, OpenBSD. | ||||
* | - rename getchar to lgetchar to avoid conflicts with the stdio getchar | christos | 2001-02-05 | 1 | -5/+5 |
| | | | | - fix redundant decls and nested externs - use snprintf instead of sprintf | ||||
* | Fix coredump on start. | blymn | 2000-05-24 | 1 | -3/+3 |
| | |||||
* | Converted games to use the new termcap interface. | blymn | 2000-05-22 | 1 | -19/+47 |
| | |||||
* | update after change to return value of tputs() third argument | lukem | 1999-10-04 | 1 | -3/+4 |
| | |||||
* | Tons of changes; re-indent, use termios, fix warnings, add prototypes... | christos | 1997-10-18 | 1 | -593/+803 |
| | | | Games is almost clean; only hack is left... | ||||
* | NULL => 0 (Arne Juul; PR#3629) | pk | 1997-05-17 | 1 | -6/+6 |
| | |||||
* | print more informative error message. from kstailey (PR#2699) | mrg | 1996-08-15 | 1 | -2/+5 |
| | |||||
* | Various changes to make games compile w/o warnings on the alpha: | cgd | 1995-04-24 | 1 | -6/+7 |
| | | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. | ||||
* | merge with Lite, new RCS id conventions, etc. | cgd | 1995-03-23 | 1 | -1/+1 |
| | |||||
* | Add RCS identifiers, remove some completely useless RCS logs and patchkit | mycroft | 1993-08-02 | 1 | -0/+4 |
| | | | headers, and a few other insignificant changes. | ||||
* | initial import of 386bsd-0.1 sources | cgd | 1993-03-21 | 1 | -0/+915 |