comparison lisp/play/tetris.el @ 62770:93e71f3dcd14

* play/5x5.el (5x5-mode): * play/decipher.el (decipher-mode, decipher-stats-mode): * play/gomoku.el (gomoku-mode): * play/snake.el (snake-mode): * play/solitaire.el (solitaire-mode): * play/tetris.el (tetris-mode): Use run-mode-hooks. * play/landmark.el (lm-mode): * play/mpuz.el (mpuz-mode): Use kill-all-local-variables and run-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Thu, 26 May 2005 15:26:09 +0000
parents eaa9acd9122c
children 18a818a2ee7c 01137c1fdbe9
comparison
equal deleted inserted replaced
62769:a1fa16a75bde 62770:93e71f3dcd14
614 (setq gamegrid-use-glyphs tetris-use-glyphs) 614 (setq gamegrid-use-glyphs tetris-use-glyphs)
615 (setq gamegrid-use-color tetris-use-color) 615 (setq gamegrid-use-color tetris-use-color)
616 616
617 (gamegrid-init (tetris-display-options)) 617 (gamegrid-init (tetris-display-options))
618 618
619 (run-hooks 'tetris-mode-hook)) 619 (run-mode-hooks 'tetris-mode-hook))
620 620
621 ;;;###autoload 621 ;;;###autoload
622 (defun tetris () 622 (defun tetris ()
623 "Play the Tetris game. 623 "Play the Tetris game.
624 Shapes drop from the top of the screen, and the user has to move and 624 Shapes drop from the top of the screen, and the user has to move and