Go to the documentation of this file.
26 __attribute__((leaf))
void multi_vram_buffer_horz(
const void *
data,
char len,
30 __attribute__((leaf))
void multi_vram_buffer_vert(
const void *
data,
char len,
51 __attribute__((leaf))
char check_collision(
void *object1,
void *
object2);
55 __attribute__((leaf))
void pal_fade_to(
char from,
char to);
70 __attribute__((leaf))
int add_scroll_y(
char add,
unsigned scroll);
74 __attribute__((leaf))
int sub_scroll_y(
char sub,
unsigned scroll);
78 __attribute__((leaf))
int get_ppu_addr(
char nt,
char x,
char y);
83 __attribute__((leaf))
int get_at_addr(
char nt,
char x,
char y);
118 __attribute__((leaf))
void flush_vram_update2(
void);
123 #define COL_EMP_BLUE 0x80
124 #define COL_EMP_GREEN 0x40
125 #define COL_EMP_RED 0x20
126 #define COL_EMP_NORMAL 0x00
127 #define COL_EMP_DARK 0xe0
131 __attribute__((leaf))
void xy_split(
unsigned x,
unsigned y);
136 __attribute__((leaf))
void gray_line(
void);
140 #define high_byte(a) *((char *)&a + 1)
141 #define low_byte(a) *((char *)&a)
153 #endif // _NESDOUG_H_
void set_scroll_y(unsigned y)
char const void * data
Definition: neslib.h:92
void color_emphasis(char color)
char get_pad_new(char pad)
char x
Definition: nesdoug.h:78
char to
Definition: nesdoug.h:55
char char y
Definition: nesdoug.h:78
char index
Definition: nesdoug.h:113
void set_data_pointer(const void *data)
void * object2
Definition: nesdoug.h:51
unsigned scroll
Definition: nesdoug.h:70
int ppu_address
Definition: nesdoug.h:23
char metatile
Definition: nesdoug.h:104
void set_mt_pointer(const void *metatiles)
char get_frame_count(void)
void set_scroll_x(unsigned x)
void set_vram_buffer(void)
void set_music_speed(char tempo)
char len
Definition: nesdoug.h:26