delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/17/15:36:30

Message-Id: <199812171828.SAA24775@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: Allegro keypressed() always returning False
Date: Thu, 17 Dec 1998 18:27:28 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <75avcd$9jd$1@news1.bu.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

> Graeme Fenwick (gfenwick AT BYESPAMprimex DOT co DOT uk) wrote:
> :Allegro's keypressed() [...] seems to be returning false, regardless
>
> : int detect_key(void) {
> :    if (!keypressed()); <--.
> :       return NO_KEY;      |
>                             |
> 			    if(CODPIECE_IS_AFIRE);
> 			    return NO_KEY;
>
> 			    would do the same.

Heh. You'd have to make sure that the compiler knew what a CODPIECE_IS_AFIRE
meant first ;-)

James Arthur - jaa AT arfa DOT clara DOT net
http://www.jado.org/users/arfa/
ICQ#15054819


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019