summaryrefslogtreecommitdiff
path: root/games
AgeCommit message (Collapse)Author
2017-07-07we're not shooting yacceptionMarc Espie
okay millert@
2017-07-01missed BUILDFIRST. Allow stuff to proceed without dependsMarc Espie
as found by krw@
2017-06-30Add missing rot13 function prototypeRicardo Mestre
2017-06-23Remove unused confirm() and datime() functions.Frederic Cambus
Those functions are unused and have been compiled out since 1998, it's time to let them go. OK sthen@, tom@, mestre@
2017-06-20Fix a path in Makequest and remove hack.sh (it never worked).Michal Mazurek
OK tb@
2017-06-19No need for a conditional to choose between nroff and troff.Anthony J. Bentley
ok jmc@
2017-06-15Remove the Installation section and fix a nonexistent path.Michal Mazurek
OK tb@ (fix paths diff) deraadt@
2017-06-12/usr/games/lib doesn't exist any more, use the new path.Michal Mazurek
OK tb@ deraadt@
2017-06-12destroy lint remnants.Marc Espie
okay millert@ deraadt@
2017-06-09Correct number of players, the program enforces a range from 2 to 9.Frederic Cambus
OK tb@, jmc@
2017-06-04Use proper bool types in fortune(6).Frederic Cambus
OK tb@, phessler@ (previous version)
2017-06-02Fix an infinite loop in fortune(6).Frederic Cambus
When invoking fortune with the -l option (to get long dictums only), the program gets stuck in an infinite loop because fortlen() doesn't return the fortune length correctly. OK mestre@, tb@, deraadt@, schwarze@
2017-05-31late game space battles require tty pledge to clear screen, etc.Ted Unangst
from tomr
2017-05-28remove some escapes that are unnecessary/harmful. ok jmc schwarzeTed Unangst
2017-05-28remove unused macroTed Unangst
2017-05-28there are no bugs; i fixed themTed Unangst
2017-05-28if your dying scream would escape the death field, realign to stay withinTed Unangst
2017-05-28high scores printed too far to the right, move it left a littleTed Unangst
2017-05-26forgot to remove mention of deleted dump/restart.Ted Unangst
also delete ancient todo file: Frankly, I am getting pretty sick of playing this game. Hence, the version which you get may have several bugs
2017-05-26save and restore hasn't worked for some time, not since -fPIE, since itTed Unangst
uses a pointer equality check for save game validity. remove it. discovered by the ever inquisitive mlarkin
2017-05-19Silence a whole slew of clang warnings by doing a no-op in the crazyTheo Buehler
internal obfuscation scheme the other way around, thereby avoiding a signed underflow. ok mestre
2017-04-16According to termcap(3), char PC, *BC, *UP need to be extern. Fixes anTheo Buehler
ld(1) error found by mestre a while ago. fix suggested and ok naddy
2017-04-10Clean up disabled declaration in the text struct.Frederic Cambus
OK deraadt@
2017-04-08snprintf() format string should be literalGleydson Soares
avoid compiler silly warnings sure deraadt@
2017-04-08format string is better be literalGleydson Soares
OK deraadt
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2017-01-20In "%.*s" the * takes (int). gcc whines if you try to use the resultKenneth R Westerback
of pointer subtraction without a cast. So cast those expressions to (int). Switch one local variable to the same type as the parameter it is compared to. ok deraadt@ guenther@ beck@
2017-01-20mark the prototypes of tutor() and leave() as __dead as well.Theo Buehler
ok guenther, krw
2017-01-20Mark functions that do not return as __dead to quiet gcc warnings.Kenneth R Westerback
ok beck@
2017-01-20Nuke some excess whitespace.Kenneth R Westerback
2016-12-25gcc says "if you define labels and don't use them, I will whine."Kenneth R Westerback
ok tom@
2016-12-21Eliminate another 'calculated, not used' warning by nuking a spuriousKenneth R Westerback
dereference. Same change made in NetBSD in 1997. ok tb@ millert@ tom@
2016-12-03elements 113, 115, 117, and 118; from pjanzenJason McIntyre
2016-12-01Remove useless #ifndef in atc(6) and pom(6).Frederic Cambus
M_PI is always defined, so we can drop those directives. OK deraadt@, millert@
2016-11-05spelling fix from eric van gyzen, freebsd r308293;Jason McIntyre
2016-09-12If boardspec doesn't consist entirely of lower case letters, there will beTheo Buehler
out of bound accesses of arrays, leading to sefaults or bus errors. Verify that at most one boardspec with lower case letters is given, or error out. ok millert
2016-09-12fix init, from randy hartman; ok tb@Otto Moerbeek
2016-09-11Callers of time(3) should #include <time.h>.Theo Buehler
ok deraadt
2016-09-11KNF: Break an overlong line. No binary change.Theo Buehler
2016-09-09These games have been broken for the better part of a year, ever sinceTheo Buehler
their setgid bits got removed. Mark them as such in their manuals. ok deraadt, help with wording jmc
2016-09-02Make build deterministic by not randomizing the datfiles themselves,Theo Buehler
random lines are selected on output and that's enough. From daniel, ok tb
2016-09-01In 32 bits sqrt(val) + 1 can overflow, so some big primes stillTheo Buehler
aren't recognized as such, for example 18446744073709551577 given in the commit message of factor.c r1.7 from NetBSD. Move the return type of usqrt() from u_int32_t to u_int64_t. ok guenther, tom, otto
2016-08-31Fix a bogus comment: "factors of" -> "coprime to". Replace theTheo Buehler
nonsensical "if and only iff" with "if and only if" and zap some trailing whitespace.
2016-08-27the quotes in "unkempt thoughts" were authored by stanislaw lec,Jason McIntyre
not stanislaw lem (an easy blunder, i'd say); i've also inserted the "J." into one of these credits (Stanislaw J. Lec) since all the others have them; credit to antoni grzymala; diff pockled from netbsd
2016-08-27Pull in <stdio.h> for NULLPhilip Guenther
ok deraadt@
2016-08-27Pull in <sys/select.h> for fd_setPhilip Guenther
Pull in <time.h> for time() ok deraadt@
2016-08-27Pull in <sys/select.h> for fd_setPhilip Guenther
ok deraadt@
2016-08-27Pull in <sys/time.h> for struct timespec, gettimeofday(), clock_gettime(),Philip Guenther
and setitimer() ok deraadt@
2016-08-27Pull in <time.h> for time() and perhaps other functionsPhilip Guenther
ok deraadt@
2016-08-14Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.Philip Guenther
Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position. ok and a ull->ll tweak from natano@, ok tedu@