OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
map32x32.h
Go to the documentation of this file.
1#ifndef MAP32X32_H
2#define MAP32X32_H
3
4#include <snes/types.h>
5
6/* Max scroll area (visible: 16x14 sprites = 256x224 pixels) */
7#define MAX_SCROLL_WIDTH_32x32 (32*16 - 16*16) /* 256 */
8#define MAX_SCROLL_HEIGHT_32x32 (32*16 - 14*16) /* 288 */
9
10void initSpriteMap32x32(u16 len);
11void drawSprite32x32(u8 x, u8 y, u16 sprite);
13void screenRefreshPos32x32(u8 x, u8 y, u16 address);
14
15#endif
unsigned short u16
16-bit unsigned integer (0 to 65535)
Definition types.h:53
unsigned char u8
8-bit unsigned integer (0 to 255)
Definition types.h:47
void screenRefreshPos32x32(u8 x, u8 y, u16 address)
Definition map32x32.c:61
void drawSprite32x32(u8 x, u8 y, u16 sprite)
Definition map32x32.c:46
void initSpriteMap32x32(u16 len)
Definition map32x32.c:22
u16 element2sprite32x32(u8 elem)
Definition map32x32.c:57
OpenSNES Standard Types.