Why no VDP_PLAN_WINDOW?
Moderator: Stef
Why no VDP_PLAN_WINDOW?
I wonder why all the tile functions only take plane A and B - how should we use the window plane?
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Why no VDP_PLAN_WINDOW?
Haha, well i guess i forgot this one
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)
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?
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...
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...
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Why no VDP_PLAN_WINDOW?
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
I just need to update documentation
Re: Why no VDP_PLAN_WINDOW?
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.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Why no VDP_PLAN_WINDOW?
Yep, it's why documentation will be updated to fix that