Re: [cc65] tgi_sprite and friends

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-11-08 13:10:09
Hi,

> For pixels we have tgi_setpixel() and tgi_getpixel().

Yep.

> For bitmaps tgi_setbitmap() is understandable tgi_getbitmap() is a bit obscure. Would there be a screen grab function to pick areas of the screen buffers or the real screen?

Why not? Could be very useful for (limited performance) animation and
for saving a screen area to be restored after i.e. displaying some
"popup window" thingy.

> If not, then we could safely drop the "set". We do not have tgi_setbar() or tgi_setline() either.

That's what I wanted to point out in the first place: There's nothing
to get about a bar or a line. But there's a get for a pixel and a
bitmap. Both BGI and TGI add a get- and put-/set-prefix only if
necessary to disambiguate.

Regards,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Nov 8 13:10:18 2012

This archive was generated by hypermail 2.1.8 : 2012-11-08 13:10:21 CET