[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gamegrid.el and some games

From: Francesco Potorti`
Subject: gamegrid.el and some games
Date: Fri, 13 Sep 2002 12:55:06 +0200

I am resending here, hoping to find a bigger audience, a message I had
sent (by error) to emacs-pretest-bug.

1) why
   (featurep 'xpm) => nil
   even though in config.h I have #define HAVE_XPM 1 ?  Is this a bug?
   Or maybe it is a Xemacs thing?

2) there is a bug, I think, in gamegrid.el:

   (defun gamegrid-setup-face (face color)
-->  (set-face-foreground face color)
-->  (set-face-background face color)
     (gamegrid-set-font face)
     (condition-case nil
         (set-face-background-pixmap face [nothing]);; XEmacs
       ('error nil))
     (condition-case nil
         (set-face-background-pixmap face nil);; Emacs
       ('error nil)))

   As you can see, foreground and background are set to the same colour,
   thus preventing the possibility of anything different from a coloured
   space.  Is this intentional or a bug?  What I would have done is to
   have a function with a third optional argument for the case when one
   wants something different from a square.  For example, both in
   pong.el and tetris.el, the "dot" should naturally be an asterisk.

   However, this may be intentional, that is, if gamegrid.el is
   willingly trying to deal only with squares on a board (not
   considering other characters if not necessary because of display
   incapability).  Maybe I should directly ask the author, Glynn
   Clements, if no one here cares about gamegrid.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]