|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Member Functions | |
| IMPORT | BoolBitmapApi (Env &e) |
| IMPORT | ~BoolBitmapApi () |
| IMPORT BB | bb_empty (int sx, int sy) |
| BB | function (std::function< bool(int, int)> f, int sx, int sy) |
| IMPORT BB | transform (BB orig, std::function< bool(int, int, bool)> f) |
| IMPORT O | to_volume (BB b, float dist) |
| IMPORT BB | from_float_bitmap (FB float_bm, float range_start, float range_end) |
| IMPORT BB | from_bitmaps_color (BM bm, int r, int g, int b) |
| IMPORT BB | from_bitmaps_color_area (BM bm, std::function< bool(int r, int g, int b, int a)> f) |
| IMPORT BB | from_bitmaps_color_area (BM bm, int r_start, int r_end, int g_start, int g_end, int b_start, int b_end, int a_start, int a_end) |
| IMPORT BB | line (BB bg, float p_x, float p_y, float p2_x, float p2_y, float line_width1, float line_width2) |
| IMPORT BB | tri (BB orig, float p1_x, float p1_y, float p2_x, float p2_y, float p3_x, float p3_y) |
| IMPORT BB | circle (BB bg, float center_x, float center_y, float radius) |
| IMPORT BB | ellipse (BB bg, float center_x, float center_y, float center2_x, float center2_y, float sum_of_distances) |
| IMPORT BB | rectangle (BB bg, float x, float y, float width, float height) |
| IMPORT BB | sprite (BB bg, BB sprite, float x, float y, float size_multiplier_x, float size_multiplier_y) |
| IMPORT BB | polygon (BB bg, PT *points, int size) |
| IMPORT BB | text (BB bg, int x, int y, const char *string, int size, BB *glyphs, int glyphcount, int(*fptr)(EveryApi &ev, char)) |
| IMPORT BB | part_circle (int sx, int sy, float x, float y, float start_angle, float end_angle, float start_rad, float end_rad) |
| IMPORT BB | sections (int sx, int sy, float x, float y, std::function< bool(float angle)> f) |
| IMPORT BB | rings (int sx, int sy, float center_x_start, float center_y_start, float center_x_end, float center_y_end, float start_radius, float end_radius, float start_thickness, float end_thickness, int numrings) |
| IMPORT BB | not_bitmap (BB b) |
| IMPORT BB | or_bitmap (BB b1, BB b2) |
| IMPORT BB | andnot_bitmap (BB b1, BB not_b2) |
| IMPORT BB | xor_bitmap (BB b1, BB flip_b2) |
| IMPORT BM | choose_bitmap (BB bools, BM true_bitmap, BM false_bitmap) |
| IMPORT BM | to_bitmap (BB bools, int true_r, int true_g, int true_b, int true_a, int false_r, int false_g, int false_b, int false_a) |
| BM | to_bitmap_1 (BB bools, int true_r, int true_g, int true_b, int true_a, int false_r, int false_g, int false_b, int false_a) |
| IMPORT BM | texture (BM bg, BB bools1, int l1, int t1, BM texturebitmap2, int l2, int t2) |
| IMPORT int | size_x (BB bm) |
| IMPORT int | size_y (BB bm) |
| IMPORT bool | boolvalue (BB bb, int x, int y) |
| IMPORT BB | black_white_dithering (FB fb) |
| EXPORT GameApi::BoolBitmapApi::BoolBitmapApi | ( | GameApi::Env & | e | ) |

| EXPORT GameApi::BoolBitmapApi::~BoolBitmapApi | ( | ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::andnot_bitmap | ( | BB | b1, |
| BB | not_b2 ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::bb_empty | ( | int | sx, |
| int | sy ) |

| GameApi::BB GameApi::BoolBitmapApi::black_white_dithering | ( | FB | fb | ) |

| EXPORT GameApi::BM GameApi::BoolBitmapApi::choose_bitmap | ( | BB | bools, |
| BM | true_bitmap, | ||
| BM | false_bitmap ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::circle | ( | BB | bg, |
| float | center_x, | ||
| float | center_y, | ||
| float | radius ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::ellipse | ( | BB | bg, |
| float | center_x, | ||
| float | center_y, | ||
| float | center2_x, | ||
| float | center2_y, | ||
| float | sum_of_distances ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::from_bitmaps_color | ( | BM | bm, |
| int | r, | ||
| int | g, | ||
| int | b ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::from_bitmaps_color_area | ( | BM | bm, |
| int | r_start, | ||
| int | r_end, | ||
| int | g_start, | ||
| int | g_end, | ||
| int | b_start, | ||
| int | b_end, | ||
| int | a_start, | ||
| int | a_end ) |
| IMPORT BB GameApi::BoolBitmapApi::from_bitmaps_color_area | ( | BM | bm, |
| std::function< bool(int r, int g, int b, int a)> | f ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::from_float_bitmap | ( | FB | float_bm, |
| float | range_start, | ||
| float | range_end ) |

| GameApi::BB GameApi::BoolBitmapApi::function | ( | std::function< bool(int, int)> | f, |
| int | sx, | ||
| int | sy ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::line | ( | BB | bg, |
| float | p_x, | ||
| float | p_y, | ||
| float | p2_x, | ||
| float | p2_y, | ||
| float | line_width1, | ||
| float | line_width2 ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::not_bitmap | ( | BB | b | ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::or_bitmap | ( | BB | b1, |
| BB | b2 ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::part_circle | ( | int | sx, |
| int | sy, | ||
| float | x, | ||
| float | y, | ||
| float | start_angle, | ||
| float | end_angle, | ||
| float | start_rad, | ||
| float | end_rad ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::polygon | ( | BB | bg, |
| PT * | points, | ||
| int | size ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::rectangle | ( | BB | bg, |
| float | x, | ||
| float | y, | ||
| float | width, | ||
| float | height ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::rings | ( | int | sx, |
| int | sy, | ||
| float | center_x_start, | ||
| float | center_y_start, | ||
| float | center_x_end, | ||
| float | center_y_end, | ||
| float | start_radius, | ||
| float | end_radius, | ||
| float | start_thickness, | ||
| float | end_thickness, | ||
| int | numrings ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::sections | ( | int | sx, |
| int | sy, | ||
| float | x, | ||
| float | y, | ||
| std::function< bool(float angle)> | f ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::sprite | ( | BB | bg, |
| BB | sprite, | ||
| float | x, | ||
| float | y, | ||
| float | size_multiplier_x, | ||
| float | size_multiplier_y ) |

| IMPORT BB GameApi::BoolBitmapApi::text | ( | BB | bg, |
| int | x, | ||
| int | y, | ||
| const char * | string, | ||
| int | size, | ||
| BB * | glyphs, | ||
| int | glyphcount, | ||
| int(* | fptr )(EveryApi &ev, char) ) |
| IMPORT BM GameApi::BoolBitmapApi::texture | ( | BM | bg, |
| BB | bools1, | ||
| int | l1, | ||
| int | t1, | ||
| BM | texturebitmap2, | ||
| int | l2, | ||
| int | t2 ) |
| EXPORT GameApi::BM GameApi::BoolBitmapApi::to_bitmap | ( | BB | bools, |
| int | true_r, | ||
| int | true_g, | ||
| int | true_b, | ||
| int | true_a, | ||
| int | false_r, | ||
| int | false_g, | ||
| int | false_b, | ||
| int | false_a ) |

| GameApi::BM GameApi::BoolBitmapApi::to_bitmap_1 | ( | BB | bools, |
| int | true_r, | ||
| int | true_g, | ||
| int | true_b, | ||
| int | true_a, | ||
| int | false_r, | ||
| int | false_g, | ||
| int | false_b, | ||
| int | false_a ) |

| EXPORT GameApi::O GameApi::BoolBitmapApi::to_volume | ( | BB | b, |
| float | dist ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::transform | ( | BB | orig, |
| std::function< bool(int, int, bool)> | f ) |
| EXPORT GameApi::BB GameApi::BoolBitmapApi::tri | ( | BB | orig, |
| float | p1_x, | ||
| float | p1_y, | ||
| float | p2_x, | ||
| float | p2_y, | ||
| float | p3_x, | ||
| float | p3_y ) |

| EXPORT GameApi::BB GameApi::BoolBitmapApi::xor_bitmap | ( | BB | b1, |
| BB | flip_b2 ) |
