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

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

Constructor & Destructor Documentation

◆ BoolBitmapApi()

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

◆ ~BoolBitmapApi()

EXPORT GameApi::BoolBitmapApi::~BoolBitmapApi ( )

Member Function Documentation

◆ andnot_bitmap()

EXPORT GameApi::BB GameApi::BoolBitmapApi::andnot_bitmap ( BB b1,
BB not_b2 )
Here is the caller graph for this function:

◆ bb_empty()

EXPORT GameApi::BB GameApi::BoolBitmapApi::bb_empty ( int sx,
int sy )
Here is the caller graph for this function:

◆ black_white_dithering()

GameApi::BB GameApi::BoolBitmapApi::black_white_dithering ( FB fb)
Here is the caller graph for this function:

◆ boolvalue()

EXPORT bool GameApi::BoolBitmapApi::boolvalue ( BB bb,
int x,
int y )

◆ choose_bitmap()

EXPORT GameApi::BM GameApi::BoolBitmapApi::choose_bitmap ( BB bools,
BM true_bitmap,
BM false_bitmap )
Here is the caller graph for this function:

◆ circle()

EXPORT GameApi::BB GameApi::BoolBitmapApi::circle ( BB bg,
float center_x,
float center_y,
float radius )
Here is the caller graph for this function:

◆ ellipse()

EXPORT GameApi::BB GameApi::BoolBitmapApi::ellipse ( BB bg,
float center_x,
float center_y,
float center2_x,
float center2_y,
float sum_of_distances )

◆ from_bitmaps_color()

EXPORT GameApi::BB GameApi::BoolBitmapApi::from_bitmaps_color ( BM bm,
int r,
int g,
int b )
Here is the caller graph for this function:

◆ from_bitmaps_color_area() [1/2]

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 )

◆ from_bitmaps_color_area() [2/2]

IMPORT BB GameApi::BoolBitmapApi::from_bitmaps_color_area ( BM bm,
std::function< bool(int r, int g, int b, int a)> f )
Here is the caller graph for this function:

◆ from_float_bitmap()

EXPORT GameApi::BB GameApi::BoolBitmapApi::from_float_bitmap ( FB float_bm,
float range_start,
float range_end )
Here is the caller graph for this function:

◆ function()

GameApi::BB GameApi::BoolBitmapApi::function ( std::function< bool(int, int)> f,
int sx,
int sy )

◆ line()

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 )
Here is the caller graph for this function:

◆ not_bitmap()

EXPORT GameApi::BB GameApi::BoolBitmapApi::not_bitmap ( BB b)
Here is the caller graph for this function:

◆ or_bitmap()

EXPORT GameApi::BB GameApi::BoolBitmapApi::or_bitmap ( BB b1,
BB b2 )
Here is the caller graph for this function:

◆ part_circle()

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 )
Here is the caller graph for this function:

◆ polygon()

EXPORT GameApi::BB GameApi::BoolBitmapApi::polygon ( BB bg,
PT * points,
int size )

◆ rectangle()

EXPORT GameApi::BB GameApi::BoolBitmapApi::rectangle ( BB bg,
float x,
float y,
float width,
float height )
Here is the caller graph for this function:

◆ rings()

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 )
Here is the caller graph for this function:

◆ sections()

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

◆ size_x()

EXPORT int GameApi::BoolBitmapApi::size_x ( BB bm)
Here is the caller graph for this function:

◆ size_y()

EXPORT int GameApi::BoolBitmapApi::size_y ( BB bm)
Here is the caller graph for this function:

◆ sprite()

EXPORT GameApi::BB GameApi::BoolBitmapApi::sprite ( BB bg,
BB sprite,
float x,
float y,
float size_multiplier_x,
float size_multiplier_y )
Here is the caller graph for this function:

◆ text()

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

◆ texture()

IMPORT BM GameApi::BoolBitmapApi::texture ( BM bg,
BB bools1,
int l1,
int t1,
BM texturebitmap2,
int l2,
int t2 )

◆ to_bitmap()

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 )
Here is the caller graph for this function:

◆ to_bitmap_1()

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 )
Here is the caller graph for this function:

◆ to_volume()

EXPORT GameApi::O GameApi::BoolBitmapApi::to_volume ( BB b,
float dist )

◆ transform()

EXPORT GameApi::BB GameApi::BoolBitmapApi::transform ( BB orig,
std::function< bool(int, int, bool)> f )

◆ tri()

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 )
Here is the caller graph for this function:

◆ xor_bitmap()

EXPORT GameApi::BB GameApi::BoolBitmapApi::xor_bitmap ( BB b1,
BB flip_b2 )
Here is the caller graph for this function:

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