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

Go to the source code of this file.

Functions

void fade_in_color (Environment *_environment, int _index, int _shade)
void fade_in_color_semivars (Environment *_environment, int _index, char *_shade)
 Emit ASM code for instruction COLOR [expression], [expression].
void fade_in_color_vars (Environment *_environment, char *_index, char *_shade)
 Emit ASM code for instruction COLOR [expression], [expression].

Function Documentation

◆ fade_in_color()

void fade_in_color ( Environment * _environment,
int _index,
int _shade )

Definition at line 37 of file fade_in_color.c.

◆ fade_in_color_semivars()

void fade_in_color_semivars ( Environment * _environment,
int _index,
char * _shade )

Emit ASM code for instruction COLOR [expression], [expression].

This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.

Parameters
_environmentCurrent calling environment
_indexExpression with the index of common color to set
_common_colorExpression with the index of the color to use

Definition at line 53 of file fade_in_color.c.

◆ fade_in_color_vars()

void fade_in_color_vars ( Environment * _environment,
char * _index,
char * _shade )

Emit ASM code for instruction COLOR [expression], [expression].

This function outputs the ASM code to change the common color, among those available. It should be used where the command is invoked with expressions.

Parameters
_environmentCurrent calling environment
_indexExpression with the index of common color to set
_common_colorExpression with the index of the color to use

Definition at line 71 of file fade_in_color.c.