20 for (row = destY; row < destY + height; row++) {
22 if (col < destX + width)
24 u16 tile = 0xfff & *cell++;
25 u16 offset = tile * 8;
26 s32 index = (plane * 16 + (row & 15)) * 32 + (col & 15);
40 }
while (end = destX + width, ++col < end);
The hardware's I/O registers and their bits, as pret names them.
#define BG_SCREEN_BLOCK(n)
Maps: their cells, layers, animations and blend scripts, and the map state.
static void Map_DrawCellPanel(s32 x, s32 y, s32 width, s32 height, s32 plane, s32 destX, s32 destY)
Draws the width by height cells at cell (x, y) of the map into screen block 5 from cell (destX,...
The work pointers in the gWorkSlot table, by name.
#define Ram_MapCellBuffer
The integer types, TRUE, UNUSED and the fixed-address macros.