Sonic
Member |
Hello!
I tried to ask these question at utilitybase.com, however noone knows the answer there. I hope this is the better place to ask them, i see there are some oldschool demo coders here with lowlevel stuff knowledge. Perhaps someone knows answers...
1. What is actually DrawInfo.dri_Resolution? In what units is it expressed? Comment in OS3.9 NDK says that is's a copy of DisplayInfo data for screen's display mode. I guess it's taken from DisplayInfo.Resolution. Well, again, what is it? Comment is short: "ticks-per-pixel X/Y". What is tick then?
2. About sprites, when used by graphics.library. If i want to completely remove my sprite from the screen, before FreeSprite() or FreeSpriteData(), what should i do? I beleive if i just call FreeSpriteData() the hardware will still be directed to display deallocated sprite image, which will then be trashed? So what function does the job of actual sprite removal? FreeSprite() FreeSpriteData()? Should i do it manually somehow?
I am working graphics.library on AROS operating system and i am implementing some missing parts. The answers are needed in order to do this correctly.
|