Function DrawMap2: Difference between revisions

From Uzebox Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Function
{{Function
|prototype  = void DrawMap2(unsigned char x,unsigned char y,const char *map)
|prototype  = void DrawMap2(unsigned char x,unsigned char y,const char *map)
|description = Draws the rectangular map pointed to by <code>*map</code> at the specified coordinates.
|description = Draws a rectangular map pointed to by <code>*map</code> at the specified coordinates. Maps are char arrays in which the two first bytes respectively specifies the width and height of the map.
|parameters  =
|parameters  =
* x:
* y:
* map: Pointer to const char array in PROGMEM.
|returns    =
|returns    =
|video modes = 2,3
|video modes = 2,3

Revision as of 20:44, 27 February 2009

Prototype

void DrawMap2(unsigned char x,unsigned char y,const char *map)

Description

Draws a rectangular map pointed to by *map at the specified coordinates. Maps are char arrays in which the two first bytes respectively specifies the width and height of the map.

Parameters
  • x:
  • y:
  • map: Pointer to const char array in PROGMEM.
Returns

Void

Video Modes

2,3

Since

V2

Example: