|
GameApi 28
Library used by GameApi Builder tool
|
#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) |
| EXPORT GameApi::FloatBitmapApi::FloatBitmapApi | ( | GameApi::Env & | e | ) |

| EXPORT GameApi::FloatBitmapApi::~FloatBitmapApi | ( | ) |
| EXPORT GameApi::FB GameApi::FloatBitmapApi::add_border | ( | FB | fb | ) |

| GameApi::CFB GameApi::FloatBitmapApi::AddBitmap | ( | std::vector< CFB > | vec | ) |

| GameApi::FB GameApi::FloatBitmapApi::blur_bitmap | ( | FB | fb, |
| float | d ) |

| GameApi::CFB GameApi::FloatBitmapApi::C_bitmap | ( | float | sx, |
| float | sy, | ||
| float | val ) |

| EXPORT GameApi::BM GameApi::FloatBitmapApi::choose_bitmap | ( | FB | fb, |
| BM | bm1, | ||
| BM | bm2 ) |

| GameApi::CFB GameApi::FloatBitmapApi::Cos | ( | CFB | val | ) |

| GameApi::FB GameApi::FloatBitmapApi::dist | ( | int | sx, |
| int | sy, | ||
| float | p_x, | ||
| float | p_y ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::distance_field | ( | FB | bb, |
| float | max_value ) |

| GameApi::CBB GameApi::FloatBitmapApi::Equalizer | ( | CFB | a1, |
| CFB | a2 ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::fb_empty | ( | int | sx, |
| int | sy ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_alpha | ( | BM | color_bm | ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_blue | ( | BM | color_bm | ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_bool | ( | GameApi::BB | b, |
| float | val_true, | ||
| float | val_false ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_bool_bitmap | ( | BB | bm, |
| int | csx, | ||
| int | csy ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_grayscale | ( | BM | color_bm | ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_green | ( | BM | color_bm | ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::from_red | ( | BM | color_bm | ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::function | ( | std::function< float(int, int)> | f, |
| int | sx, | ||
| int | sy ) |
| 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 ) |





| GameApi::CFB GameApi::FloatBitmapApi::MulBitmap | ( | std::vector< CFB > | vec | ) |

| EXPORT GameApi::FB GameApi::FloatBitmapApi::newfloatbitmap | ( | char * | array, |
| int | sx, | ||
| int | sy, | ||
| std::function< float(char)> | f ) |
| EXPORT GameApi::FB GameApi::FloatBitmapApi::perlin_noise | ( | FB | grad_1, |
| FB | grad_2 ) |
| EXPORT GameApi::FB GameApi::FloatBitmapApi::perlin_noise2 | ( | int | sx, |
| int | sy, | ||
| float | key ) |

| GameApi::BB GameApi::FloatBitmapApi::SampleContBool | ( | CBB | a1, |
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| int | sx, | ||
| int | sy ) |

| 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 ) |

| GameApi::CFB GameApi::FloatBitmapApi::Sin | ( | CFB | val | ) |

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

| 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 ) |
| GameApi::CFB GameApi::FloatBitmapApi::Tan | ( | CFB | val | ) |

| GameApi::BB GameApi::FloatBitmapApi::to_bool | ( | FB | f, |
| float | true_range_start, | ||
| float | true_range_end ) |

| GameApi::BB GameApi::FloatBitmapApi::to_bool_mod | ( | FB | f, |
| float | mod_value ) |
| EXPORT GameApi::BM GameApi::FloatBitmapApi::to_grayscale | ( | FB | fb | ) |

| 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 ) |

| EXPORT GameApi::TXID GameApi::FloatBitmapApi::to_texid | ( | FB | bm | ) |
| GameApi::CFB GameApi::FloatBitmapApi::X_bitmap | ( | float | sx, |
| float | sy ) |

| GameApi::CFB GameApi::FloatBitmapApi::Y_bitmap | ( | float | sx, |
| float | sy ) |
