GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::WaveformApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT WaveformApi (Env &e)
IMPORT WV wv_empty (float length)
IMPORT WV function (std::function< float(float)> f, float length, float min_value, float max_value)
IMPORT WV sinwave (float length, float freq)
IMPORT WV gaussian (float start_x, float end_x, float start_y, float end_y)
IMPORT WV sum (WV w1, WV w2)
IMPORT WV move (WV w1, float delta)
IMPORT WV scale (WV w1, float scale)
IMPORT WV repeat (WV wave, int num)
IMPORT WV sample (float *array, int length, float samplelength)
IMPORT WV int_sample (int *array, int length, float samplelength, int min_value, int max_value)
IMPORT WV mix (WV orig, float pos, WV sample)
IMPORT WV volume_ramp (WV orig, float old_y_value, float x_pos1, float x_pos2, float y_pos1, float y_pos2)
IMPORT WV freq_change (WV orig, float old_freq, float new_freq)
IMPORT float length (WV orig)
IMPORT float get_value (WV orig, float val)
IMPORT WV length_change (WV orig, float new_length)
IMPORT WV step (bool b)
IMPORT WV cubic (float f_0, float f_1, float df_0, float df_1, float min_y, float max_y)
IMPORT BM waveform_bitmap (WV wave, int sx, int sy, unsigned int true_color, unsigned int false_color)
IMPORT P waveform_rotated_polygon (WV wave, float start_angle, float end_angle, float radius, int num_samples, int num_waves)
IMPORT PN std_polynomial (float x_5, float x_4, float x_3, float x_2, float x_1, float c)
IMPORT PN df_dx (PN poly)
IMPORT WV polynomial_wave (PN pn, float start_x, float end_x, float start_y, float end_y)

Constructor & Destructor Documentation

◆ WaveformApi()

GameApi::WaveformApi::WaveformApi ( Env & e)

Member Function Documentation

◆ cubic()

GameApi::WV GameApi::WaveformApi::cubic ( float f_0,
float f_1,
float df_0,
float df_1,
float min_y,
float max_y )
Here is the caller graph for this function:

◆ df_dx()

GameApi::PN GameApi::WaveformApi::df_dx ( PN poly)
Here is the caller graph for this function:

◆ freq_change()

EXPORT GameApi::WV GameApi::WaveformApi::freq_change ( GameApi::WV orig,
float old_freq,
float new_freq )

◆ function()

EXPORT GameApi::WV GameApi::WaveformApi::function ( std::function< float(float)> f,
float length,
float min_value,
float max_value )

◆ gaussian()

EXPORT GameApi::WV GameApi::WaveformApi::gaussian ( float start_x,
float end_x,
float start_y,
float end_y )
Here is the caller graph for this function:

◆ get_value()

EXPORT float GameApi::WaveformApi::get_value ( WV orig,
float val )

◆ int_sample()

EXPORT GameApi::WV GameApi::WaveformApi::int_sample ( int * array,
int length,
float samplelength,
int min_value,
int max_value )

◆ length()

EXPORT float GameApi::WaveformApi::length ( GameApi::WV orig)
Here is the caller graph for this function:

◆ length_change()

EXPORT GameApi::WV GameApi::WaveformApi::length_change ( WV orig,
float new_length )
Here is the caller graph for this function:

◆ mix()

EXPORT GameApi::WV GameApi::WaveformApi::mix ( GameApi::WV orig,
float pos,
GameApi::WV sample )

◆ move()

EXPORT GameApi::WV GameApi::WaveformApi::move ( WV w1,
float delta )
Here is the caller graph for this function:

◆ polynomial_wave()

GameApi::WV GameApi::WaveformApi::polynomial_wave ( PN pn,
float start_x,
float end_x,
float start_y,
float end_y )
Here is the caller graph for this function:

◆ repeat()

EXPORT GameApi::WV GameApi::WaveformApi::repeat ( WV wave,
int num )
Here is the caller graph for this function:

◆ sample()

EXPORT GameApi::WV GameApi::WaveformApi::sample ( float * array,
int length,
float samplelength )
Here is the caller graph for this function:

◆ scale()

EXPORT GameApi::WV GameApi::WaveformApi::scale ( WV w1,
float scale )
Here is the caller graph for this function:

◆ sinwave()

EXPORT GameApi::WV GameApi::WaveformApi::sinwave ( float length,
float freq )
Here is the caller graph for this function:

◆ std_polynomial()

GameApi::PN GameApi::WaveformApi::std_polynomial ( float x_5,
float x_4,
float x_3,
float x_2,
float x_1,
float c )
Here is the caller graph for this function:

◆ step()

EXPORT GameApi::WV GameApi::WaveformApi::step ( bool b)
Here is the caller graph for this function:

◆ sum()

EXPORT GameApi::WV GameApi::WaveformApi::sum ( WV w1,
WV w2 )
Here is the caller graph for this function:

◆ volume_ramp()

EXPORT GameApi::WV GameApi::WaveformApi::volume_ramp ( GameApi::WV orig,
float old_y_value,
float x_pos1,
float x_pos2,
float y_pos1,
float y_pos2 )

◆ waveform_bitmap()

EXPORT GameApi::BM GameApi::WaveformApi::waveform_bitmap ( WV wave,
int sx,
int sy,
unsigned int true_color,
unsigned int false_color )
Here is the caller graph for this function:

◆ waveform_rotated_polygon()

EXPORT GameApi::P GameApi::WaveformApi::waveform_rotated_polygon ( WV wave,
float start_angle,
float end_angle,
float radius,
int num_samples,
int num_waves )
Here is the caller graph for this function:

◆ wv_empty()

EXPORT GameApi::WV GameApi::WaveformApi::wv_empty ( float length)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: