unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gamegrid.el and some games
@ 2002-09-13 10:55 Francesco Potorti`
       [not found] ` <87sn0eglkp.fsf@bundalo.shootybangbang.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Francesco Potorti` @ 2002-09-13 10:55 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2002-09-20 12:01 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13 10:55 gamegrid.el and some games Francesco Potorti`
     [not found] ` <87sn0eglkp.fsf@bundalo.shootybangbang.com>
2002-09-13 13:09   ` Francesco Potorti`
2002-09-14 17:35     ` Richard Stallman
2002-09-13 14:16 ` Oliver Scholz
2002-09-13 17:32   ` Francesco Potorti`
2002-09-13 23:11     ` Oliver Scholz
2002-09-14  1:03       ` Alex Schroeder
2002-09-15  1:50         ` Richard Stallman
2002-09-16 12:11           ` Oliver Scholz
2002-09-19 15:22             ` Luke A. Olbrish
2002-09-20  3:44               ` Richard Stallman
2002-09-15  1:51       ` Richard Stallman
2002-09-16 11:58         ` Oliver Scholz
2002-09-16 19:27           ` Richard Stallman
2002-09-16 12:01         ` Oliver Scholz
2002-09-16 19:27           ` Richard Stallman
2002-09-16 23:13             ` alkibiades
2002-09-17 15:53               ` Richard Stallman
2002-09-17 16:12                 ` Gerd Moellmann
2002-09-18 15:04                 ` Oliver Scholz
2002-09-18 16:03                   ` Oliver Scholz
2002-09-19 11:45                   ` Eli Zaretskii
2002-09-19 15:17                   ` Richard Stallman
2002-09-20  0:26                     ` Oliver Scholz
2002-09-20  9:40                       ` Miles Bader
2002-09-20 12:01                         ` Oliver Scholz
2002-09-20 10:12                       ` Francesco Potorti`
2002-09-20  1:18                     ` Miles Bader
2002-09-20  9:20                       ` rms
2002-09-20 11:41                         ` Oliver Scholz
2002-09-20  6:54                     ` Gerd Moellmann
2002-09-14 17:35 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).