VDP_clearTileMapRect(APLAN, 0, 0, 1, 1);
this command clear two x two tiles.... it's wrong??
[SOLVED] VDP_clearTileMapRect Question
Moderator: Stef
[SOLVED] VDP_clearTileMapRect Question
Last edited by nolddor on Tue Apr 01, 2014 6:47 am, edited 3 times in total.
if the seed is in 0,0 and clear 1 tile with and 1 tile height...
Should only clear the 0,0 tile... i think...
how do i clean the all the column zero for example?
Should only clear the 0,0 tile... i think...
how do i clean the all the column zero for example?
Last edited by nolddor on Mon Mar 31, 2014 9:36 pm, edited 1 time in total.
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am
I imagine that because the API looks like
It leads one to believe that 0, 0, 1, 1 means draw at 0,0 with a size of 1.
Maybe it should be something like
or
Code: Select all
void VDP_clearTileMapRect(u16 plan, u16 x, u16 y, u16 w, u16 h)
Maybe it should be something like
Code: Select all
void VDP_clearTileMapRect(u16 plan, u16 x, u16 y, u16 x2, u16 y2)
Code: Select all
void VDP_clearTileMapRect(u16 plan, u16 left, u16 top, u16 right, u16 bottom)
-
- Very interested
- Posts: 710
- Joined: Sat Feb 18, 2012 2:44 am