OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
map64x64.h
Go to the documentation of this file.
1#ifndef MAP64X64_H
2#define MAP64X64_H
3
4#include <snes/types.h>
5
6/* Max scroll area (visible: 16x14 sprites = 256x224 pixels) */
7#define MAX_SCROLL_WIDTH_64x64 (64*16 - 16*16) /* 768 */
8#define MAX_SCROLL_HEIGHT_64x64 (64*16 - 14*16) /* 800 */
9
10void initSpriteMap64x64(u16 len);
11void drawSprite64x64(u8 x, u8 y, u16 sprite);
13void screenRefreshPos64x64(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 screenRefreshPos64x64(u8 x, u8 y, u16 address)
Definition map64x64.c:60
void initSpriteMap64x64(u16 len)
Definition map64x64.c:22
void drawSprite64x64(u8 x, u8 y, u16 sprite)
Definition map64x64.c:43
u16 element2sprite64x64(u8 elem)
Definition map64x64.c:54
OpenSNES Standard Types.