load_map

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

load_map(char sx, char sy, int mx, int my, char w, char h);

     Load a part of a map on the screen. 'sx' and 'sy' are
     screen coordinates (in tile unit; 16 pixels), 'mx' and 'my'
     are position in the map, and 'w' and 'h' are respectively
     the number of tile-index to load horizontaly and verticaly.
     This function doesn't do any screen clipping, so you must
     not pass incorrect or too big screen coordinates to it,
     that would corrupt the video memory.
Personal tools