14 Commits

Author SHA1 Message Date
redpolline
9f4cc05f2a Fix overlay when avatar images are not configured.
(Otherwise, we'll crash after generating too many images.)
2025-02-12 09:35:26 -05:00
redpolline
bfb56db87d Rate limit Settings::background_monitor. 2025-02-12 09:35:26 -05:00
redpolline
59cb19e56a Clang fixes. 2025-02-12 09:35:26 -05:00
redpolline
816479259b Add Settings::ui_notification_position. 2025-02-12 09:35:25 -05:00
redpolline
5705403157 Check callback registration in NOTIFY_AVATAR_IMAGE.
Make sure overlay callbacks are registered before firing callbacks for
set_profile_image.
2025-02-12 09:35:25 -05:00
redpolline
25d34a65c4 Redo image handling in settings.
Lock the buffers when modifying them.

Notify when callers change a set avatar image.

Create a get function for images.

Allow deletion of previously loaded images, and reuse of their ids.
2025-02-12 09:35:25 -05:00
redpolline
0eaba52f76 Make add_friend_avatars handle local_user avatar
... changes.

Implements STEAM_CALL_RESULT( AvatarImageLoaded_t ).
Adds support for a sending a STEAM_CALL_RESULT( PersonaStateChange_t ) with the k_EPersonaChangeAvatar flag.

Creates a mapping in Settings to hold the avatar image data.

Also adds additional debug logging to indicate which image handle is
returned for each user / image size.
2025-02-12 09:35:23 -05:00
Mr_Goldberg
5e880cd974
Add achievements display to overlay and ability to change some settings. 2022-08-05 02:09:43 -04:00
Mr_Goldberg
58083e0863
Started work on a real avatars implementation.
Fix issue where since the image ids changed for
every get avatar call mudrunner would keep allocating
memory indefinitely.
2019-09-07 09:39:41 -04:00
Mr_Goldberg
f4ab249f36
Add a way to configure which leaderboards are seen by the game. 2019-08-03 18:55:08 -04:00
Nemirtingas
6d22c4989e Modified Sanitize
Modified Sanitize to allow all ANSI printable chars.
2019-06-16 12:10:51 +02:00
Mr_Goldberg
a36f6e8e68
Add support for setting app/DLC paths. 2019-05-09 08:10:03 -04:00
Mr_Goldberg
5af7508e2f
Add steam offline mode and change steam_appid.txt priority. 2019-04-21 16:47:45 -04:00
Mr_Goldberg
d968c3e1b5
Initial commit. 2019-04-13 12:21:56 -04:00