libmsx
C library for MSX
Loading...
Searching...
No Matches
sprite_color.h File Reference

Sprite color table interface. More...

#include <stdint.h>
#include "sprite.h"
#include "vmem.h"
+ Include dependency graph for sprite_color.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sprite_color
 MSX2 Element of sprite color table (for sprite mode 2). More...
 

Macros

#define SPRITE_COLOR_H
 

Functions

void vmem_set_sprite_color (vmemptr_t base, uint8_t plane, const struct sprite_color *sprite_color)
 MSX2 Set sprite color table element (tagged color for each scanlines) of a sprite.
 
void vmem_set_sprite_color_s (vmemptr_t base, uint8_t plane, const tagged_color_t tagged_color)
 MSX Set sprite color (tagged color) of a sprite.
 
void vmem_set_sprite_color_m (vmemptr_t base, uint8_t plane, uint8_t n, const tagged_color_t *tagged_colors)
 MSX Set sprite color (tagged color) of some sprites.
 

Detailed Description

Sprite color table interface.

Definition in file sprite_color.h.

Macro Definition Documentation

◆ SPRITE_COLOR_H

#define SPRITE_COLOR_H

Definition at line 20 of file sprite_color.h.