|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Member Functions | |
| IMPORT | LinesApi (Env &e) |
| IMPORT LI | pos_choose (EveryApi &ev, FB bm, float pos, float start_x, float end_x, float start_y, float end_y, float z) |
| IMPORT LI | alt (std::vector< LI > v, int index) |
| IMPORT LI | li_empty () |
| IMPORT LI | li_url (std::string url) |
| IMPORT LI | li_url_nr (std::string url) |
| IMPORT LI | function (std::function< PT(int linenum, bool id)> f, int numlines) |
| IMPORT LI | line_pos_mult (float val, LI li) |
| IMPORT LI | point_array (std::vector< PT > vec) |
| IMPORT LI | li_or_array (std::vector< LI > vec) |
| IMPORT LI | li_bevel (LI li, P p, float mix) |
| IMPORT P | p_towards_normal (P p, float amount) |
| IMPORT LI | li_matrix (LI lines, M matrix) |
| IMPORT LI | color_function (LI lines, std::function< unsigned int(int linenum, bool id)> f) |
| IMPORT LI | change_color (LI li, unsigned int color) |
| IMPORT LI | change_color2 (LI li, unsigned int color_1, unsigned int color_2) |
| IMPORT LI | from_points (PC points, bool loops) |
| IMPORT LI | from_points2 (PTS start_points, PTS end_points) |
| IMPORT LI | from_plane (PL plane) |
| IMPORT LI | from_polygon (P poly) |
| IMPORT LI | from_polygon2 (P poly1, P poly2) |
| IMPORT LI | normals_from_polygon (P poly, float length) |
| IMPORT P | line_anim (P poly, LI lines_from_polygon2, float val) |
| IMPORT PTS | pts_line_anim (LI lines, float val) |
| IMPORT PTS | pts_line_anim2 (LI lines, std::function< float(int)> f) |
| IMPORT LI | border_from_bool_bitmap (BB b, float start_x, float end_x, float start_y, float end_y, float z) |
| IMPORT LI | render_slice_2d (P p, PT pos, V u_x, V u_y) |
| IMPORT LI | translate (LI lines, float dx, float dy, float dz) |
| IMPORT LI | scale (LI lines, float m_x, float m_y, float m_z) |
| IMPORT LI | li_or_elem (LI li1, LI li2) |
| IMPORT LI | rotx (LI lines, float angle) |
| IMPORT LI | roty (LI lines, float angle) |
| IMPORT LI | rotz (LI lines, float angle) |
| IMPORT P | line_product (LI lines1, LI lines2) |
| IMPORT LI | fur (PTS pts, PT center, float dist) |
| IMPORT LI | split_lines (LI lines, float dist) |
| IMPORT LI | twist_y (LI lines, float y_0, float angle_per_y_unit) |
| IMPORT LI | random_angle (LI lines, float max_angle) |
| IMPORT LI | unit_cube (LI orig, PT pos, V u_x, V u_y, V u_z) |
| IMPORT LI | unit_to_cube (LI orig, PT pos, V u_x, V u_y, V u_z) |
| IMPORT LI | unit_to_flex (LI orig, PT bTL, PT bTR, PT bBL, PT bBR, PT fTL, PT fTR, PT fBL, PT fBR) |
| IMPORT LI | random_mesh_quad_lines (EveryApi &ev, P p, int count) |
| IMPORT LI | lines_from_quads (P p, int sx, int sy) |
| IMPORT ML | ml_li_render (EveryApi &ev, LI l, float linewidth) |
| IMPORT LLA | prepare (LI l) |
| IMPORT void | update (LLA la, LI l) |
| IMPORT ML | update_ml (LLA la, LI l) |
| IMPORT void | render (LLA array) |
| IMPORT void | prepare_inst (LLA array, PTA instances) |
| IMPORT void | render_inst (LLA array, PTA instances) |
| IMPORT void | prepare_inst_matrix (LLA array, MSA instances) |
| IMPORT void | render_inst_matrix (LLA array, MSA instances) |
| IMPORT ML | render_ml (EveryApi &ev, LLA array, float linewidth) |
| IMPORT ML | render_ml2 (EveryApi &ev, LI array, float linewidth) |
| IMPORT ML | render_inst_ml (EveryApi &ev, LLA array, PTA pta, float linewidth) |
| IMPORT ML | render_inst_ml2 (EveryApi &ev, LI array, PTA pta, float linewidth) |
| IMPORT ML | render_inst_ml3 (EveryApi &ev, LI array, PTS pts, float linewidth) |
| IMPORT ML | render_inst_ml3_matrix (EveryApi &ev, LI array, MS pts, float linewidth) |
| IMPORT LI | import_ifc (EveryApi &ev, std::string url) |
| GameApi::LinesApi::LinesApi | ( | Env & | e | ) |

| EXPORT GameApi::LI GameApi::LinesApi::alt | ( | std::vector< LI > | v, |
| int | index ) |

| EXPORT GameApi::LI GameApi::LinesApi::border_from_bool_bitmap | ( | GameApi::BB | b, |
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | z ) |

| EXPORT GameApi::LI GameApi::LinesApi::change_color | ( | GameApi::LI | li, |
| unsigned int | color ) |

| EXPORT GameApi::LI GameApi::LinesApi::change_color2 | ( | GameApi::LI | li, |
| unsigned int | color_1, | ||
| unsigned int | color_2 ) |

| EXPORT GameApi::LI GameApi::LinesApi::color_function | ( | LI | lines, |
| std::function< unsigned int(int linenum, bool id)> | f ) |
| EXPORT GameApi::LI GameApi::LinesApi::from_plane | ( | GameApi::PL | plane | ) |
| EXPORT GameApi::LI GameApi::LinesApi::from_points | ( | GameApi::PC | points, |
| bool | loops ) |
| GameApi::LI GameApi::LinesApi::from_points2 | ( | PTS | start_points, |
| PTS | end_points ) |
| EXPORT GameApi::LI GameApi::LinesApi::from_polygon | ( | GameApi::P | poly | ) |

| EXPORT GameApi::LI GameApi::LinesApi::from_polygon2 | ( | GameApi::P | poly1, |
| GameApi::P | poly2 ) |
| EXPORT GameApi::LI GameApi::LinesApi::function | ( | std::function< PT(int linenum, bool id)> | f, |
| int | numlines ) |
| GameApi::LI GameApi::LinesApi::fur | ( | PTS | pts, |
| PT | center, | ||
| float | dist ) |


| GameApi::LI GameApi::LinesApi::li_bevel | ( | LI | li, |
| P | p, | ||
| float | mix ) |

| GameApi::LI GameApi::LinesApi::li_empty | ( | ) |

| EXPORT GameApi::LI GameApi::LinesApi::li_matrix | ( | LI | lines, |
| M | matrix ) |
| GameApi::LI GameApi::LinesApi::li_or_array | ( | std::vector< LI > | vec | ) |
| GameApi::LI GameApi::LinesApi::li_or_elem | ( | LI | li1, |
| LI | li2 ) |

| GameApi::LI GameApi::LinesApi::li_url | ( | std::string | url | ) |

| GameApi::LI GameApi::LinesApi::li_url_nr | ( | std::string | url | ) |

| EXPORT GameApi::P GameApi::LinesApi::line_anim | ( | GameApi::P | poly, |
| GameApi::LI | lines, | ||
| float | val ) |
| GameApi::LI GameApi::LinesApi::line_pos_mult | ( | float | val, |
| LI | li ) |
| GameApi::P GameApi::LinesApi::line_product | ( | LI | lines1, |
| LI | lines2 ) |

| GameApi::LI GameApi::LinesApi::lines_from_quads | ( | P | p, |
| int | sx, | ||
| int | sy ) |

| EXPORT GameApi::ML GameApi::LinesApi::ml_li_render | ( | EveryApi & | ev, |
| LI | l, | ||
| float | linewidth ) |

| EXPORT GameApi::LI GameApi::LinesApi::normals_from_polygon | ( | GameApi::P | p, |
| float | length ) |
| GameApi::P GameApi::LinesApi::p_towards_normal | ( | P | p, |
| float | amount ) |

| GameApi::LI GameApi::LinesApi::point_array | ( | std::vector< PT > | vec | ) |

| GameApi::LI GameApi::LinesApi::pos_choose | ( | EveryApi & | ev, |
| FB | bm, | ||
| float | pos, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | z ) |

| EXPORT GameApi::LLA GameApi::LinesApi::prepare | ( | LI | l | ) |
| EXPORT GameApi::PTS GameApi::LinesApi::pts_line_anim | ( | LI | lines, |
| float | val ) |
| EXPORT GameApi::PTS GameApi::LinesApi::pts_line_anim2 | ( | LI | lines, |
| std::function< float(int)> | f ) |
| GameApi::LI GameApi::LinesApi::random_angle | ( | LI | lines, |
| float | max_angle ) |

| GameApi::LI GameApi::LinesApi::random_mesh_quad_lines | ( | EveryApi & | ev, |
| P | p, | ||
| int | count ) |

| EXPORT GameApi::ML GameApi::LinesApi::render_inst_ml | ( | EveryApi & | ev, |
| LLA | array, | ||
| PTA | pta, | ||
| float | linewidth ) |
| EXPORT GameApi::ML GameApi::LinesApi::render_inst_ml2 | ( | EveryApi & | ev, |
| LI | array, | ||
| PTA | pta, | ||
| float | linewidth ) |
| EXPORT GameApi::ML GameApi::LinesApi::render_inst_ml3 | ( | EveryApi & | ev, |
| LI | array, | ||
| PTS | pts, | ||
| float | linewidth ) |
| EXPORT GameApi::ML GameApi::LinesApi::render_inst_ml3_matrix | ( | EveryApi & | ev, |
| LI | array, | ||
| MS | pts, | ||
| float | linewidth ) |
| EXPORT GameApi::ML GameApi::LinesApi::render_ml | ( | EveryApi & | ev, |
| LLA | array, | ||
| float | linewidth ) |
| EXPORT GameApi::ML GameApi::LinesApi::render_ml2 | ( | EveryApi & | ev, |
| LI | array, | ||
| float | linewidth ) |
| EXPORT GameApi::LI GameApi::LinesApi::render_slice_2d | ( | GameApi::P | p, |
| GameApi::PT | pos, | ||
| GameApi::V | u_x, | ||
| GameApi::V | u_y ) |
| EXPORT GameApi::LI GameApi::LinesApi::rotx | ( | LI | lines, |
| float | angle ) |
| EXPORT GameApi::LI GameApi::LinesApi::roty | ( | LI | lines, |
| float | angle ) |
| EXPORT GameApi::LI GameApi::LinesApi::rotz | ( | LI | lines, |
| float | angle ) |
| EXPORT GameApi::LI GameApi::LinesApi::scale | ( | LI | lines, |
| float | m_x, | ||
| float | m_y, | ||
| float | m_z ) |

| GameApi::LI GameApi::LinesApi::split_lines | ( | LI | lines, |
| float | dist ) |

| EXPORT GameApi::LI GameApi::LinesApi::translate | ( | LI | lines, |
| float | dx, | ||
| float | dy, | ||
| float | dz ) |

| GameApi::LI GameApi::LinesApi::twist_y | ( | LI | lines, |
| float | y_0, | ||
| float | angle_per_y_unit ) |

| IMPORT LI GameApi::LinesApi::unit_to_flex | ( | LI | orig, |
| PT | bTL, | ||
| PT | bTR, | ||
| PT | bBL, | ||
| PT | bBR, | ||
| PT | fTL, | ||
| PT | fTR, | ||
| PT | fBL, | ||
| PT | fBR ) |
| EXPORT GameApi::ML GameApi::LinesApi::update_ml | ( | LLA | la, |
| LI | l ) |
