|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | color_sprite (Environment *_environment, int _index, int _common_color) |
| Emit ASM code for instruction COLOR SPRITE [int] TO [int]. | |
| void | color_sprite_semi_vars (Environment *_environment, int _index, char *_common_color) |
| void | color_sprite_vars (Environment *_environment, char *_index, char *_common_color) |
| Emit ASM code for instruction COLOR SPRITE [expression] TO [expression]. | |
| void color_sprite | ( | Environment * | _environment, |
| int | _index, | ||
| int | _common_color ) |
Emit ASM code for instruction COLOR SPRITE [int] TO [int].
This function outputs the ASM code to change the common sprite color, among those available. It should be used where the command is invoked with integers.
| _environment | Current calling environment |
| _index | Index of the common color to set |
| _common_color | Index of the color to use |
Definition at line 47 of file color_sprite.c.
| void color_sprite_semi_vars | ( | Environment * | _environment, |
| int | _index, | ||
| char * | _common_color ) |
Definition at line 51 of file color_sprite.c.
| void color_sprite_vars | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _common_color ) |
Emit ASM code for instruction COLOR SPRITE [expression] TO [expression].
This function outputs the ASM code to change the common sprite color, among those available. It should be used where the command is invoked with expressions.
| _environment | Current calling environment |
| _index | Expression with the index of common color to set |
| _common_color | Expression with the index of the color to use |
Definition at line 65 of file color_sprite.c.