|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Member Functions | |
| IMPORT | SpriteApi (Env &e) |
| IMPORT | ~SpriteApi () |
| IMPORT void | spritepos (BM bm, float x, float y) |
| IMPORT void | preparesprite (BM bm, int bbm_choose=-1) |
| IMPORT VA | create_vertex_array (BM bm, bool progress=false, bool textrender=false) |
| IMPORT void | clear_arrays (VA va) |
| IMPORT void | delete_vertex_array (VA va) |
| IMPORT void | update_vertex_array (VA va, BM bm) |
| IMPORT ML | update_vertex_array_ml (VA va, BM bm) |
| IMPORT void | clipping_sprite (VA va, int sx, int sy, float tex_l, float tex_t, float tex_r, float teb_b) |
| IMPORT void | render_sprite_vertex_array (VA va) |
| IMPORT ML | vertex_array_render (EveryApi &ev, BM bm) |
| IMPORT ML | render_sprite_vertex_array_ml (EveryApi &ev, BM bm) |
| IMPORT void | rendersprite (BM bm, SH sh, float x, float y, float mult_x=1.0, float mult_y=1.0) |
| IMPORT void | rendersprite2 (BM bm, SH sh, PT pos) |
| IMPORT void | rendersprite3 (BM bm, int bm_choose, SH sh, float x, float y, float mult_x, float mult_y) |
| void | rendersprite3_1 (BM bm, int bm_choose, SH sh, float x, float y, float mult_x, float mult_y) |
| IMPORT void | rendersprite4 (BM bm, int bm_choose, SH sh, PT pos) |
| IMPORT void | rendersprite5 (BM bm, int bm_choose, SH sh, SP move_space, SP sprite_space, float x, float y) |
| IMPORT void | rendersprite6 (BM bm, int bm_choose, SH sh, SP move_space, SP sprite_space, PT pos) |
| IMPORT SP | spritespace (BM bm) |
| IMPORT PT | pixelpos (BM bm, int x, int y) |
| IMPORT std::vector< BM > | bitmap_anim (std::function< BM(float)> f, std::vector< float > key_frames) |
| IMPORT ML | bitmap_anim_ml (EveryApi &ev, std::vector< BM > vec, std::vector< float > key_frames, float repeat_time) |
| IMPORT ML | turn_to_2d (EveryApi &ev, ML ml, float tl_x, float tl_y, float br_x, float br_y) |
| IMPORT ML | alt_ml_array (EveryApi &ev, std::vector< ML > vec, float start_time, float time_delta, bool repeat) |
| IMPORT ARR | sprite_atlas_x (EveryApi &ev, BM orig, int start_x, int end_x, int start_y, int end_y, int delta_x, int count) |
| IMPORT ARR | sprite_atlas_y (EveryApi &ev, BM orig, int start_x, int end_x, int start_y, int end_y, int delta_y, int count) |
| IMPORT ARR | sprite_atlas_xy (EveryApi &ev, BM orig, int start_x, int end_x, int start_y, int end_y, int delta_x, int delta_y, int count_x, int count_y) |
| EXPORT GameApi::SpriteApi::SpriteApi | ( | GameApi::Env & | e | ) |
| EXPORT GameApi::SpriteApi::~SpriteApi | ( | ) |
| EXPORT GameApi::ML GameApi::SpriteApi::alt_ml_array | ( | EveryApi & | ev, |
| std::vector< ML > | vec, | ||
| float | start_time, | ||
| float | time_delta, | ||
| bool | repeat ) |
| EXPORT std::vector< GameApi::BM > GameApi::SpriteApi::bitmap_anim | ( | std::function< BM(float)> | f, |
| std::vector< float > | key_frames ) |
| EXPORT GameApi::ML GameApi::SpriteApi::bitmap_anim_ml | ( | EveryApi & | ev, |
| std::vector< BM > | vec, | ||
| std::vector< float > | key_frames, | ||
| float | repeat_time ) |
| EXPORT void GameApi::SpriteApi::clipping_sprite | ( | VA | va, |
| int | sx, | ||
| int | sy, | ||
| float | tex_l, | ||
| float | tex_t, | ||
| float | tex_r, | ||
| float | teb_b ) |
| EXPORT GameApi::VA GameApi::SpriteApi::create_vertex_array | ( | BM | bm, |
| bool | progress = false, | ||
| bool | textrender = false ) |
| EXPORT GameApi::PT GameApi::SpriteApi::pixelpos | ( | BM | bm, |
| int | x, | ||
| int | y ) |
| EXPORT GameApi::ML GameApi::SpriteApi::render_sprite_vertex_array_ml | ( | EveryApi & | ev, |
| BM | bm ) |
| EXPORT void GameApi::SpriteApi::rendersprite | ( | BM | bm, |
| SH | sh, | ||
| float | x, | ||
| float | y, | ||
| float | mult_x = 1.0, | ||
| float | mult_y = 1.0 ) |
| EXPORT void GameApi::SpriteApi::rendersprite3 | ( | GameApi::BM | bm, |
| int | bm_choose, | ||
| GameApi::SH | sh, | ||
| float | x, | ||
| float | y, | ||
| float | mult_x, | ||
| float | mult_y ) |
| void GameApi::SpriteApi::rendersprite3_1 | ( | GameApi::BM | bm, |
| int | bm_choose, | ||
| GameApi::SH | sh, | ||
| float | x, | ||
| float | y, | ||
| float | mult_x, | ||
| float | mult_y ) |
| EXPORT void GameApi::SpriteApi::rendersprite5 | ( | BM | bm, |
| int | bm_choose, | ||
| SH | sh, | ||
| SP | move_space, | ||
| SP | sprite_space, | ||
| float | x, | ||
| float | y ) |
| EXPORT void GameApi::SpriteApi::rendersprite6 | ( | BM | bm, |
| int | bm_choose, | ||
| SH | sh, | ||
| SP | move_space, | ||
| SP | sprite_space, | ||
| PT | pos ) |
| EXPORT GameApi::ARR GameApi::SpriteApi::sprite_atlas_x | ( | EveryApi & | ev, |
| BM | orig, | ||
| int | start_x, | ||
| int | end_x, | ||
| int | start_y, | ||
| int | end_y, | ||
| int | delta_x, | ||
| int | count ) |
| EXPORT GameApi::ARR GameApi::SpriteApi::sprite_atlas_xy | ( | EveryApi & | ev, |
| BM | orig, | ||
| int | start_x, | ||
| int | end_x, | ||
| int | start_y, | ||
| int | end_y, | ||
| int | delta_x, | ||
| int | delta_y, | ||
| int | count_x, | ||
| int | count_y ) |
| EXPORT GameApi::ARR GameApi::SpriteApi::sprite_atlas_y | ( | EveryApi & | ev, |
| BM | orig, | ||
| int | start_x, | ||
| int | end_x, | ||
| int | start_y, | ||
| int | end_y, | ||
| int | delta_y, | ||
| int | count ) |
| EXPORT GameApi::SP GameApi::SpriteApi::spritespace | ( | BM | bm | ) |
| EXPORT GameApi::ML GameApi::SpriteApi::turn_to_2d | ( | EveryApi & | ev, |
| ML | ml, | ||
| float | tl_x, | ||
| float | tl_y, | ||
| float | br_x, | ||
| float | br_y ) |
| EXPORT GameApi::ML GameApi::SpriteApi::update_vertex_array_ml | ( | VA | va, |
| BM | bm ) |
| EXPORT GameApi::ML GameApi::SpriteApi::vertex_array_render | ( | EveryApi & | ev, |
| BM | bm ) |