OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
map32x32.h File Reference
#include <snes/types.h>

Go to the source code of this file.

Macros

#define MAX_SCROLL_HEIGHT_32x32   (32*16 - 14*16) /* 288 */
#define MAX_SCROLL_WIDTH_32x32   (32*16 - 16*16) /* 256 */

Functions

void drawSprite32x32 (u8 x, u8 y, u16 sprite)
u16 element2sprite32x32 (u8 elem)
void initSpriteMap32x32 (u16 len)
void screenRefreshPos32x32 (u8 x, u8 y, u16 address)

Macro Definition Documentation

◆ MAX_SCROLL_HEIGHT_32x32

#define MAX_SCROLL_HEIGHT_32x32   (32*16 - 14*16) /* 288 */

◆ MAX_SCROLL_WIDTH_32x32

#define MAX_SCROLL_WIDTH_32x32   (32*16 - 16*16) /* 256 */

Function Documentation

◆ drawSprite32x32()

void drawSprite32x32 ( u8 x,
u8 y,
u16 sprite )

◆ element2sprite32x32()

u16 element2sprite32x32 ( u8 elem)

◆ initSpriteMap32x32()

void initSpriteMap32x32 ( u16 len)

◆ screenRefreshPos32x32()

void screenRefreshPos32x32 ( u8 x,
u8 y,
u16 address )