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

Go to the source code of this file.

Functions

void sprite_compress_horizontal (Environment *_environment, int _sprite)
 Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL.
void sprite_compress_horizontal_var (Environment *_environment, char *_sprite)
 Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL.

Function Documentation

◆ sprite_compress_horizontal()

void sprite_compress_horizontal ( Environment * _environment,
int _sprite )

Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL.

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

Parameters
_environmentCurrent calling environment
_spriteIndex of the sprite to compress horizontally (0...7)

Definition at line 91 of file sprite_compress_horizontal.c.

◆ sprite_compress_horizontal_var()

void sprite_compress_horizontal_var ( Environment * _environment,
char * _sprite )

Emit ASM code for SPRITE [int] COMPRESS HORIZONTAL.

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

Parameters
_environmentCurrent calling environment
_spriteIndex of the sprite to compress horizontally (0...7)

Definition at line 104 of file sprite_compress_horizontal.c.