|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Member Functions | |
| IMPORT | FontApi (Env &e) |
| IMPORT | ~FontApi () |
| IMPORT BM | outline_bm (FI font, std::string glyph) |
| IMPORT BM | outline_string (EveryApi &ev, FI font, std::string str) |
| IMPORT void | save_atlas_store_file (FtA atlas, std::string filename) |
| IMPORT FtA | load_atlas_from_string (std::string buf) |
| IMPORT ARR | FI_sprite_atlas (EveryApi &ev, FI font, std::string chars, int sx, int sy, int y_delta) |
| IMPORT ARR | FI_sprite_atlas_persistent_cache (EveryApi &ev, FtA atlas, BM atlas_bm, std::string atlas_filename, std::string atlas_bm_filename) |
| IMPORT BM | large_string_from_atlas (EveryApi &ev, FtA atlas, BM atlas_bm, std::string url, int x_gap, int empty_line_height, int baseline_separation) |
| IMPORT FF | span_key_fetcher (float start_x, float end_x, float speed_x, int down_key, int up_key) |
| IMPORT ARR | choose_screen (float left_x, float right_x, int min_screen, int max_screen) |
| IMPORT IF | quake_area_fetcher (float start_x, float end_x, float start_z, float end_z) |
| IMPORT Ft | newfont (std::string filename, int sx, int sy) |
| IMPORT BM | glyph (Ft font, long idx) |
| IMPORT LI | glyph_outline (Ft font, long idx, float sx, float sy) |
| IMPORT PL | glyph_plane (Ft font, long idx, float sx, float sy, float dx, float dy) |
| IMPORT BM | font_string (Ft font, std::string str, int x_gap) |
| IMPORT FB | glyph_fb (Ft font, long idx) |
| IMPORT BB | glyph_bb (Ft font, long idx) |
| IMPORT BM | render_glyph (GI glyph) |
| IMPORT BM | font_atlas_engine2 (EveryApi &ev, FI font, FtA atlas, float sx, float sy) |
| IMPORT FtA | font_atlas_info_engine2 (EveryApi &ev, FI font, std::string chars, float sx, float sy, int y_delta) |
| IMPORT FtA | font_atlas_info (EveryApi &ev, Ft font, std::string chars, float sx, float sy, int y_delta) |
| IMPORT BM | font_atlas (EveryApi &ev, Ft font, FtA atlas, float sx, float sy) |
| IMPORT BM | font_string_from_atlas (EveryApi &ev, FtA atlas, BM atlas_bm, std::string str, int x_gap) |
| IMPORT P | font_string_from_atlas_opengl_pipeline (EveryApi &ev, FtA atlas, BM atlas_bm, std::string str, int x_gap) |
| IMPORT void | save_atlas (FtA atlas, std::string filename) |
| IMPORT FtA | load_atlas (std::string filename) |
| IMPORT ARR | font_string_array (Ft font, std::string s, int x_gap) |
| IMPORT ARR | font_string_array2 (FI font, std::string s) |
| IMPORT SF | time_string_fetcher (EveryApi &ev) |
| IMPORT SF | score_string_fetcher (std::string id, std::string label, int numdigits) |
| IMPORT IF | char_fetcher_from_string (SF string_fetcher, std::string alternatives, int idx) |
| IMPORT IF | key_move_2_area_fetcher (float start_x, float end_x, float start_z, float end_z) |
| IMPORT IF | ready_fetcher (P p) |
| IMPORT ML | dynamic_character (EveryApi &ev, std::vector< BM > vec, IF fetcher, int x, int y) |
| IMPORT FML | dynamic_character_frame (EveryApi &ev, std::vector< BM > vec, IF fetcher, int x, int y, int fmt, MN mn) |
| IMPORT ML | dynamic_polygon (EveryApi &ev, std::vector< P > vec, MT material, IF fetcher) |
| IMPORT ML | dynamic_string (EveryApi &ev, Ft font, std::string alternative_chars, SF fetcher, int x, int y, int numchars) |
| IMPORT FI | load_font (std::string ttf_filename, int sx, int sy) |
| IMPORT ML | save_font_dump (FI font, std::string chars, std::string filename) |
| IMPORT FI | load_font_dump (std::string url) |
| IMPORT GI | choose_glyph_from_font (FI font, long idx) |
| IMPORT GI | combine_glyphs (GI glyph1, GI glyph2) |
| IMPORT SD | draw_text_string_sd (std::vector< GI > glyphs, std::string str, int gap_x, int empty_line_height) |
| IMPORT BM | string_display_to_bitmap (SD sd, int def) |
| IMPORT BM | draw_text_string (FI font, std::string str, int x_gap, int empty_line_height) |
| IMPORT BM | draw_text_large (EveryApi &ev, FI font, std::string url, int x_gap, int empty_line_height, int baseline_separation) |
| IMPORT ML | dynamic_character2 (EveryApi &ev, std::vector< GI > vec, std::string alternatives, IF fetcher, int x, int y) |
| IMPORT IF | timed_int_fetcher (EveryApi &ev, int start, int end, float start_time, float end_time) |
| IMPORT IF | movement_int_fetcher (int count, float x_mult, float y_mult, float z_mult) |
| IMPORT IF | repeat_int_fetcher (IF fetcher, float duration) |
| IMPORT IF | toggle_button_fetcher (float start_x, float end_x, float start_y, float end_y) |
| IMPORT IF | hmd_state_fetcher () |
| IMPORT IF | keypress_int_fetcher (int key, int key_down_value, int key_up_value) |
| IMPORT IF | x_comp (PF point_fetcher, float start_x, float end_x, int num_steps) |
| IMPORT IF | y_comp (PF point_fetcher, float start_y, float end_y, int num_steps) |
| IMPORT IF | z_comp (PF point_fetcher, float start_z, float end_z, int num_steps) |
| IMPORT PF | point_fetcher_constant (float x, float y, float z) |
| IMPORT PF | point_fetcher_part (PF point_fetcher, int component, FF float_fetcher) |
| IMPORT PF | mouse_fetcher () |
| IMPORT FF | choose_float_fetcher (IF int_fetcher, float a_1, float a_2, float a_3, float a_4, float a_5, float a_6, float a_7) |
| IMPORT FF | fps_fetcher (EveryApi &ev) |
| IMPORT FF | time_fetcher2 (EveryApi &ev) |
| IMPORT FF | time_range_fetcher (float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat) |
| IMPORT FF | time_range_fetcher_key (int key, float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat) |
| IMPORT FF | time_range_fetcher_state (int state, IF states, float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat) |
| IMPORT FF | time_range_fetcher_state_key (int state, int key, IF if_state, float start_time, float end_time, float before_start, float start_value, float end_value, float after_end, float repeat) |
| IMPORT IF | score_fetcher (EveryApi &ev) |
| IMPORT IF | time_fetcher (EveryApi &ev, float start_time) |
| IMPORT IF | hmd_request_presenting (IF i) |
| IMPORT SF | float_to_string_fetcher (FF fetcher) |
| IMPORT SF | int_to_string_fetcher (IF fetcher) |
| IMPORT ML | ml_chooser (std::vector< ML > vec, IF fetcher) |
| IMPORT std::vector< GameApi::BM > | bm_array_id_inv (ARR arr) |
| IMPORT ARR | bm_array_id (std::vector< BM > vec) |
| EXPORT GameApi::FontApi::~FontApi | ( | ) |
| EXPORT GameApi::ARR GameApi::FontApi::bm_array_id | ( | std::vector< BM > | vec | ) |

| EXPORT std::vector< GameApi::BM > GameApi::FontApi::bm_array_id_inv | ( | ARR | arr | ) |
| EXPORT GameApi::IF GameApi::FontApi::char_fetcher_from_string | ( | SF | string_fetcher, |
| std::string | alternatives, | ||
| int | idx ) |

| GameApi::FF GameApi::FontApi::choose_float_fetcher | ( | IF | int_fetcher, |
| float | a_1, | ||
| float | a_2, | ||
| float | a_3, | ||
| float | a_4, | ||
| float | a_5, | ||
| float | a_6, | ||
| float | a_7 ) |

| GameApi::GI GameApi::FontApi::choose_glyph_from_font | ( | FI | font, |
| long | idx ) |

| GameApi::ARR GameApi::FontApi::choose_screen | ( | float | left_x, |
| float | right_x, | ||
| int | min_screen, | ||
| int | max_screen ) |

| EXPORT GameApi::GI GameApi::FontApi::combine_glyphs | ( | GI | glyph1, |
| GI | glyph2 ) |

| GameApi::BM GameApi::FontApi::draw_text_large | ( | EveryApi & | ev, |
| FI | font, | ||
| std::string | url, | ||
| int | x_gap, | ||
| int | empty_line_height, | ||
| int | baseline_separation ) |

| GameApi::BM GameApi::FontApi::draw_text_string | ( | FI | font, |
| std::string | str, | ||
| int | x_gap, | ||
| int | empty_line_height ) |

| GameApi::SD GameApi::FontApi::draw_text_string_sd | ( | std::vector< GI > | glyphs, |
| std::string | str, | ||
| int | gap_x, | ||
| int | empty_line_height ) |

| EXPORT GameApi::ML GameApi::FontApi::dynamic_character | ( | GameApi::EveryApi & | ev, |
| std::vector< BM > | vec, | ||
| GameApi::IF | fetcher, | ||
| int | x, | ||
| int | y ) |

| IMPORT ML GameApi::FontApi::dynamic_character2 | ( | EveryApi & | ev, |
| std::vector< GI > | vec, | ||
| std::string | alternatives, | ||
| IF | fetcher, | ||
| int | x, | ||
| int | y ) |
| EXPORT GameApi::FML GameApi::FontApi::dynamic_character_frame | ( | GameApi::EveryApi & | ev, |
| std::vector< BM > | vec, | ||
| GameApi::IF | fetcher, | ||
| int | x, | ||
| int | y, | ||
| int | fmt, | ||
| MN | mn ) |

| EXPORT GameApi::ML GameApi::FontApi::dynamic_polygon | ( | GameApi::EveryApi & | ev, |
| std::vector< P > | vec, | ||
| GameApi::MT | material, | ||
| GameApi::IF | fetcher ) |

| EXPORT GameApi::ML GameApi::FontApi::dynamic_string | ( | GameApi::EveryApi & | ev, |
| GameApi::Ft | font, | ||
| std::string | alternative_chars, | ||
| GameApi::SF | fetcher, | ||
| int | x, | ||
| int | y, | ||
| int | numchars ) |

| EXPORT GameApi::ARR GameApi::FontApi::FI_sprite_atlas | ( | EveryApi & | ev, |
| FI | font, | ||
| std::string | chars, | ||
| int | sx, | ||
| int | sy, | ||
| int | y_delta ) |

| EXPORT GameApi::ARR GameApi::FontApi::FI_sprite_atlas_persistent_cache | ( | EveryApi & | ev, |
| FtA | atlas, | ||
| BM | atlas_bm, | ||
| std::string | atlas_filename, | ||
| std::string | atlas_bm_filename ) |

| GameApi::SF GameApi::FontApi::float_to_string_fetcher | ( | FF | fetcher | ) |

| EXPORT GameApi::BM GameApi::FontApi::font_atlas | ( | EveryApi & | ev, |
| Ft | font, | ||
| FtA | atlas, | ||
| float | sx, | ||
| float | sy ) |

| EXPORT GameApi::BM GameApi::FontApi::font_atlas_engine2 | ( | EveryApi & | ev, |
| FI | font, | ||
| FtA | atlas, | ||
| float | sx, | ||
| float | sy ) |

| EXPORT GameApi::FtA GameApi::FontApi::font_atlas_info | ( | EveryApi & | ev, |
| Ft | font, | ||
| std::string | chars, | ||
| float | sx, | ||
| float | sy, | ||
| int | y_delta ) |

| EXPORT GameApi::FtA GameApi::FontApi::font_atlas_info_engine2 | ( | EveryApi & | ev, |
| FI | font, | ||
| std::string | chars, | ||
| float | sx, | ||
| float | sy, | ||
| int | y_delta ) |

| EXPORT GameApi::BM GameApi::FontApi::font_string | ( | Ft | font, |
| std::string | str, | ||
| int | x_gap ) |

| EXPORT GameApi::ARR GameApi::FontApi::font_string_array | ( | Ft | font, |
| std::string | s, | ||
| int | x_gap ) |

| EXPORT GameApi::ARR GameApi::FontApi::font_string_array2 | ( | FI | font, |
| std::string | s ) |

| EXPORT GameApi::BM GameApi::FontApi::font_string_from_atlas | ( | EveryApi & | ev, |
| FtA | atlas, | ||
| BM | atlas_bm, | ||
| std::string | str, | ||
| int | x_gap ) |

| EXPORT GameApi::P GameApi::FontApi::font_string_from_atlas_opengl_pipeline | ( | EveryApi & | ev, |
| FtA | atlas, | ||
| BM | atlas_bm, | ||
| std::string | str, | ||
| int | x_gap ) |

| GameApi::FF GameApi::FontApi::fps_fetcher | ( | EveryApi & | ev | ) |

| EXPORT GameApi::BM GameApi::FontApi::glyph | ( | GameApi::Ft | font, |
| long | idx ) |



| EXPORT GameApi::LI GameApi::FontApi::glyph_outline | ( | GameApi::Ft | font, |
| long | idx, | ||
| float | sx, | ||
| float | sy ) |

| EXPORT GameApi::PL GameApi::FontApi::glyph_plane | ( | GameApi::Ft | font, |
| long | idx, | ||
| float | sx, | ||
| float | sy, | ||
| float | dx, | ||
| float | dy ) |

| GameApi::IF GameApi::FontApi::hmd_request_presenting | ( | IF | i | ) |
| GameApi::IF GameApi::FontApi::hmd_state_fetcher | ( | ) |

| GameApi::SF GameApi::FontApi::int_to_string_fetcher | ( | IF | fetcher | ) |
| GameApi::IF GameApi::FontApi::key_move_2_area_fetcher | ( | float | start_x, |
| float | end_x, | ||
| float | start_z, | ||
| float | end_z ) |

| EXPORT GameApi::IF GameApi::FontApi::keypress_int_fetcher | ( | int | key, |
| int | key_down_value, | ||
| int | key_up_value ) |

| EXPORT GameApi::BM GameApi::FontApi::large_string_from_atlas | ( | EveryApi & | ev, |
| FtA | atlas, | ||
| BM | atlas_bm, | ||
| std::string | url, | ||
| int | x_gap, | ||
| int | empty_line_height, | ||
| int | baseline_separation ) |

| EXPORT GameApi::FtA GameApi::FontApi::load_atlas | ( | std::string | filename | ) |

| EXPORT GameApi::FtA GameApi::FontApi::load_atlas_from_string | ( | std::string | buf | ) |
| GameApi::FI GameApi::FontApi::load_font | ( | std::string | ttf_filename, |
| int | sx, | ||
| int | sy ) |

| GameApi::FI GameApi::FontApi::load_font_dump | ( | std::string | url | ) |

| EXPORT GameApi::ML GameApi::FontApi::ml_chooser | ( | std::vector< ML > | vec, |
| IF | fetcher ) |

| GameApi::PF GameApi::FontApi::mouse_fetcher | ( | ) |

| GameApi::IF GameApi::FontApi::movement_int_fetcher | ( | int | count, |
| float | x_mult, | ||
| float | y_mult, | ||
| float | z_mult ) |

| EXPORT GameApi::Ft GameApi::FontApi::newfont | ( | std::string | filename, |
| int | sx, | ||
| int | sy ) |

| GameApi::BM GameApi::FontApi::outline_bm | ( | FI | font, |
| std::string | glyph ) |

| GameApi::BM GameApi::FontApi::outline_string | ( | EveryApi & | ev, |
| FI | font, | ||
| std::string | str ) |

| GameApi::PF GameApi::FontApi::point_fetcher_constant | ( | float | x, |
| float | y, | ||
| float | z ) |

| GameApi::PF GameApi::FontApi::point_fetcher_part | ( | PF | point_fetcher, |
| int | component, | ||
| FF | float_fetcher ) |

| GameApi::IF GameApi::FontApi::quake_area_fetcher | ( | float | start_x, |
| float | end_x, | ||
| float | start_z, | ||
| float | end_z ) |

| GameApi::IF GameApi::FontApi::ready_fetcher | ( | P | p | ) |
| GameApi::BM GameApi::FontApi::render_glyph | ( | GI | glyph | ) |
| EXPORT GameApi::IF GameApi::FontApi::repeat_int_fetcher | ( | IF | fetcher, |
| float | duration ) |


| GameApi::ML GameApi::FontApi::save_font_dump | ( | FI | font, |
| std::string | chars, | ||
| std::string | filename ) |

| GameApi::IF GameApi::FontApi::score_fetcher | ( | EveryApi & | ev | ) |
| GameApi::SF GameApi::FontApi::score_string_fetcher | ( | std::string | id, |
| std::string | label, | ||
| int | numdigits ) |

| GameApi::FF GameApi::FontApi::span_key_fetcher | ( | float | start_x, |
| float | end_x, | ||
| float | speed_x, | ||
| int | down_key, | ||
| int | up_key ) |

| GameApi::BM GameApi::FontApi::string_display_to_bitmap | ( | SD | sd, |
| int | def ) |

| GameApi::IF GameApi::FontApi::time_fetcher | ( | EveryApi & | ev, |
| float | start_time ) |
| GameApi::FF GameApi::FontApi::time_fetcher2 | ( | EveryApi & | ev | ) |

| GameApi::FF GameApi::FontApi::time_range_fetcher | ( | float | start_time, |
| float | end_time, | ||
| float | before_start, | ||
| float | start_value, | ||
| float | end_value, | ||
| float | after_end, | ||
| float | repeat ) |

| GameApi::FF GameApi::FontApi::time_range_fetcher_key | ( | int | key, |
| float | start_time, | ||
| float | end_time, | ||
| float | before_start, | ||
| float | start_value, | ||
| float | end_value, | ||
| float | after_end, | ||
| float | repeat ) |

| GameApi::FF GameApi::FontApi::time_range_fetcher_state | ( | int | state, |
| IF | states, | ||
| float | start_time, | ||
| float | end_time, | ||
| float | before_start, | ||
| float | start_value, | ||
| float | end_value, | ||
| float | after_end, | ||
| float | repeat ) |
| GameApi::FF GameApi::FontApi::time_range_fetcher_state_key | ( | int | state, |
| int | key, | ||
| IF | if_state, | ||
| float | start_time, | ||
| float | end_time, | ||
| float | before_start, | ||
| float | start_value, | ||
| float | end_value, | ||
| float | after_end, | ||
| float | repeat ) |
| EXPORT GameApi::SF GameApi::FontApi::time_string_fetcher | ( | GameApi::EveryApi & | ev | ) |

| EXPORT GameApi::IF GameApi::FontApi::timed_int_fetcher | ( | EveryApi & | ev, |
| int | start, | ||
| int | end, | ||
| float | start_time, | ||
| float | end_time ) |

| GameApi::IF GameApi::FontApi::toggle_button_fetcher | ( | float | start_x, |
| float | end_x, | ||
| float | start_y, | ||
| float | end_y ) |

| GameApi::IF GameApi::FontApi::x_comp | ( | PF | point_fetcher, |
| float | start_x, | ||
| float | end_x, | ||
| int | num_steps ) |

| GameApi::IF GameApi::FontApi::y_comp | ( | PF | point_fetcher, |
| float | start_y, | ||
| float | end_y, | ||
| int | num_steps ) |

| GameApi::IF GameApi::FontApi::z_comp | ( | PF | point_fetcher, |
| float | start_z, | ||
| float | end_z, | ||
| int | num_steps ) |
