GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::Env Struct Reference

#include <GameApi.hh>

Public Member Functions

IMPORT Env ()
IMPORT void free_memory ()
IMPORT void print_dependencies (int num)
IMPORT std::vector< int > store_counts ()
IMPORT void free_to_counts (std::vector< int > vec)
IMPORT void free_temp_memory ()
IMPORT void async_load_url (std::string url, std::string homepage, bool nosize=false)
IMPORT void async_load_all_urls (std::vector< std::string > urls, std::string homepage)
IMPORT void async_load_callback (std::string url, void(*fptr)(void *), void *data)
IMPORT int count_async_callbacks_still_pending ()
IMPORT void print_callbacks_pending ()
IMPORT void async_rem_callback (std::string url)
IMPORT ASyncVec * get_loaded_async_url (std::string url)
IMPORT int add_to_download_bar (std::string filename)
IMPORT int download_index_mapping (int index)
IMPORT int download_bar_count () const
IMPORT void set_download_data (int i, const std::vector< unsigned char > &file)
IMPORT void set_download_progress (int i, float percentage)
IMPORT void set_download_ready (int i)
IMPORT std::string get_download_bar_filename (int i) const
IMPORT float get_download_bar_progress (int i) const
IMPORT bool get_download_bar_ready (int i) const
IMPORT void remove_download_bar_item (int i)
IMPORT int start_async (ASyncTask *task)
IMPORT int async_mapping (int index)
IMPORT void remove_async (int i)
IMPORT void async_scheduler ()
IMPORT void store_file (std::string filename, ASyncVec *vec)
IMPORT bool store_file_exists (std::string filename)
IMPORT void load_file (std::string filename, void(*fptr)(void *), void *, bool &success)
IMPORT ASyncVec * load_file_result (std::string filename)
IMPORT void load_file_clean (std::string filename)
IMPORT ~Env ()
IMPORT Env ()
IMPORT void free_memory ()
IMPORT std::vector< int > store_counts ()
IMPORT void free_to_counts (std::vector< int > vec)
IMPORT void free_temp_memory ()
IMPORT void async_load_url (std::string url, std::string homepage)
IMPORT void async_load_callback (std::string url, void(*fptr)(void *), void *data)
IMPORT std::vector< unsigned char > * get_loaded_async_url (std::string url)
IMPORT ~Env ()

Static Public Member Functions

static IMPORT Env * Latest_Env ()
static IMPORT Env * Latest_Env ()

Public Attributes

void * envimpl

Friends

struct EnvImpl

Constructor & Destructor Documentation

◆ Env() [1/2]

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

◆ ~Env() [1/2]

EXPORT GameApi::Env::~Env ( )

◆ Env() [2/2]

IMPORT GameApi::Env::Env ( )

◆ ~Env() [2/2]

IMPORT GameApi::Env::~Env ( )

Member Function Documentation

◆ add_to_download_bar()

EXPORT int GameApi::Env::add_to_download_bar ( std::string filename)

◆ async_load_all_urls()

EXPORT void GameApi::Env::async_load_all_urls ( std::vector< std::string > urls,
std::string homepage )

◆ async_load_callback() [1/2]

EXPORT void GameApi::Env::async_load_callback ( std::string url,
void(* fptr )(void *),
void * data )
Here is the caller graph for this function:

◆ async_load_callback() [2/2]

IMPORT void GameApi::Env::async_load_callback ( std::string url,
void(* fptr )(void *),
void * data )

◆ async_load_url() [1/2]

IMPORT void GameApi::Env::async_load_url ( std::string url,
std::string homepage )

◆ async_load_url() [2/2]

EXPORT void GameApi::Env::async_load_url ( std::string url,
std::string homepage,
bool nosize = false )

◆ async_mapping()

IMPORT int GameApi::Env::async_mapping ( int index)

◆ async_rem_callback()

EXPORT void GameApi::Env::async_rem_callback ( std::string url)

◆ async_scheduler()

EXPORT void GameApi::Env::async_scheduler ( )
Here is the caller graph for this function:

◆ count_async_callbacks_still_pending()

EXPORT int GameApi::Env::count_async_callbacks_still_pending ( )
Here is the caller graph for this function:

◆ download_bar_count()

EXPORT int GameApi::Env::download_bar_count ( ) const

◆ download_index_mapping()

EXPORT int GameApi::Env::download_index_mapping ( int index)

◆ free_memory() [1/2]

EXPORT void GameApi::Env::free_memory ( )

◆ free_memory() [2/2]

IMPORT void GameApi::Env::free_memory ( )

◆ free_temp_memory() [1/2]

EXPORT void GameApi::Env::free_temp_memory ( )

◆ free_temp_memory() [2/2]

IMPORT void GameApi::Env::free_temp_memory ( )

◆ free_to_counts() [1/2]

EXPORT void GameApi::Env::free_to_counts ( std::vector< int > vec)

◆ free_to_counts() [2/2]

IMPORT void GameApi::Env::free_to_counts ( std::vector< int > vec)

◆ get_download_bar_filename()

EXPORT std::string GameApi::Env::get_download_bar_filename ( int i) const

◆ get_download_bar_progress()

EXPORT float GameApi::Env::get_download_bar_progress ( int i) const

◆ get_download_bar_ready()

EXPORT bool GameApi::Env::get_download_bar_ready ( int i) const

◆ get_loaded_async_url() [1/2]

EXPORT GameApi::ASyncVec * GameApi::Env::get_loaded_async_url ( std::string url)
Here is the caller graph for this function:

◆ get_loaded_async_url() [2/2]

IMPORT std::vector< unsigned char > * GameApi::Env::get_loaded_async_url ( std::string url)

◆ Latest_Env() [1/2]

EXPORT GameApi::Env * GameApi::Env::Latest_Env ( )
static
Here is the caller graph for this function:

◆ Latest_Env() [2/2]

IMPORT Env * GameApi::Env::Latest_Env ( )
static

◆ load_file()

void GameApi::Env::load_file ( std::string filename,
void(* fptr )(void *),
void * data,
bool & success )

◆ load_file_clean()

void GameApi::Env::load_file_clean ( std::string filename)

◆ load_file_result()

GameApi::ASyncVec * GameApi::Env::load_file_result ( std::string filename)

◆ print_callbacks_pending()

EXPORT void GameApi::Env::print_callbacks_pending ( )

◆ print_dependencies()

EXPORT void GameApi::Env::print_dependencies ( int num)

◆ remove_async()

IMPORT void GameApi::Env::remove_async ( int i)

◆ remove_download_bar_item()

EXPORT void GameApi::Env::remove_download_bar_item ( int i)

◆ set_download_data()

EXPORT void GameApi::Env::set_download_data ( int i,
const std::vector< unsigned char > & file )

◆ set_download_progress()

EXPORT void GameApi::Env::set_download_progress ( int i,
float percentage )

◆ set_download_ready()

EXPORT void GameApi::Env::set_download_ready ( int i)

◆ start_async()

EXPORT int GameApi::Env::start_async ( ASyncTask * task)

◆ store_counts() [1/2]

EXPORT std::vector< int > GameApi::Env::store_counts ( )

◆ store_counts() [2/2]

IMPORT std::vector< int > GameApi::Env::store_counts ( )

◆ store_file()

void GameApi::Env::store_file ( std::string filename,
ASyncVec * vec )

◆ store_file_exists()

bool GameApi::Env::store_file_exists ( std::string filename)
Here is the caller graph for this function:

◆ EnvImpl

EnvImpl
friend

Member Data Documentation

◆ envimpl

void * GameApi::Env::envimpl

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