Page 1 of 1

Why no VDP_PLAN_WINDOW?

Posted: Thu Dec 17, 2015 9:58 am
by cero
I wonder why all the tile functions only take plane A and B - how should we use the window plane?

Re: Why no VDP_PLAN_WINDOW?

Posted: Thu Dec 17, 2015 3:47 pm
by Stef
Haha, well i guess i forgot this one :D
Not the first time someone is wondering about that, you can still set the tilemap data from window plan by directly using the internal VRAM address but i will add the VDP_PLAN_WINDOW in the next version (see this issue)

Re: Why no VDP_PLAN_WINDOW?

Posted: Wed Dec 23, 2015 10:37 am
by KanedaFr
it's funny because it seems people just forgot to read vdp.h...

You're not the first one to look for VDP_PLAN_WINDOW

but in fact, it exists...
https://github.com/Stephane-D/SGDK/blob ... /vdp.h#L89
https://github.com/Stephane-D/SGDK/blob ... vdp.h#L128

it's not a "real" plan since it use PLAN_A
so VDP_WINDOW is the correct name for my point of view

I use it without problem...

Re: Why no VDP_PLAN_WINDOW?

Posted: Thu Dec 24, 2015 12:19 pm
by Stef
Haha indeed, i though i still had some methods using the old enum which made the VDP_WINDOW parameter impossible but afaik that is not the case so we could use it in place of VDP_PLAN_A or VDP_PLAN_B.
I just need to update documentation ;)

Re: Why no VDP_PLAN_WINDOW?

Posted: Sat Dec 26, 2015 4:40 pm
by cero
Since all docs say "this function only takes PLAN_A and PLAN_B", it's quite reasonable to assume the define is just preliminary/not fully implemented.

Re: Why no VDP_PLAN_WINDOW?

Posted: Sun Dec 27, 2015 10:26 pm
by Stef
Yep, it's why documentation will be updated to fix that :)