mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Add avatar image loading from global ...
... settings directory. Also adds some additional related debug logging, and a utility function for converting between std::vector<image_pixel_t> used by Local_Storage::load_image(), and std::string used by Settings::add_image().
This commit is contained in:
parent
0eaba52f76
commit
d493e30b98
4 changed files with 58 additions and 1 deletions
|
|
@ -41,6 +41,8 @@ struct image_t
|
|||
std::vector<image_pixel_t> pix_map;
|
||||
};
|
||||
|
||||
std::string convert_vector_image_pixel_t_to_std_string(std::vector<image_pixel_t> & in);
|
||||
|
||||
class Local_Storage {
|
||||
public:
|
||||
static constexpr auto inventory_storage_folder = "inventory";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue