From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Francesco Potorti` Newsgroups: gmane.emacs.devel Subject: Re: gamegrid.el and some games Date: 13 Sep 2002 19:32:52 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <87n0ql94mz.fsf@pot.cnuce.cnr.it> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031938505 18694 127.0.0.1 (13 Sep 2002 17:35:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 17:35:05 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17puLQ-0004rO-00 for ; Fri, 13 Sep 2002 19:35:04 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17puxP-0003Ko-00 for ; Fri, 13 Sep 2002 20:14:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17puLX-0008C8-00; Fri, 13 Sep 2002 13:35:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17puJU-00076O-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 13:33:04 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17puJS-000765-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 13:33:03 -0400 Original-Received: from pot.cnuce.cnr.it ([146.48.83.182]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17puJS-00075p-00 for emacs-devel@gnu.org; Fri, 13 Sep 2002 13:33:02 -0400 Original-Received: from pot by pot.cnuce.cnr.it with local (Exim 3.35 #1 (Debian)) id 17puJI-0000y4-00; Fri, 13 Sep 2002 19:32:52 +0200 Original-To: Oliver Scholz In-Reply-To: Original-Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7885 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7885 > (featurep 'xpm) => nil It is an XEmacs thing. To test for XPM in Emacs you can use. (image-type-available-p 'xpm) Ok, thank you. I don't know if it is depreciated to use this function, though. It is not even mentioned in the Elisp Reference of Emacs 21.2. Probably the manual should be improved. I have send a patch some time ago, which enables XPM (and PBM) for gamegrid. (BTW what happend to this patch?) Would you send it to me? I was just trying to do that. I guess gamegrid is mainly supposed to provide simple grids, i.e. colored squares. Yes, after some study I arrived to the same conclusion, so I further reduced my patch to pong.el, tetris.el, snake.el before installing it. The option to use characters is -- I guess -- intended only as a fallback on ttys without color. OTOH: it allows to utilize arbitrary XPM images Yes, for example pong could use a real ball. But that comes after changing gamegrid.el to work with glyphs in Emacs.