mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-14 10:50:13 +01:00
Small code cleanup.
This commit is contained in:
parent
ba25559920
commit
2e1c24dfea
1 changed files with 3 additions and 4 deletions
|
@ -103,10 +103,9 @@ struct Avatar_Numbers add_friend_avatars(CSteamID id)
|
||||||
|
|
||||||
//TODO: get real image data from self/other peers
|
//TODO: get real image data from self/other peers
|
||||||
struct Avatar_Numbers avatar_numbers;
|
struct Avatar_Numbers avatar_numbers;
|
||||||
char zero_array[184 * 184 * 4] = {};
|
std::string small_avatar(32 * 32 * 4, 0);
|
||||||
std::string small_avatar(zero_array, 32 * 32 * 4);
|
std::string medium_avatar(64 * 64 * 4, 0);
|
||||||
std::string medium_avatar(zero_array, 64 * 64 * 4);
|
std::string large_avatar(184 * 184 * 4, 0);
|
||||||
std::string large_avatar(zero_array, 184 * 184 * 4);
|
|
||||||
|
|
||||||
avatar_numbers.smallest = settings->add_image(small_avatar, 32, 32);
|
avatar_numbers.smallest = settings->add_image(small_avatar, 32, 32);
|
||||||
avatar_numbers.medium = settings->add_image(medium_avatar, 64, 64);
|
avatar_numbers.medium = settings->add_image(medium_avatar, 64, 64);
|
||||||
|
|
Loading…
Reference in a new issue