1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

319 Commits

Author SHA1 Message Date
Juanma Barranquero
e7f32a7551 (decipher-ignore-spaces): Don't quote nil and t in docstrings. 2003-05-06 17:45:50 +00:00
Juanma Barranquero
8101c2f2e2 (mpuz-silent): Don't quote nil and t in docstrings. 2003-05-06 17:45:00 +00:00
Juanma Barranquero
f62ebc65ab Added a comment explaining the various ways to save a game score on POSIX
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.
2003-04-29 23:06:50 +00:00
Glenn Morris
428d45d255 (gomoku-buffer-name): New constant.
(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.
2003-04-12 15:51:57 +00:00
Juanma Barranquero
f9d56d5997 (gamegrid-add-score): Add info to docstring.
(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.
2003-02-26 10:19:29 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Andreas Schwab
8c4d9806ec (solitaire-mode-map): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:50:32 +00:00
Andreas Schwab
65877b9c16 (lm-mode-map): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:50:11 +00:00
Andreas Schwab
4cbb318942 (gomoku-mode-map): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:49:41 +00:00
Andreas Schwab
3ed7472c12 (decipher-mode-map): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:49:14 +00:00
Simon Josefsson
34c4c919b0 (morse-code): Add Norwegian non-ASCII characters. 2002-11-21 19:18:07 +00:00
Simon Josefsson
4203c128a6 (morse-code): Add non-ASCII characters, according
to table at http://www.soton.ac.uk/~scp93ch/morse/.
2002-11-21 18:11:49 +00:00
Markus Rost
456f0b95dc Add provide call. 2002-11-15 05:25:19 +00:00
Juanma Barranquero
0a10297a06 Add "no-byte-compile: t" in first line. 2002-10-01 17:06:54 +00:00
Richard M. Stallman
daa6ddb5d6 (doctor-doc): Add 2 question words.
(doctor-getnoun): Parse and save the complete object phrase.
2002-09-23 16:04:57 +00:00
Richard M. Stallman
0f7df8ac6a (gamegrid-face): new variable to emulate a buffer-local default face.
(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.
2002-09-23 16:03:03 +00:00
Richard M. Stallman
4bd2c0134a (bb-right): Respect prefix argument.
(bb-left, bb-up, bb-down): Likewise.
2002-09-20 18:34:12 +00:00
Richard M. Stallman
05a841569d (gomoku-move-up, gomoku-move-down):
Use forward-line and move-to-column.
2002-09-16 19:32:53 +00:00
Francesco Potortì
ba8cb9c56d (tetris-blank-options, tetris-cell-options):
Remove various redundant `(t nil)'.
(tetris-border-options): Use color on tty if available.
2002-09-13 13:33:57 +00:00
Francesco Potortì
c2f8b57c62 (snake-border-options): Use color on tty if available. 2002-09-13 13:31:54 +00:00
Francesco Potortì
6add75170c (pong-border-options): Use color on tty if
available.  Reset color on tty to be [0.5 0.5 0.5].
2002-09-13 13:30:09 +00:00
Richard M. Stallman
a5bce90d94 (gamegrid-make-color-tty-face): Handle string as COLOR arg.
(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 16:47:16 +00:00
John Paul Wallington
a3e58c1a03 2002-09-10 Deepak Goel <deego@glue.umd.edu>
* play/doctor.el (doc//): Rename from `//'.  Update callers.
	(doc$): Rename from `$'.  Update callers.
2002-09-10 05:48:44 +00:00
John Paul Wallington
454473ea06 (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
Update callers.
2002-09-09 05:50:58 +00:00
Richard M. Stallman
27664fbec1 (doctor-doc): Recognize question words and use qlist.
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.
2002-09-09 00:25:09 +00:00
Stefan Monnier
1a4914f340 Use find-file-hook instead of find-file-hooks. 2002-08-15 00:48:20 +00:00
Juanma Barranquero
318cfc6481 (dun-physobj-desc): Fix typo. 2002-07-03 11:29:28 +00:00
Richard M. Stallman
0c7f990203 (zone-idle): Var deleted. 2002-06-21 09:57:05 +00:00
Richard M. Stallman
216640c5de (zone-timer): New variable holds the idle timer.
(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.
2002-06-13 22:27:37 +00:00
Juanma Barranquero
b96fb65cd3 *** empty log message *** 2002-05-16 12:01:57 +00:00
Richard M. Stallman
d7f5c8f9d1 (mpuz-switch-to-window): Set buffer-read-only directly. 2002-05-04 14:17:21 +00:00
Colin Walters
3d43e48ad4 (gamegrid-user-score-file-directory): New variable.
(gamegrid-add-score-with-update-game-score): Use
`shared-game-score-directory'.  Correctly handle non-setuid case.
2002-05-03 19:30:58 +00:00
Colin Walters
ab8dbe67bb (gamegrid-add-score-with-update-game-score): Test whether or not
update-game-score is setuid, and do the right thing.
2002-04-29 22:53:44 +00:00
Colin Walters
80f60ab4d9 (gamegrid-add-score-with-update-game-score): Handle the case where
we're already viewing the score file.
2002-04-23 20:24:40 +00:00
Colin Walters
744ee133cd (gamegrid-add-score-with-update-game-score): Renamed from `gamegrid-add-score'.
(gamegrid-add-score-insecure): Restored from the old `update-game-score'.
(gamegrid-add-score): Just dispatch on `system-type' to one of the
previous two functions.
2002-04-13 20:26:36 +00:00
Eli Zaretskii
061a3f4540 Update author's email address, at his request. 2002-04-12 19:08:32 +00:00
Colin Walters
dcec69ee99 Fix previous change. 2002-04-10 23:16:45 +00:00
Colin Walters
76f1b32158 (tetris-score-file): Likewise. 2002-04-10 19:14:38 +00:00
Colin Walters
e6eb4750af (snake-score-file): Default to just "snake-scores". 2002-04-10 19:14:07 +00:00
Colin Walters
baf9c39a8c (gamegrid-add-score): Rewrite from scratch to use `update-game-score'. 2002-04-10 19:13:35 +00:00
Juanma Barranquero
6e71749d98 (gomoku-font-lock-O-face): Convert to use `defface'.
(gomoku-font-lock-X-face): Likewise.
(gomoku-font-lock-keywords): Use faces instead of variables.
2002-03-22 09:44:45 +00:00
Eli Zaretskii
a0db0bbfdb Use defface instead of facemenu-get-face. 2002-03-10 17:28:58 +00:00
Eli Zaretskii
d93196b328 (mpuz-unsolved-face, mpuz-solved-face)
(mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
(mpuz-allow-double-multiplicator): new options for nicer look and
new features.
(mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): new
functions.
(mpuz-check-all-solved, mpuz-random-puzzle)
(mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
(mpuz-show-solution): functions streamlined and removed french
style space before punctuation, added face support and optional
solving of trivial results.
2002-03-08 08:11:21 +00:00
Sam Steingold
adcce7d5f5 fixed parens in the last patch 2002-03-03 16:09:28 +00:00
Richard M. Stallman
9caf26fece (tetris-score-file): Put in home dir, not in /tmp. 2002-03-03 14:17:47 +00:00
Richard M. Stallman
279b254c99 (gamegrid-set-font, gamegrid-setup-face)
(gamegrid-make-mono-tty-face): Fix usage of condition-case.
2002-03-03 14:14:38 +00:00
Richard M. Stallman
35ce93ebfd (snake-score-file): Put in home dir, not in /tmp. 2002-03-03 14:13:14 +00:00
Richard M. Stallman
5bcfaa0725 (snake-velocity-queue, snake-update-velocity)
(snake-final-x-velocity, snake-final-y-velocity):
New variable and functions.  Store user's keypresses
into a queue and pop from the queue each subsequent turn.
(snake-update-game, snake-move-left)
(snake-move-right, snake-move-up, snake-move-down, snake-active-p)
(snake-start-game): Use that queue.
(snake-use-glyphs-flag): Renamed from snake-use-glyphs.
(snake-use-color-flag): Likewise.
(snake-mode): Rename uses of those variables.
2002-02-22 15:19:06 +00:00
Eli Zaretskii
e77c1e8c4d (pong-border-options): Make the border colors slightly more bright. 2002-02-06 12:06:19 +00:00
Eli Zaretskii
e029dcaf14 (pong-height): Don't use height that exceeds the frame height. 2002-02-06 11:35:49 +00:00