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

#include <GameApi.hh>

Public Member Functions

IMPORT FloatBitmapApi (Env &e)
IMPORT ~FloatBitmapApi ()
IMPORT FB fb_empty (int sx, int sy)
IMPORT FB function (std::function< float(int, int)> f, int sx, int sy)
IMPORT FB newfloatbitmap (char *array, int sx, int sy, std::function< float(char)> f)
IMPORT FB from_bool_bitmap (BB bm, int csx, int csy)
IMPORT FB dist (int sx, int sy, float p_x, float p_y)
IMPORT FB blur_bitmap (FB fb, float d)
IMPORT FB gaussian (float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int sx, int sy)
IMPORT FB grayscale (BM color_bm)
IMPORT FB from_red (BM color_bm)
IMPORT FB from_green (BM color_bm)
IMPORT FB from_blue (BM color_bm)
IMPORT FB from_alpha (BM color_bm)
IMPORT FB from_grayscale (BM color_bm)
IMPORT FB min_fb (FB fb1, FB fb2)
IMPORT FB max_fb (FB fb1, FB fb2)
IMPORT FB mix_fb (FB fb1, FB fb2, float val)
IMPORT FB space_fill (PT *array, float *array2, int size, int sx, int sy)
IMPORT BM to_grayscale (FB fb)
IMPORT BM to_grayscale_color (FB fb, int r, int g, int b, int a, int r2, int g2, int b2, int a2)
IMPORT BM to_color (FB r, FB g, FB b, FB a)
IMPORT BM choose_bitmap (FB fb, BM bm1, BM bm2)
IMPORT FB perlin_noise (FB grad_1, FB grad_2)
IMPORT FB perlin_noise2 (int sx, int sy, float key)
IMPORT BM subfloatbitmap (EveryApi &ev, FB fb, float range_start, float range_end, unsigned int true_color, unsigned int false_color)
IMPORT FB from_bool (BB b, float val_true, float val_false)
IMPORT FB distance_field (FB bb, float max_value)
IMPORT FB add_border (FB fb)
BB to_bool (FB f, float true_range_start, float true_range_end)
IMPORT BB to_bool_mod (FB f, float mod_value)
IMPORT TXID to_texid (FB bm)
IMPORT CFB C_bitmap (float sx, float sy, float val)
IMPORT CFB X_bitmap (float sx, float sy)
IMPORT CFB Y_bitmap (float sx, float sy)
IMPORT CFB MulBitmap (std::vector< CFB > vec)
IMPORT CFB AddBitmap (std::vector< CFB > vec)
IMPORT CFB SqrtContFloat (CFB val)
IMPORT CFB Sin (CFB val)
IMPORT CFB Cos (CFB val)
IMPORT CFB Tan (CFB val)
IMPORT FB SampleContFloat (CFB a1, float start_x, float end_x, float start_y, float end_y, int sx, int sy, float mult)
IMPORT BB SampleContBool (CBB a1, float start_x, float end_x, float start_y, float end_y, int sx, int sy)
IMPORT CBB Equalizer (CFB, CFB)
IMPORT int size_x (FB bm)
IMPORT int size_y (FB bm)
IMPORT float floatvalue (FB bm, int x, int y)

Constructor & Destructor Documentation

◆ FloatBitmapApi()

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

◆ ~FloatBitmapApi()

EXPORT GameApi::FloatBitmapApi::~FloatBitmapApi ( )

Member Function Documentation

◆ add_border()

EXPORT GameApi::FB GameApi::FloatBitmapApi::add_border ( FB fb)
Here is the caller graph for this function:

◆ AddBitmap()

GameApi::CFB GameApi::FloatBitmapApi::AddBitmap ( std::vector< CFB > vec)
Here is the caller graph for this function:

◆ blur_bitmap()

GameApi::FB GameApi::FloatBitmapApi::blur_bitmap ( FB fb,
float d )
Here is the caller graph for this function:

◆ C_bitmap()

GameApi::CFB GameApi::FloatBitmapApi::C_bitmap ( float sx,
float sy,
float val )
Here is the caller graph for this function:

◆ choose_bitmap()

EXPORT GameApi::BM GameApi::FloatBitmapApi::choose_bitmap ( FB fb,
BM bm1,
BM bm2 )
Here is the caller graph for this function:

◆ Cos()

GameApi::CFB GameApi::FloatBitmapApi::Cos ( CFB val)
Here is the caller graph for this function:

◆ dist()

GameApi::FB GameApi::FloatBitmapApi::dist ( int sx,
int sy,
float p_x,
float p_y )
Here is the caller graph for this function:

◆ distance_field()

EXPORT GameApi::FB GameApi::FloatBitmapApi::distance_field ( FB bb,
float max_value )
Here is the caller graph for this function:

◆ Equalizer()

GameApi::CBB GameApi::FloatBitmapApi::Equalizer ( CFB a1,
CFB a2 )
Here is the caller graph for this function:

◆ fb_empty()

EXPORT GameApi::FB GameApi::FloatBitmapApi::fb_empty ( int sx,
int sy )
Here is the caller graph for this function:

◆ floatvalue()

EXPORT float GameApi::FloatBitmapApi::floatvalue ( FB bm,
int x,
int y )

◆ from_alpha()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_alpha ( BM color_bm)
Here is the caller graph for this function:

◆ from_blue()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_blue ( BM color_bm)
Here is the caller graph for this function:

◆ from_bool()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_bool ( GameApi::BB b,
float val_true,
float val_false )
Here is the caller graph for this function:

◆ from_bool_bitmap()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_bool_bitmap ( BB bm,
int csx,
int csy )
Here is the caller graph for this function:

◆ from_grayscale()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_grayscale ( BM color_bm)
Here is the caller graph for this function:

◆ from_green()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_green ( BM color_bm)
Here is the caller graph for this function:

◆ from_red()

EXPORT GameApi::FB GameApi::FloatBitmapApi::from_red ( BM color_bm)
Here is the caller graph for this function:

◆ function()

EXPORT GameApi::FB GameApi::FloatBitmapApi::function ( std::function< float(int, int)> f,
int sx,
int sy )

◆ gaussian()

EXPORT GameApi::FB GameApi::FloatBitmapApi::gaussian ( float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z,
int sx,
int sy )
Here is the caller graph for this function:

◆ grayscale()

IMPORT FB GameApi::FloatBitmapApi::grayscale ( BM color_bm)
Here is the caller graph for this function:

◆ max_fb()

IMPORT FB GameApi::FloatBitmapApi::max_fb ( FB fb1,
FB fb2 )
Here is the caller graph for this function:

◆ min_fb()

IMPORT FB GameApi::FloatBitmapApi::min_fb ( FB fb1,
FB fb2 )
Here is the caller graph for this function:

◆ mix_fb()

IMPORT FB GameApi::FloatBitmapApi::mix_fb ( FB fb1,
FB fb2,
float val )
Here is the caller graph for this function:

◆ MulBitmap()

GameApi::CFB GameApi::FloatBitmapApi::MulBitmap ( std::vector< CFB > vec)
Here is the caller graph for this function:

◆ newfloatbitmap()

EXPORT GameApi::FB GameApi::FloatBitmapApi::newfloatbitmap ( char * array,
int sx,
int sy,
std::function< float(char)> f )

◆ perlin_noise()

EXPORT GameApi::FB GameApi::FloatBitmapApi::perlin_noise ( FB grad_1,
FB grad_2 )

◆ perlin_noise2()

EXPORT GameApi::FB GameApi::FloatBitmapApi::perlin_noise2 ( int sx,
int sy,
float key )
Here is the caller graph for this function:

◆ SampleContBool()

GameApi::BB GameApi::FloatBitmapApi::SampleContBool ( CBB a1,
float start_x,
float end_x,
float start_y,
float end_y,
int sx,
int sy )
Here is the caller graph for this function:

◆ SampleContFloat()

GameApi::FB GameApi::FloatBitmapApi::SampleContFloat ( CFB a1,
float start_x,
float end_x,
float start_y,
float end_y,
int sx,
int sy,
float mult )
Here is the caller graph for this function:

◆ Sin()

GameApi::CFB GameApi::FloatBitmapApi::Sin ( CFB val)
Here is the caller graph for this function:

◆ size_x()

EXPORT int GameApi::FloatBitmapApi::size_x ( FB bm)

◆ size_y()

EXPORT int GameApi::FloatBitmapApi::size_y ( FB bm)

◆ space_fill()

EXPORT GameApi::FB GameApi::FloatBitmapApi::space_fill ( PT * array,
float * array2,
int size,
int sx,
int sy )

◆ SqrtContFloat()

GameApi::CFB GameApi::FloatBitmapApi::SqrtContFloat ( CFB val)
Here is the caller graph for this function:

◆ subfloatbitmap()

EXPORT GameApi::BM GameApi::FloatBitmapApi::subfloatbitmap ( GameApi::EveryApi & ev,
FB fb,
float range_start,
float range_end,
unsigned int true_color,
unsigned int false_color )

◆ Tan()

GameApi::CFB GameApi::FloatBitmapApi::Tan ( CFB val)
Here is the caller graph for this function:

◆ to_bool()

GameApi::BB GameApi::FloatBitmapApi::to_bool ( FB f,
float true_range_start,
float true_range_end )
Here is the caller graph for this function:

◆ to_bool_mod()

GameApi::BB GameApi::FloatBitmapApi::to_bool_mod ( FB f,
float mod_value )

◆ to_color()

EXPORT GameApi::BM GameApi::FloatBitmapApi::to_color ( FB r,
FB g,
FB b,
FB a )

◆ to_grayscale()

EXPORT GameApi::BM GameApi::FloatBitmapApi::to_grayscale ( FB fb)
Here is the caller graph for this function:

◆ to_grayscale_color()

EXPORT GameApi::BM GameApi::FloatBitmapApi::to_grayscale_color ( FB fb,
int r,
int g,
int b,
int a,
int r2,
int g2,
int b2,
int a2 )
Here is the caller graph for this function:

◆ to_texid()

EXPORT GameApi::TXID GameApi::FloatBitmapApi::to_texid ( FB bm)

◆ X_bitmap()

GameApi::CFB GameApi::FloatBitmapApi::X_bitmap ( float sx,
float sy )
Here is the caller graph for this function:

◆ Y_bitmap()

GameApi::CFB GameApi::FloatBitmapApi::Y_bitmap ( float sx,
float sy )
Here is the caller graph for this function:

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