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

Go to the source code of this file.

Functions

void boom (Environment *_environment, int _duration, int _channels)
 Emit ASM code for BOOM ....
void boom_var (Environment *_environment, char *_duration, char *_channels)
 Emit ASM code for BOOM ....

Function Documentation

◆ boom()

void boom ( Environment * _environment,
int _duration,
int _channels )

Emit ASM code for BOOM ....

This function emits a code capable of play a explosion-like sound.

Parameters
_environmentCurrent calling environment
_channelschannels to play on

Definition at line 53 of file boom.c.

◆ boom_var()

void boom_var ( Environment * _environment,
char * _duration,
char * _channels )

Emit ASM code for BOOM ....

This function emits a code capable of play a explosion-like sound.

Parameters
_environmentCurrent calling environment
_channelschannels to play on

Definition at line 83 of file boom.c.