aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play
Commit message (Collapse)AuthorAgeFilesLines
* (decipher-mode): Don't call decipher-read-alphabet if buffer is empty.Richard M. Stallman2005-01-171-1/+2
|
* (zone-pgm-random-life): Fix typo.Thien-Thi Nguyen2004-12-171-1/+1
|
* (zone): Init `line-spacing' from orig buffer.Thien-Thi Nguyen2004-12-171-20/+31
| | | | | | | | | | | (zone-replace-char): Take `count' and `del-count' instead of `direction'. Update callers. When `del-count' is non-nil, delete that many characters, otherwise `count' characters backwards. Insert the newly-replaced string `count' times. (zone-fret): Handle chars w/ width greater than one. (zone-fall-through-ws): No longer take window width `ww'. Update callers. Add handling for `char-width' greater than one. (zone-pgm-drip): Update var holding window-end position every cycle.
* Commentary munging; nfc.Thien-Thi Nguyen2004-12-161-3/+4
|
* (zone): Fix omission bug: Use a self-disablingThien-Thi Nguyen2004-12-161-6/+16
| | | | | | one-shot thunk for uniform (error, quit, normal) recovery. (zone-pgm-random-life): Fix bug: Recognize empty initial field by lack of "@" chars.
* Add to THANKS in Commentary; nfc.Thien-Thi Nguyen2004-12-151-1/+1
|
* (zone): Set `truncate-lines'.Thien-Thi Nguyen2004-12-151-124/+121
| | | | | | | | | | | | | | | | | | | Also, init `tab-width' with value from original buffer. (zone-shift-up): Rewrite for speed. (zone-shift-down, zone-shift-left, zone-shift-right): Likewise. (zone-pgm-jitter): Remove redundant entries from ops vector. (zone-exploding-remove): Reduce iteration count. (zone-cpos): Convert to defsubst. (zone-replace-char): New defsubst. (zone-park/sit-for): Likewise. (zone-fret): Take window-start arg. Update callers. Use `zone-park/sit-for'. (zone-fill-out-screen): Rewrite. (zone-fall-through-ws): Likewise. Update callers. (zone-pgm-drip): Use `zone-replace-char'. Move var inits before while-loop. Use `zone-park/sit-for'. (zone-pgm-random-life): Handle empty initial field. Use `zone-replace-char' and `zone-park/sit-for'.
* (zone-programs): Add `zone-pgm-random-life'.Thien-Thi Nguyen2004-12-111-24/+79
| | | | | | | | | (zone-fill-out-screen): New func. (zone-pgm-drip): Use `zone-fill-out-screen'. Also, no longer go to point-min on every cycle. (zone-pgm-paragraph-spaz): Allow spazzing for texinfo-mode. (zone-pgm-random-life-wait): New user var. (zone-pgm-random-life): New func.
* Maintainer is now FSF.Luc Teirlinck2004-11-161-6/+7
| | | | | | (life-patterns, life-neighbor-deltas, life-window-start) (life-current-generation, life-generation-string): Use defvar instead of defconst.
* (5x5-new-game): Set up the buffer even if not interactive.Richard M. Stallman2004-11-011-3/+2
|
* (fortune-to-signature): Don't use interactive-p.Richard M. Stallman2004-11-011-2/+2
| | | | (fortune-in-buffer): Doc fix.
* (bb-trace-ray): Avoid double tracing.Thien-Thi Nguyen2004-09-081-28/+29
|
* (gamegrid-add-score-insecure): Use sort-fields.Jesper Harder2004-04-051-1/+1
|
* Fix keywords.Juri Linkov2004-03-221-1/+1
|
* (animate-birthday-present): Accept other than `Sarah', too.Eli Zaretskii2004-02-211-5/+7
|
* Fix typo.Simon Josefsson2004-02-191-3/+5
| | | | (morse-code): Add @.
* (zone-call): Fix format string.Andreas Schwab2004-02-081-2/+2
|
* (handwrite): Make the handwrite credit messageRichard M. Stallman2003-12-291-2/+1
| | | | a comment rather than an output command.
* Add arch taglinesMiles Bader2003-09-0128-0/+28
|
* (decipher-ignore-spaces): Don't quote nil and t in docstrings.Juanma Barranquero2003-05-061-2/+2
|
* (mpuz-silent): Don't quote nil and t in docstrings.Juanma Barranquero2003-05-061-2/+2
|
* Added a comment explaining the various ways to save a game score on POSIXJuanma Barranquero2003-04-291-22/+53
| | | | | | | systems. (gamegrid-add-score-with-update-game-score): Use `cond' instead of `if'. Provide for the case that FILE is an absolute filename. Create the directory "$HOME/.emacs.d/games", if necessary.
* (gomoku-buffer-name): New constant.Glenn Morris2003-04-121-10/+23
| | | | | | | | | | (gomoku-mode): Doc fix. Add call to kill-all-local-variables, for global-font-lock-mode. (gomoku): Do not call gomoku-switch-to-window directly, else the player is asked the startup questions twice after a killed game. (gomoku-prompt-for-other-game): Throw an error if no new game, since otherwise answering no after a killed game has no effect. (gomoku-switch-to-window): Use gomoku-buffer-name.
* (gamegrid-add-score): Add info to docstring.Juanma Barranquero2003-02-261-41/+70
| | | | | | | | | (gamegrid-add-score-with-update-game-score-1): New function, factored out of `gamegriod-add-score-with-update-game-score'. (gamegrid-add-score-with-update-game-score): Use it. Fall back on `gamegrid-add-score-insecure' if the requested file does not exist in $(gamedir), in case the user has installed a game on his own. (gamegrid-add-score-insecure): Accept optional directory argument.
* Trailing whitepace deleted.Juanma Barranquero2003-02-0414-252/+252
|
* (solitaire-mode-map): Use command remapping instead ofAndreas Schwab2003-01-121-3/+2
| | | | substitute-key-definition.
* (lm-mode-map): Use command remapping instead ofAndreas Schwab2003-01-121-13/+7
| | | | substitute-key-definition.
* (gomoku-mode-map): Use command remapping instead ofAndreas Schwab2003-01-121-13/+7
| | | | substitute-key-definition.
* (decipher-mode-map): Use command remapping instead ofAndreas Schwab2003-01-121-5/+3
| | | | substitute-key-definition.
* (morse-code): Add Norwegian non-ASCII characters.Simon Josefsson2002-11-211-0/+2
|
* (morse-code): Add non-ASCII characters, accordingSimon Josefsson2002-11-211-3/+13
| | | | to table at http://www.soton.ac.uk/~scp93ch/morse/.
* Add provide call.Markus Rost2002-11-151-0/+2
|
* Add "no-byte-compile: t" in first line.Juanma Barranquero2002-10-011-1/+1
|
* (doctor-doc): Add 2 question words.Richard M. Stallman2002-09-231-2/+4
| | | | (doctor-getnoun): Parse and save the complete object phrase.
* (gamegrid-face): new variable to emulate a buffer-local default face.Richard M. Stallman2002-09-231-54/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | (gamegrid-xbm): new variable; XBM image as a replacement for `gamegrid-xpm' on Emacsen compiled without XPM-support. (gamegrid-colorize-glyph): Ported XEmacs-code for the generation of images to Emacs. (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to convert XEmacs-type image descriptors. (gamegrid-color-display-p): Removed. (Use `display-colors-p' instead.) (gamegrid-make-image-from-vector): New function. Convert XEmacs' image descriptors. (gamegrid-display-type): Use Emacs' standard `display-.*-p' functions to check for display capabilities. Fix the recognition of image-support in Emacs 21 by this way. (gamegrid-hide-cursor): Removed. (gamegrid-setup-default-font): Ported the code from XEmacs to Emacs: create a new face and assign the variable `gamegrid-face' to it. Make sure that the face is not higher than the smallest image used by the game. (gamegrid-initialize-display): Use `(setq cursor-type nil)' instead of `gamegrid-hide-cursor'. (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an image in the buffer, instead of applying a face. (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put the face held by `gamegrid-face' in an overlay over the whole buffer to emulate a buffer-local default-face.
* (bb-right): Respect prefix argument.Richard M. Stallman2002-09-201-21/+21
| | | | (bb-left, bb-up, bb-down): Likewise.
* (gomoku-move-up, gomoku-move-down):Richard M. Stallman2002-09-161-2/+6
| | | | Use forward-line and move-to-column.
* (tetris-blank-options, tetris-cell-options):Francesco Potortì2002-09-131-15/+12
| | | | | Remove various redundant `(t nil)'. (tetris-border-options): Use color on tty if available.
* (snake-border-options): Use color on tty if available.Francesco Potortì2002-09-131-1/+2
|
* (pong-border-options): Use color on tty ifFrancesco Potortì2002-09-131-7/+4
| | | | available. Reset color on tty to be [0.5 0.5 0.5].
* (gamegrid-make-color-tty-face): Handle string as COLOR arg.Richard M. Stallman2002-09-101-18/+16
| | | | | | (gamegrid-display-type): Don't assume display-color-p implies a color-x terminal. (gamegrid-hide-cursor): Set `cursor-type' local variable.
* 2002-09-10 Deepak Goel <[email protected]>John Paul Wallington2002-09-101-159/+159
| | | | | * play/doctor.el (doc//): Rename from `//'. Update callers. (doc$): Rename from `$'. Update callers.
* (doctor-cadr, doctor-caddr, doctor-cddr): Remove.John Paul Wallington2002-09-091-30/+26
| | | | Update callers.
* (doctor-doc): Recognize question words and use qlist.Richard M. Stallman2002-09-091-12/+7
| | | | | | | Use doctor-shorten's return value. (doctor-shorten): Compute a return value, don't alter `sent'. (doctor-hates1): Add a question mark. (doctor-strangelove): Unused function deleted.
* Use find-file-hook instead of find-file-hooks.Stefan Monnier2002-08-151-1/+1
|
* (dun-physobj-desc): Fix typo.Juanma Barranquero2002-07-031-1/+1
|
* (zone-idle): Var deleted.Richard M. Stallman2002-06-211-3/+0
|
* (zone-timer): New variable holds the idle timer.Richard M. Stallman2002-06-131-12/+11
| | | | | | | (zone): Don't fiddle with the idle timer at all. (zone-when-idle): Put the idle timer in zone-timer. If one is already set up, cancel it and make a new one. (zone-leave-me-alone): Likewise.
* *** empty log message ***Juanma Barranquero2002-05-161-1/+1
|
* (mpuz-switch-to-window): Set buffer-read-only directly.Richard M. Stallman2002-05-041-1/+1
|