GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Common3.cc File Reference

Classes

struct  FontPriv
struct  BitmapPriv
struct  AnimPriv
struct  FunctionPriv
class  CombineMaterials
class  SpriteTexture

Functions

void check_vr_compositor_init ()
void TexturePrepare (const Sprite &s, ArrayRender &rend)
void TextureEnable (ArrayRender &rend, int frame, bool enable)
void splitter_iter2 (void *arg)
int find_data (std::string data)
unsigned int swap_color (unsigned int c)
std::string cache_id (std::string filename, int obj_count)
int filesize (std::string filename)
bool invalidate (CacheItem *item, std::string filename, int obj_count)
Sprite * sprite_from_handle2 (GameApi::Env &e, SpritePriv &env, BitmapHandle *handle, int bbm_choose)
void PrepareSpriteToVA (const Sprite &s, VertexArraySet &vas)
Sprite * sprite_from_handle (GameApi::Env &e, SpritePriv &env, BitmapHandle *handle, int bbm_choose)
void RenderVoxel (VolumeObject &orv, int size, float wholesize, HandleValue< std::pair< Vector, unsigned int > > &hv)

Variables

int score =0
int hidden_score =0
bool g_transparent
int g_shows_hundred
int g_event_screen_x =-1
int g_event_screen_y =-1
std::string gameapi_homepageurl
std::vector< int > g_hide_container
int no_draw_count
std::string gameapi_seamless_url
int async_pending_count_previous =0
int async_is_done =0
Splitter * splitter_current =0
std::vector< std::pair< std::string, int > > prepare_cache_data

Function Documentation

◆ cache_id()

std::string cache_id ( std::string filename,
int obj_count )

◆ check_vr_compositor_init()

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

◆ filesize()

int filesize ( std::string filename)
Here is the caller graph for this function:

◆ find_data()

int find_data ( std::string data)

◆ invalidate()

bool invalidate ( CacheItem * item,
std::string filename,
int obj_count )

◆ PrepareSpriteToVA()

void PrepareSpriteToVA ( const Sprite & s,
VertexArraySet & vas )

◆ RenderVoxel()

void RenderVoxel ( VolumeObject & orv,
int size,
float wholesize,
HandleValue< std::pair< Vector, unsigned int > > & hv )

◆ splitter_iter2()

void splitter_iter2 ( void * arg)

◆ sprite_from_handle()

Sprite * sprite_from_handle ( GameApi::Env & e,
SpritePriv & env,
BitmapHandle * handle,
int bbm_choose )
Here is the caller graph for this function:

◆ sprite_from_handle2()

Sprite * sprite_from_handle2 ( GameApi::Env & e,
SpritePriv & env,
BitmapHandle * handle,
int bbm_choose )
Here is the caller graph for this function:

◆ swap_color()

unsigned int swap_color ( unsigned int c)
Here is the caller graph for this function:

◆ TextureEnable()

void TextureEnable ( ArrayRender & rend,
int frame,
bool enable )

◆ TexturePrepare()

void TexturePrepare ( const Sprite & s,
ArrayRender & rend )

Variable Documentation

◆ async_is_done

int async_is_done =0

◆ async_pending_count_previous

int async_pending_count_previous =0

◆ g_event_screen_x

int g_event_screen_x =-1

◆ g_event_screen_y

int g_event_screen_y =-1

◆ g_hide_container

std::vector<int> g_hide_container

◆ g_shows_hundred

int g_shows_hundred

◆ g_transparent

bool g_transparent

◆ gameapi_homepageurl

std::string gameapi_homepageurl

◆ gameapi_seamless_url

std::string gameapi_seamless_url

◆ hidden_score

int hidden_score =0

◆ no_draw_count

int no_draw_count

◆ prepare_cache_data

std::vector<std::pair<std::string, int> > prepare_cache_data

◆ score

int score =0

◆ splitter_current

Splitter* splitter_current =0