|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../../ugbc.h"Go to the source code of this file.
Functions | |
| void | sprite_priority (Environment *_environment, int _sprite, int _priority) |
| Emit ASM code for instruction SPRITE [int] COLOR [int]. | |
| void | sprite_priority_vars (Environment *_environment, char *_sprite, char *_priority) |
| Emit ASM code for instruction SPRITE [int] COLOR [int]. | |
| void sprite_priority | ( | Environment * | _environment, |
| int | _sprite, | ||
| int | _priority ) |
Emit ASM code for instruction SPRITE [int] COLOR [int].
This function emits a code capable of changing the specific color for a given sprite.
| _environment | Current calling environment |
| _sprite | Index of the sprite for which to change color |
| _color | Index of the color |
Definition at line 92 of file sprite_priority.c.
| void sprite_priority_vars | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _priority ) |
Emit ASM code for instruction SPRITE [int] COLOR [int].
This function emits a code capable of changing the specific color for a given sprite.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite for which to change color |
| _color | Expression with the index of the color |
Definition at line 106 of file sprite_priority.c.