|
GameApi 28
Library used by GameApi Builder tool
|
#include "GameApi.hh"#include "Tasks.hh"#include <sstream>#include <fstream>#include <cmath>#include <pthread.h>
Classes | |
| struct | Envi |
Functions | |
| Low_SDL_Surface * | InitSDL2 (int scr_x, int scr_y, bool vblank, bool antialias, bool resize, bool vr_init) |
| void | splitter_iter2 (void *arg) |
| void | onload (unsigned int, void *, const char *var) |
| void | onerror (unsigned int, void *, int) |
| void | onprogress (unsigned int, void *, int) |
| bool | find_string (std::string s, std::string s2) |
| std::string | hexify5 (std::string s) |
| std::string | strip_spaces (std::string data) |
| std::pair< int, std::string > | mainloop (Env &e2, EveryApi &ev) |
| std::string | decode (std::string s) |
| std::string | insert_enter (std::string s) |
| bool | check_count (std::vector< std::string > cmd_args, int current_arg, int count) |
| void | set_status (int val, int val_max) |
| IMPORT void | initialize_low (int flags) |
| IMPORT std::string | replace_str (std::string s, std::string repl, std::string subst) |
| IMPORT void | ClearProgress () |
| IMPORT const char * | get_html_directory2 () |
| int | main (int argc, char *argv[]) |
Variables | |
| std::vector< std::string > | screenshot_filenames |
| std::vector< float > | screenshot_times |
| std::vector< bool > | screenshot_done |
| std::string | code |
| std::string | homepageurl = "" |
| int | call_count =0 |
| IMPORT bool | g_transparent |
| IMPORT int | g_event_screen_x |
| IMPORT int | g_event_screen_y |
| IMPORT std::string | g_platform |
| IMPORT bool | g_deploy_phase |
| IMPORT std::string | g_window_href |
| IMPORT GameApi::EveryApi * | g_everyapi = 0 |
| IMPORT pthread_t | g_main_thread_id |
| IMPORT Low_SDL_Window * | sdl_window |
| IMPORT int | sprite_screen_width |
| IMPORT int | sprite_screen_height |
| IMPORT std::string | g_store_directory |
| IMPORT const char * | g_html_dir |
| bool check_count | ( | std::vector< std::string > | cmd_args, |
| int | current_arg, | ||
| int | count ) |

| IMPORT void ClearProgress | ( | ) |

| std::string decode | ( | std::string | s | ) |

| bool find_string | ( | std::string | s, |
| std::string | s2 ) |

| IMPORT const char * get_html_directory2 | ( | ) |

| std::string hexify5 | ( | std::string | s | ) |
| IMPORT void initialize_low | ( | int | flags | ) |

| Low_SDL_Surface * InitSDL2 | ( | int | scr_x, |
| int | scr_y, | ||
| bool | vblank, | ||
| bool | antialias, | ||
| bool | resize, | ||
| bool | vr_init ) |

| std::string insert_enter | ( | std::string | s | ) |

| int main | ( | int | argc, |
| char * | argv[] ) |

| void onerror | ( | unsigned int | , |
| void * | , | ||
| int | ) |
| void onload | ( | unsigned int | , |
| void * | , | ||
| const char * | var ) |
| void onprogress | ( | unsigned int | , |
| void * | , | ||
| int | ) |
| IMPORT std::string replace_str | ( | std::string | s, |
| std::string | repl, | ||
| std::string | subst ) |

| void set_status | ( | int | val, |
| int | val_max ) |

| void splitter_iter2 | ( | void * | arg | ) |

| std::string strip_spaces | ( | std::string | data | ) |

| int call_count =0 |
| std::string code |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| std::string homepageurl = "" |
| std::vector<bool> screenshot_done |
| std::vector<std::string> screenshot_filenames |
| std::vector<float> screenshot_times |
|
extern |
|
extern |
|
extern |