Current File : //proc/self/root/kunden/usr/share/emacs/27.2/lisp/play/blackbox.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#@17 Blackbox board.
(defvar bb-board nil (#$ . 408))
#@21 Current x-position.
(defvar bb-x -1 (#$ . 463))
#@21 Current y-position.
(defvar bb-y -1 (#$ . 517))
#@16 Current score.
(defvar bb-score 0 (#$ . 571))
#@20 Number of detours.
(defvar bb-detour-count 0 (#$ . 623))
#@31 List of already placed balls.
(defvar bb-balls-placed nil (#$ . 686))
#@67 Redefine keys that run the function OLDFUN to run NEWFUN instead.
(defalias 'blackbox-redefine-key #[(map oldfun newfun) "\303\304\305 \"\n#\207" [map oldfun newfun define-key vector remap] 5 (#$ . 762)])
(defvar blackbox-mode-map (byte-code "\301 \302\303\"\210\304\305\306#\210\304\307\306#\210\304\310\311#\210\304\312\311#\210\304\313\314#\210\304\315\316#\210\304\317\320#\210\304\321\322#\210\323\324\325#\210\323\326\327#\210\323\330\325#\210\323\331\332#\210\304\333\332#\210)\207" [map make-keymap suppress-keymap t blackbox-redefine-key backward-char bb-left left-char forward-char bb-right right-char previous-line bb-up next-line bb-down move-end-of-line bb-eol move-beginning-of-line bb-bol define-key " " bb-romp "q" bury-buffer [insert] [return] bb-done newline] 4))
(defvar blackbox-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [blackbox-mode-hook variable-documentation put "Hook run after entering Blackbox mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp blackbox-mode-map definition-name blackbox-mode] 4)
(defvar blackbox-mode-map (make-sparse-keymap))
(byte-code "\301\302N\204 \303\301\302\304\305!#\210\306\307!\204 \303\307\310\311#\210\312\313 !\210\307\302N\204- \303\307\302\304\314!#\210\306\300!\204B \303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P \303\300\302\304\320!#\210\303\311\321\322#\207" [blackbox-mode-abbrev-table blackbox-mode-map variable-documentation put purecopy "Keymap for `blackbox-mode'." boundp blackbox-mode-syntax-table definition-name blackbox-mode (lambda (#1=#:def-tmp-var) (defvar blackbox-mode-syntax-table #1#)) make-syntax-table "Syntax table for `blackbox-mode'." (lambda (#1#) (defvar blackbox-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `blackbox-mode'." derived-mode-parent special-mode] 5)
#@545 Major mode for playing blackbox.
To learn how to play blackbox, see the documentation for function `blackbox'.
The usual mnemonic keys move the cursor around the box.
\<blackbox-mode-map>\[bb-bol] and \[bb-eol] move to the beginning and end of line, respectively.
\[bb-romp] -- send in a ray from point, or toggle a ball at point
\[bb-done] -- end game and get score
In addition to any hooks its parent mode `special-mode' might have run,
this mode runs the hook `blackbox-mode-hook', as the final or penultimate step
during initialization.
(defalias 'blackbox-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204'