|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../../ugbc.h"Go to the source code of this file.
Functions | |
| void | sprite_multicolor (Environment *_environment, int _sprite) |
| Emit ASM code for SPRITE [int] MULTICOLOR. | |
| void | sprite_multicolor_var (Environment *_environment, char *_sprite) |
| Emit ASM code for SPRITE [expression] MULTICOLOR. | |
| void sprite_multicolor | ( | Environment * | _environment, |
| int | _sprite ) |
Emit ASM code for SPRITE [int] MULTICOLOR.
This function emits a code capable of enabling multicolor for a given sprite. The index of sprite is given as a direct integer.
| _environment | Current calling environment |
| _sprite | Index of the sprite for which enable multicolor (0...7) |
Definition at line 43 of file sprite_multicolor.c.
| void sprite_multicolor_var | ( | Environment * | _environment, |
| char * | _sprite ) |
Emit ASM code for SPRITE [expression] MULTICOLOR.
This function emits a code capable of enabling multicolor for a given sprite. The index of sprite is given as an expression.
| _environment | Current calling environment |
| _sprite | Expression with index of the sprite for which enable multicolor (0...7) |
Definition at line 47 of file sprite_multicolor.c.