LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024 ETMSoftware
|
Functions | |
const char * | lg_img (const char *file_name) |
const char * | lg_snd (const char *file_name) |
const char * | lg_mus (const char *file_name) |
const char * | lg_fnt (const char *file_name) |
const char * | lg_mesh (const char *file_name) |
const char * | lg_assets_file (const char *path, const char *file_name) |
const char * | lg_app_wr_file (const char *file_name) |
=== Data/assets === TODO: complete the doc
const char* lg_img | ( | const char * | file_name | ) |
Image file
const char* lg_snd | ( | const char * | file_name | ) |
Sound file
const char* lg_mus | ( | const char * | file_name | ) |
Music file
const char* lg_fnt | ( | const char * | file_name | ) |
Font file
const char* lg_mesh | ( | const char * | file_name | ) |
Mesh file
const char* lg_assets_file | ( | const char * | path, |
const char * | file_name | ||
) |
Asset file
const char* lg_app_wr_file | ( | const char * | file_name | ) |
File in app writable dir
WARNING: From: https://wiki.libsdl.org/SDL2/SDL_GetPrefPath 'The returned path is guaranteed to end with a path separator'