ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
sprite_expand_vertical.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void sprite_expand_vertical (Environment *_environment, int _sprite)
 Emit ASM code for SPRITE [int] EXPAND VERTICAL.
void sprite_expand_vertical_var (Environment *_environment, char *_sprite)
 Emit ASM code for SPRITE [expression] EXPAND VERTICAL.

Function Documentation

◆ sprite_expand_vertical()

void sprite_expand_vertical ( Environment * _environment,
int _sprite )

Emit ASM code for SPRITE [int] EXPAND VERTICAL.

This function emits a code capable of expanding vertically a given sprite. The index of sprite is given as a direct integer.

Parameters
_environmentCurrent calling environment
_spriteIndex of the sprite to expand vertically (0...7)

Definition at line 52 of file sprite_expand_vertical.c.

◆ sprite_expand_vertical_var()

void sprite_expand_vertical_var ( Environment * _environment,
char * _sprite )

Emit ASM code for SPRITE [expression] EXPAND VERTICAL.

This function emits a code capable of expanding vertically a given sprite. The index of sprite is given as an expression.

Parameters
_environmentCurrent calling environment
_spriteExpression with the index of the sprite to expand vertically (0...7)

Definition at line 67 of file sprite_expand_vertical.c.