Clients can now see download progress of large resources

This commit is contained in:
Yousef Khadadeh 2025-10-09 21:02:19 +03:00
parent 2a213028c0
commit 3b12f630f8
11 changed files with 87 additions and 30 deletions

View file

@ -15,6 +15,8 @@ class DrawImage : public DrawComponent {
virtual void get_used_resources(std::unordered_set<ServerClientID>& v) const override;
virtual void remap_resource_ids(std::unordered_map<ServerClientID, ServerClientID>& newIDs) override;
void draw_download_progress_bar(SkCanvas* canvas, const DrawData& drawData, float progress);
// User input data
struct Data {
Vector2f p1;