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

#include <GameApi.hh>

Public Member Functions

IMPORT FunctionApi (Env &e)
IMPORT ~FunctionApi ()
F constant (float y)
F sin ()
F cos ()
F line_from_bm_x (BM bm, int bm_x, float length)
F line_from_bm_y (BM bm, int bm_y, float length)
F curve_x (C c)
F curve_y (C c)
F curve_z (C c)
F line (float x, float y, float x2, float y2, float begin_y, float end_y)
float get_value (F f, float x)
F change_range (F orig, F replace, float x_start, float x_end)
F move_x (F orig, float delta)
F move_y (F orig, float delta)
F max (F orig, F orig2)
F min (F orig, F orig2)
F scale_y (F orig, float old_min_y, float old_max_y, float new_min_y, float new_max_y)
F deriv (F f)
F integrate (F f)
std::vector< PT > equalizer (F f1, F f2, float start, float length)

Constructor & Destructor Documentation

◆ FunctionApi()

EXPORT GameApi::FunctionApi::FunctionApi ( Env & e)
Here is the caller graph for this function:

◆ ~FunctionApi()

EXPORT GameApi::FunctionApi::~FunctionApi ( )

Member Function Documentation

◆ change_range()

F GameApi::FunctionApi::change_range ( F orig,
F replace,
float x_start,
float x_end )

◆ constant()

GameApi::F GameApi::FunctionApi::constant ( float y)

◆ cos()

GameApi::F GameApi::FunctionApi::cos ( )

◆ curve_x()

F GameApi::FunctionApi::curve_x ( C c)

◆ curve_y()

F GameApi::FunctionApi::curve_y ( C c)

◆ curve_z()

F GameApi::FunctionApi::curve_z ( C c)

◆ deriv()

F GameApi::FunctionApi::deriv ( F f)

◆ equalizer()

std::vector< PT > GameApi::FunctionApi::equalizer ( F f1,
F f2,
float start,
float length )

◆ get_value()

float GameApi::FunctionApi::get_value ( GameApi::F f,
float x )

◆ integrate()

F GameApi::FunctionApi::integrate ( F f)

◆ line()

F GameApi::FunctionApi::line ( float x,
float y,
float x2,
float y2,
float begin_y,
float end_y )

◆ line_from_bm_x()

F GameApi::FunctionApi::line_from_bm_x ( BM bm,
int bm_x,
float length )

◆ line_from_bm_y()

F GameApi::FunctionApi::line_from_bm_y ( BM bm,
int bm_y,
float length )

◆ max()

F GameApi::FunctionApi::max ( F orig,
F orig2 )

◆ min()

F GameApi::FunctionApi::min ( F orig,
F orig2 )

◆ move_x()

F GameApi::FunctionApi::move_x ( F orig,
float delta )

◆ move_y()

F GameApi::FunctionApi::move_y ( F orig,
float delta )

◆ scale_y()

F GameApi::FunctionApi::scale_y ( F orig,
float old_min_y,
float old_max_y,
float new_min_y,
float new_max_y )

◆ sin()

GameApi::F GameApi::FunctionApi::sin ( )

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