|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../../ugbc.h"Go to the source code of this file.
Functions | |
| void | sprite_at (Environment *_environment, int _sprite, int _x, int _y) |
| Emit ASM code for SPRITE [int] AT ([int],[int]). | |
| void | sprite_at_vars (Environment *_environment, char *_sprite, char *_x, char *_y) |
| Emit ASM code for SPRITE [expression] AT ([expression],[expression]). | |
| void sprite_at | ( | Environment * | _environment, |
| int | _sprite, | ||
| int | _x, | ||
| int | _y ) |
Emit ASM code for SPRITE [int] AT ([int],[int]).
This function emits a code capable of position a sprite to the (x,y) on the screen. This version is suitable when an integer number is used.
| _environment | Current calling environment |
| _sprite | Index of the sprite to position (0...7) |
| _x | The abscissa of the sprite |
| _y | The ordinate of the sprite |
Definition at line 43 of file sprite_at.c.
| void sprite_at_vars | ( | Environment * | _environment, |
| char * | _sprite, | ||
| char * | _x, | ||
| char * | _y ) |
Emit ASM code for SPRITE [expression] AT ([expression],[expression]).
This function emits a code capable of position a sprite to the (x,y) on the screen. This version is suitable when an expression is used.
| _environment | Current calling environment |
| _sprite | Expression with the index of the sprite to position (0...7) |
| _x | Expression with the abscissa of the sprite |
| _y | Expression with the ordinate of the sprite |
Definition at line 47 of file sprite_at.c.