GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi_dep_env.cc File Reference
#include "GameApi_h.hh"
#include <stdio.h>
#include <atomic>
#include <thread>
#include <chrono>
#include "Tasks.hh"
#include "GameApi_low.hh"
#include "GameApi_dep_env_delmap.hh"
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for GameApi_dep_env.cc:

Classes

struct  del_map
class  ASyncDataFetcher
struct  ASyncJoinProcessData2
struct  ASyncJoinProcessData
class  task_implementation
struct  DeleterItem
struct  ASyncCallback
struct  ASyncCallback2
struct  CallbackDel
struct  ProcessData
struct  LoadData
struct  LoadUrlsData
struct  ProgressI
class  LoadUrlStream
class  LoadStream2
struct  load_url_deleter
struct  TaskData
class  PathImplForward
class  PathImplDefault
class  PathImpl

Macros

#define idb_disabled   1

Functions

std::string replace_deploy_url (std::string home)
FILE * my_popen (const char *cmd, const char *c)
std::string GetContentInstallDir (bool b)
std::string deploy_replace_string (std::string val, std::string repl, std::string subst)
std::string convert_spaces_to_url_encoding (std::string url)
IMPORT std::string striphomepage (std::string url)
IMPORT std::string stripprefix (std::string s)
IMPORT void InstallProgress (int num, std::string label, int max)
IMPORT void ProgressBar (int num, int val, int max, std::string label)
int get_process_script_max ()
void * task_queue_consumer (void *data)
IMPORT void tasks_init ()
IMPORT void tasks_add (int id, void *(*fptr)(void *), void *data)
IMPORT void tasks_join_property (bool(*fptr)(void *), void *data)
IMPORT void tasks_join (int id)
EXPORT void tasks_done_queue_clear ()
void create_m_mutex ()
void destroy_m_mutex ()
void m_mutex_lock ()
void m_mutex_unlock ()
void print_tasks_done ()
void print_tasks_in_execute ()
void print_tasks_queue ()
void print_task_m_ids ()
bool tasks_m_check_async_ongoing (int id)
bool check_multiple_empty ()
void stop_multiple_async_joins ()
bool async_join_internal (ASyncJoinProcessData2 *dt, int id)
void * multiple_async_joins (void *data)
void * async_join_process (void *data)
int count_tasks_with_id (int id, std::vector< task_data > *data)
IMPORT void tasks_async_join_m (int id, void(*fptr)(void *), void *data)
IMPORT void tasks_async_join (int id, void(*fptr)(void *), void *data)
void timeout_getevent ()
int wait_with_timeout (pthread_cond_t *cond, pthread_mutex_t *mutex, int timeout_ms)
long long get_current_size ()
long long get_total_size ()
bool task_compare (const task_data &a1, const task_data &a2)
bool task_compare_2 (const task_data &a1, const task_data &a2)
std::string get_html_directory ()
IMPORT const char * get_html_directory2 ()
long long load_size_from_url (GameApi::Env &e, std::string url)
void confirm_texture_usage (GameApi::Env &e, GameApi::P p)
void confirm_texture_usage (FaceCollection *coll)
void confirm_texture_usage (VertexArraySet *set)
void clear_texture_confirms ()
bool is_texture_usage_confirmed (const FaceCollection *p)
bool is_texture_usage_confirmed (VertexArraySet *set)
std::string extract_server (std::string url)
bool is_urls_from_same_server (std::string url, std::string url2)
void print_dependencies (EnvImpl &impl, int num)
EXPORT int register_cache_deleter (void(*fptr)(void *), void *data)
EXPORT void unregister_cache_deleter (int id)
IMPORT void clear_all_caches ()
std::string remove_load (std::string s)
std::vector< unsigned char, GameApiAllocator< unsigned char > > * load_from_url (GameApi::Env &e, std::string url, bool nosize, int progress_num)
void delmap_cache_deleter (void *)
void add_async_cb (std::string url, ASyncCallback *cb)
ASyncCallback * rem_async_cb (std::string url)
void onprogress_async_cb (unsigned int tmp, void *, int, int)
void onerror_async_cb (unsigned int tmp, void *arg, int, const char *str)
void dummy_cb (void *)
GameApi::ASyncVec * get_fetcher (const std::vector< unsigned char, GameApiAllocator< unsigned char > > *buffer)
void onload_async_cb (unsigned int tmp, void *arg, const std::vector< unsigned char, GameApiAllocator< unsigned char > > *buffer)
void * process2 (void *ptr)
IMPORT void pthread_system (std::string str)
void * process (void *ptr)
void idb_onload_async_cb (void *ptr, void *data, int datasize)
void idb_onerror_async_cb (void *ptr)
void idb_exists (void *arg, int exists)
void idb_error (void *arg)
int CalcUrlIndex (std::string url)
int find_str (std::string s, std::string f)
std::string remove_dirs (std::string url)
void * load_urls_task (void *d)
pthread_mutex_t * get_load_mutex ()
GameApi::ASyncVec * g_convert (std::vector< unsigned char, GameApiAllocator< unsigned char > > *vec)
void SetTicks (int num, int ticks)
IMPORT void ClearProgress ()
IMPORT long long FindProgressVal ()
long long FindProgressMax ()
IMPORT void FinishProgress ()
void SetupProgress (int num, int count)
IMPORT bool file_exists (std::string filename)
std::string upgrade_to_https (std::string url)
std::string GetInstallDir2 (bool pathfix)
std::string take_prefix (std::string cd, std::string path)
std::string toLower (std::string s)
LoadStream * load_from_vector (std::vector< unsigned char, GameApiAllocator< unsigned char > > vec)
LoadStream * load_from_url_stream (GameApi::Env &env, std::string url)
std::vector< unsigned char > convert_to_hexdump (std::vector< unsigned char > s)
std::string add_boundaries (std::string s)
void send_grab_to_server (std::vector< unsigned char > data, int id, int num)
void remove_spaces (std::string &s)
IMPORT void send_post_request (std::string url, std::string headers, std::string data)
void save_download (GameApi::Env &env, std::string filename, const std::vector< unsigned char > *vec)
void * async_process (void *ptr)
void start_task (int task, int pos)
bool task_finished (int task, int pos)
GameApi::PAT convert_path (GameApi::Env &e, GameApi::PAT old, const PathHandler::PathConfig &pc)

Variables

IMPORT GameApi::PAT gameapi_temp_dir
bool g_disable_polygons =false
bool g_filter_execute = false
int g_progress_script_num =-1
int async_pending_count = 0
IMPORT std::string g_mod_path
del_map g_del_map_impl
del_map_interface & g_del_map = g_del_map_impl
bool g_del_map_deleter_installed =false
int g_last_loaded_script =-1
IMPORT double g_dpr =1.0
std::vector< const char * > g_urls
std::vector< std::string > g_error_urls
IMPORT std::string g_window_href
IMPORT std::string gameapi_homepageurl
int g_pthread_count
int g_async_pending_count_failures =0
int g_logo_status
task_interface & g_tasks = g_tasks_implementation
pthread_mutex_t * g_queue_mutex
std::vector< task_data > * g_queue_tasks_done =0
std::vector< task_data > * g_tasks_in_execute =0
std::vector< task_data > * g_queue =0
std::vector< int > g_async_join_m_ids
std::vector< ASyncJoinProcessData2 * > g_async_join_m_data
pthread_mutex_t * g_m_mutex = 0
bool g_stop_multiple =false
bool g_m_process_active =false
GameApi::EveryApi * g_everyapi
int g_disable_draws
bool disable_opengl_from_get_event =false
IMPORT std::vector< std::string > g_prog_labels
IMPORT GameApi::EveryApi * g_everyapi2 =0
IMPORT volatile GameApi::W g_progress_dialog
IMPORT GameApi::GuiApi * g_everyapi_gui =0
IMPORT GameApi::FtA g_atlas
IMPORT GameApi::BM g_atlas_bm
IMPORT bool g_progress_callback_set =false
IMPORT void(* g_progress_callback )()
IMPORT void(* update_progress_dialog_cb )(volatile GameApi::W &w, int, int, GameApi::FtA, GameApi::BM, std::vector< std::string >, int val, int max, int process)
pthread_t g_main_thread_id
task_implementation g_tasks_implementation
IMPORT const char * g_html_dir
std::vector< FaceCollection * > g_confirm
std::vector< VertexArraySet * > g_confirm2
IMPORT std::string g_gpu_vendor
GameApi::Env * Global_latest_env = 0
std::vector< DeleterItem > g_cache_deleter
std::vector< ASyncCallback2 > load_url_callbacks
IMPORT bool g_progress_lock_assets =false
CallbackDel cb_del
bool g_progress_already_done = false
std::map< int, long long > g_current_size
std::map< int, long long > g_total_size
std::vector< std::string > g_currently_loading
std::vector< const unsigned char * > g_content
std::vector< const unsigned char * > g_content_end
int g_pending_loads =0
std::vector< LoadUrlsData * > g_pending_loads_vec
IMPORT std::string g_original_title
IMPORT Low_SDL_Window * sdl_window
int g_last_tick =0
bool g_has_title =false
std::vector< ProgressI > progress_max
std::vector< ProgressI > progress_val
std::vector< std::string > progress_label
std::vector< int > g_setup
std::vector< int > g_setup_count
int progress_remove_list [] = { 1, 434, 555 }
float progress_val_mult [] = { 0.1, 0.3, 0.5, 0.8, 1.0 }
int g_val2
int g_max2
int g_async_load_count = 0
bool g_progress_bar_show_logo =false
void(* g_progress_bar_logo_cb )(void *)
void * g_progress_bar_logo_cb_data =0
int g_progress_bar_config
std::string g_msg_string
load_url_deleter load_from_url_del
std::vector< std::string > g_download_bar_filename
std::vector< int > g_download_bar_index
std::vector< float > g_download_bar_progress
std::vector< bool > g_download_bar_ready
std::vector< ASyncTask * > tasks
std::vector< int > task_location
std::vector< TaskData * > task_data
std::vector< int > index_map
std::vector< Low_SDL_GLContext > context_map
std::vector< bool > valid_context
PathHandler g_path_handler_impl
EXPORT PathHandler * g_path_handler = &g_path_handler_impl

Macro Definition Documentation

◆ idb_disabled

#define idb_disabled   1

Function Documentation

◆ add_async_cb()

void add_async_cb ( std::string url,
ASyncCallback * cb )
Here is the caller graph for this function:

◆ add_boundaries()

std::string add_boundaries ( std::string s)

◆ async_join_internal()

bool async_join_internal ( ASyncJoinProcessData2 * dt,
int id )
Here is the caller graph for this function:

◆ async_join_process()

void * async_join_process ( void * data)
Here is the caller graph for this function:

◆ async_process()

void * async_process ( void * ptr)

◆ CalcUrlIndex()

int CalcUrlIndex ( std::string url)
Here is the caller graph for this function:

◆ check_multiple_empty()

bool check_multiple_empty ( )
Here is the caller graph for this function:

◆ clear_all_caches()

IMPORT void clear_all_caches ( )
Here is the caller graph for this function:

◆ clear_texture_confirms()

void clear_texture_confirms ( )
Here is the caller graph for this function:

◆ ClearProgress()

IMPORT void ClearProgress ( )
Here is the caller graph for this function:

◆ confirm_texture_usage() [1/3]

void confirm_texture_usage ( FaceCollection * coll)

◆ confirm_texture_usage() [2/3]

void confirm_texture_usage ( GameApi::Env & e,
GameApi::P p )

◆ confirm_texture_usage() [3/3]

void confirm_texture_usage ( VertexArraySet * set)

◆ convert_path()

GameApi::PAT convert_path ( GameApi::Env & e,
GameApi::PAT old,
const PathHandler::PathConfig & pc )

◆ convert_spaces_to_url_encoding()

std::string convert_spaces_to_url_encoding ( std::string url)
Here is the caller graph for this function:

◆ convert_to_hexdump()

std::vector< unsigned char > convert_to_hexdump ( std::vector< unsigned char > s)
Here is the caller graph for this function:

◆ count_tasks_with_id()

int count_tasks_with_id ( int id,
std::vector< task_data > * data )
Here is the caller graph for this function:

◆ create_m_mutex()

void create_m_mutex ( )
Here is the caller graph for this function:

◆ delmap_cache_deleter()

void delmap_cache_deleter ( void * )
Here is the caller graph for this function:

◆ deploy_replace_string()

std::string deploy_replace_string ( std::string val,
std::string repl,
std::string subst )
Here is the caller graph for this function:

◆ destroy_m_mutex()

void destroy_m_mutex ( )

◆ dummy_cb()

void dummy_cb ( void * )
Here is the caller graph for this function:

◆ extract_server()

std::string extract_server ( std::string url)
Here is the caller graph for this function:

◆ file_exists()

IMPORT bool file_exists ( std::string filename)
Here is the caller graph for this function:

◆ find_str()

int find_str ( std::string s,
std::string f )

◆ FindProgressMax()

long long FindProgressMax ( )
Here is the caller graph for this function:

◆ FindProgressVal()

IMPORT long long FindProgressVal ( )
Here is the caller graph for this function:

◆ FinishProgress()

IMPORT void FinishProgress ( )
Here is the caller graph for this function:

◆ g_convert()

GameApi::ASyncVec * g_convert ( std::vector< unsigned char, GameApiAllocator< unsigned char > > * vec)
Here is the caller graph for this function:

◆ get_current_size()

long long get_current_size ( )
Here is the caller graph for this function:

◆ get_fetcher()

GameApi::ASyncVec * get_fetcher ( const std::vector< unsigned char, GameApiAllocator< unsigned char > > * buffer)
Here is the caller graph for this function:

◆ get_html_directory()

std::string get_html_directory ( )

◆ get_html_directory2()

IMPORT const char * get_html_directory2 ( )
Here is the caller graph for this function:

◆ get_load_mutex()

pthread_mutex_t * get_load_mutex ( )
Here is the caller graph for this function:

◆ get_process_script_max()

int get_process_script_max ( )
Here is the caller graph for this function:

◆ get_total_size()

long long get_total_size ( )
Here is the caller graph for this function:

◆ GetContentInstallDir()

std::string GetContentInstallDir ( bool b)

◆ GetInstallDir2()

std::string GetInstallDir2 ( bool pathfix)
Here is the caller graph for this function:

◆ idb_error()

void idb_error ( void * arg)

◆ idb_exists()

void idb_exists ( void * arg,
int exists )

◆ idb_onerror_async_cb()

void idb_onerror_async_cb ( void * ptr)

◆ idb_onload_async_cb()

void idb_onload_async_cb ( void * ptr,
void * data,
int datasize )

◆ InstallProgress()

IMPORT void InstallProgress ( int num,
std::string label,
int max = 15 )
Here is the caller graph for this function:

◆ is_texture_usage_confirmed() [1/2]

bool is_texture_usage_confirmed ( const FaceCollection * p)
Here is the caller graph for this function:

◆ is_texture_usage_confirmed() [2/2]

bool is_texture_usage_confirmed ( VertexArraySet * set)

◆ is_urls_from_same_server()

bool is_urls_from_same_server ( std::string url,
std::string url2 )
Here is the caller graph for this function:

◆ load_from_url()

std::vector< unsigned char, GameApiAllocator< unsigned char > > * load_from_url ( GameApi::Env & e,
std::string url,
bool nosize,
int progress_num )

◆ load_from_url_stream()

LoadStream * load_from_url_stream ( GameApi::Env & env,
std::string url )
Here is the caller graph for this function:

◆ load_from_vector()

LoadStream * load_from_vector ( std::vector< unsigned char, GameApiAllocator< unsigned char > > vec)
Here is the caller graph for this function:

◆ load_size_from_url()

long long load_size_from_url ( GameApi::Env & e,
std::string url )
Here is the caller graph for this function:

◆ load_urls_task()

void * load_urls_task ( void * d)
Here is the caller graph for this function:

◆ m_mutex_lock()

void m_mutex_lock ( )
Here is the caller graph for this function:

◆ m_mutex_unlock()

void m_mutex_unlock ( )
Here is the caller graph for this function:

◆ multiple_async_joins()

void * multiple_async_joins ( void * data)
Here is the caller graph for this function:

◆ my_popen()

FILE * my_popen ( const char * cmd,
const char * c )
Here is the caller graph for this function:

◆ onerror_async_cb()

void onerror_async_cb ( unsigned int tmp,
void * arg,
int ,
const char * str )
Here is the caller graph for this function:

◆ onload_async_cb()

void onload_async_cb ( unsigned int tmp,
void * arg,
const std::vector< unsigned char, GameApiAllocator< unsigned char > > * buffer )

◆ onprogress_async_cb()

void onprogress_async_cb ( unsigned int tmp,
void * ,
int ,
int  )

◆ print_dependencies()

void print_dependencies ( EnvImpl & impl,
int num )
Here is the caller graph for this function:

◆ print_task_m_ids()

void print_task_m_ids ( )

◆ print_tasks_done()

void print_tasks_done ( )

◆ print_tasks_in_execute()

void print_tasks_in_execute ( )

◆ print_tasks_queue()

void print_tasks_queue ( )

◆ process()

void * process ( void * ptr)
Here is the caller graph for this function:

◆ process2()

void * process2 ( void * ptr)
Here is the caller graph for this function:

◆ ProgressBar()

IMPORT void ProgressBar ( int num,
int val,
int max,
std::string label )

std::cout << "ProgressBar: '" << num << " " << label << " " << val << " " << max << "'" << std::endl;

Here is the caller graph for this function:

◆ pthread_system()

IMPORT void pthread_system ( std::string str)
Here is the caller graph for this function:

◆ register_cache_deleter()

EXPORT int register_cache_deleter ( void(* fptr )(void *),
void * data )
Here is the caller graph for this function:

◆ rem_async_cb()

ASyncCallback * rem_async_cb ( std::string url)
Here is the caller graph for this function:

◆ remove_dirs()

std::string remove_dirs ( std::string url)
Here is the caller graph for this function:

◆ remove_load()

std::string remove_load ( std::string s)
Here is the caller graph for this function:

◆ remove_spaces()

void remove_spaces ( std::string & s)
Here is the caller graph for this function:

◆ replace_deploy_url()

std::string replace_deploy_url ( std::string home)

◆ save_download()

void save_download ( GameApi::Env & env,
std::string filename,
const std::vector< unsigned char > * vec )
Here is the caller graph for this function:

◆ send_grab_to_server()

void send_grab_to_server ( std::vector< unsigned char > data,
int id,
int num )
Here is the caller graph for this function:

◆ send_post_request()

IMPORT void send_post_request ( std::string url,
std::string headers,
std::string data )
Here is the caller graph for this function:

◆ SetTicks()

void SetTicks ( int num,
int ticks )
Here is the caller graph for this function:

◆ SetupProgress()

void SetupProgress ( int num,
int count )
Here is the caller graph for this function:

◆ start_task()

void start_task ( int task,
int pos )
Here is the caller graph for this function:

◆ stop_multiple_async_joins()

void stop_multiple_async_joins ( )

◆ striphomepage()

std::string striphomepage ( std::string url)
Here is the caller graph for this function:

◆ stripprefix()

IMPORT std::string stripprefix ( std::string s)
Here is the caller graph for this function:

◆ take_prefix()

std::string take_prefix ( std::string cd,
std::string path )
Here is the caller graph for this function:

◆ task_compare()

bool task_compare ( const task_data & a1,
const task_data & a2 )
Here is the caller graph for this function:

◆ task_compare_2()

bool task_compare_2 ( const task_data & a1,
const task_data & a2 )
Here is the caller graph for this function:

◆ task_finished()

bool task_finished ( int task,
int pos )
Here is the caller graph for this function:

◆ task_queue_consumer()

void * task_queue_consumer ( void * data)
Here is the caller graph for this function:

◆ tasks_add()

IMPORT void tasks_add ( int id,
void *(* fptr )(void *),
void * data )
Here is the caller graph for this function:

◆ tasks_async_join()

IMPORT void tasks_async_join ( int id,
void(* fptr )(void *),
void * data )

◆ tasks_async_join_m()

IMPORT void tasks_async_join_m ( int id,
void(* fptr )(void *),
void * data )
Here is the caller graph for this function:

◆ tasks_done_queue_clear()

EXPORT void tasks_done_queue_clear ( )

◆ tasks_init()

IMPORT void tasks_init ( )
Here is the caller graph for this function:

◆ tasks_join()

IMPORT void tasks_join ( int id)
Here is the caller graph for this function:

◆ tasks_join_property()

IMPORT void tasks_join_property ( bool(* fptr )(void *),
void * data )

◆ tasks_m_check_async_ongoing()

bool tasks_m_check_async_ongoing ( int id)
Here is the caller graph for this function:

◆ timeout_getevent()

void timeout_getevent ( )
Here is the caller graph for this function:

◆ toLower()

std::string toLower ( std::string s)
Here is the caller graph for this function:

◆ unregister_cache_deleter()

EXPORT void unregister_cache_deleter ( int id)

◆ upgrade_to_https()

std::string upgrade_to_https ( std::string url)
Here is the caller graph for this function:

◆ wait_with_timeout()

int wait_with_timeout ( pthread_cond_t * cond,
pthread_mutex_t * mutex,
int timeout_ms )
Here is the caller graph for this function:

Variable Documentation

◆ async_pending_count

IMPORT int async_pending_count = 0

◆ cb_del

CallbackDel cb_del

◆ context_map

std::vector<Low_SDL_GLContext> context_map

◆ disable_opengl_from_get_event

bool disable_opengl_from_get_event =false

◆ g_async_join_m_data

std::vector<ASyncJoinProcessData2*> g_async_join_m_data

◆ g_async_join_m_ids

std::vector<int> g_async_join_m_ids

◆ g_async_load_count

int g_async_load_count = 0

◆ g_async_pending_count_failures

int g_async_pending_count_failures =0

◆ g_atlas

◆ g_atlas_bm

IMPORT GameApi::BM g_atlas_bm

◆ g_cache_deleter

std::vector<DeleterItem> g_cache_deleter

◆ g_confirm

std::vector<FaceCollection*> g_confirm

◆ g_confirm2

std::vector<VertexArraySet*> g_confirm2

◆ g_content

std::vector<const unsigned char*> g_content

◆ g_content_end

std::vector<const unsigned char*> g_content_end

◆ g_current_size

std::map<int,long long> g_current_size

◆ g_currently_loading

std::vector<std::string> g_currently_loading

◆ g_del_map

◆ g_del_map_deleter_installed

bool g_del_map_deleter_installed =false

◆ g_del_map_impl

del_map g_del_map_impl

◆ g_disable_draws

int g_disable_draws
extern

◆ g_disable_polygons

bool g_disable_polygons =false

◆ g_download_bar_filename

std::vector<std::string> g_download_bar_filename

◆ g_download_bar_index

std::vector<int> g_download_bar_index

◆ g_download_bar_progress

std::vector<float> g_download_bar_progress

◆ g_download_bar_ready

std::vector<bool> g_download_bar_ready

◆ g_dpr

IMPORT double g_dpr =1.0

◆ g_error_urls

std::vector<std::string> g_error_urls

◆ g_everyapi

GameApi::EveryApi* g_everyapi
extern

◆ g_everyapi2

IMPORT GameApi::EveryApi* g_everyapi2 =0

◆ g_everyapi_gui

IMPORT GameApi::GuiApi* g_everyapi_gui =0

◆ g_filter_execute

bool g_filter_execute = false

◆ g_gpu_vendor

IMPORT std::string g_gpu_vendor

◆ g_has_title

bool g_has_title =false

◆ g_html_dir

IMPORT const char* g_html_dir

◆ g_last_loaded_script

int g_last_loaded_script =-1

◆ g_last_tick

int g_last_tick =0

◆ g_logo_status

int g_logo_status
extern

◆ g_m_mutex

pthread_mutex_t* g_m_mutex = 0

◆ g_m_process_active

bool g_m_process_active =false

◆ g_main_thread_id

IMPORT pthread_t g_main_thread_id

◆ g_max2

int g_max2

◆ g_mod_path

IMPORT std::string g_mod_path

◆ g_msg_string

std::string g_msg_string
extern

◆ g_original_title

IMPORT std::string g_original_title

◆ g_path_handler

◆ g_path_handler_impl

PathHandler g_path_handler_impl

◆ g_pending_loads

int g_pending_loads =0

◆ g_pending_loads_vec

std::vector<LoadUrlsData*> g_pending_loads_vec

◆ g_prog_labels

IMPORT std::vector<std::string> g_prog_labels

◆ g_progress_already_done

bool g_progress_already_done = false

◆ g_progress_bar_config

int g_progress_bar_config
extern

◆ g_progress_bar_logo_cb

void(* g_progress_bar_logo_cb) (void *) ( void * )

◆ g_progress_bar_logo_cb_data

void* g_progress_bar_logo_cb_data =0

◆ g_progress_bar_show_logo

bool g_progress_bar_show_logo =false

◆ g_progress_callback

IMPORT void(* g_progress_callback) () ( )

◆ g_progress_callback_set

IMPORT bool g_progress_callback_set =false

◆ g_progress_dialog

IMPORT volatile GameApi::W g_progress_dialog

◆ g_progress_lock_assets

IMPORT bool g_progress_lock_assets =false

◆ g_progress_script_num

int g_progress_script_num =-1

◆ g_pthread_count

int g_pthread_count
extern

◆ g_queue

std::vector<task_data>* g_queue =0

◆ g_queue_mutex

pthread_mutex_t* g_queue_mutex

◆ g_queue_tasks_done

std::vector<task_data>* g_queue_tasks_done =0

◆ g_setup

std::vector<int> g_setup

◆ g_setup_count

std::vector<int> g_setup_count

◆ g_stop_multiple

bool g_stop_multiple =false

◆ g_tasks

◆ g_tasks_implementation

task_implementation g_tasks_implementation

◆ g_tasks_in_execute

std::vector<task_data>* g_tasks_in_execute =0

◆ g_total_size

std::map<int,long long> g_total_size

◆ g_urls

std::vector<const char*> g_urls

◆ g_val2

int g_val2

◆ g_window_href

std::string g_window_href

◆ gameapi_homepageurl

std::string gameapi_homepageurl
extern

◆ gameapi_temp_dir

IMPORT GameApi::PAT gameapi_temp_dir
extern

◆ Global_latest_env

GameApi::Env* Global_latest_env = 0

◆ index_map

std::vector<int> index_map

◆ load_from_url_del

load_url_deleter load_from_url_del

◆ load_url_callbacks

std::vector<ASyncCallback2> load_url_callbacks

◆ progress_label

std::vector<std::string> progress_label

◆ progress_max

std::vector<ProgressI > progress_max

◆ progress_remove_list

int progress_remove_list[] = { 1, 434, 555 }

◆ progress_val

std::vector<ProgressI > progress_val

◆ progress_val_mult

float progress_val_mult[] = { 0.1, 0.3, 0.5, 0.8, 1.0 }

◆ sdl_window

IMPORT Low_SDL_Window* sdl_window

◆ task_data

std::vector<TaskData*> task_data

◆ task_location

std::vector<int> task_location

◆ tasks

std::vector<ASyncTask*> tasks

◆ update_progress_dialog_cb

IMPORT void(* update_progress_dialog_cb) (volatile GameApi::W &w, int, int, GameApi::FtA, GameApi::BM, std::vector< std::string >, int val, int max, int process) ( volatile GameApi::W & w,
int ,
int ,
GameApi::FtA ,
GameApi::BM ,
std::vector< std::string > ,
int val,
int max,
int process )

◆ valid_context

std::vector<bool> valid_context