From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-18 15:44:41
Hi!
On Tue, Dec 17, 2002 at 04:58:28PM +0100, Groepaz wrote:
> a) something that defines screen dimensions, ie SCREENX/SCREENY in 65tris.
Not sure about this one, since it doubles screensize() and does not work for
machines with more than one screen dimension (the C128 for example).
> b) something that defines capabilities of the screen, ie NOCOLORS/NOBGCOLORS
> (i would suggest HAS_BORDERCOLOR,HAS_TEXTCOLOR etc though)
This would be an idea. I would place the defines in the namespace of the
compiler (starting with one or two underlines) to avoid clashes with user
identifiers, however.
> such HAS_xxxx style defines could be useful for other things aswell.... ie
> right now i have to take care about including the joystick.h for every
> possible target that supports joysticks myself... with a "HAS_JOYSTICKS" it
> would automagically work for all.
After including joystick.h, the symbol __JOYSTICK__ is defined if the machine
supports a joystick.
Regards
Uz
--
Ullrich von Bassewitz uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-18 15:44:56 CET