Ankush Dutt
a4888cf24c
JANITORIAL: Improve code readability in scummvmcloud.cpp
2023-09-14 08:22:56 +02:00
Ankush Dutt
9a68de2f52
BACKENDS: DLC: Handle errors in ScummVMCloud::extractZip()
2023-09-14 08:22:56 +02:00
Ankush Dutt
6890e3097b
BACKENDS: DLC: Improve code readability in scummvmcloud.cpp
2023-09-14 08:22:56 +02:00
Ankush Dutt
e24ad8fc20
JANITORIAL: Use debug instead of commented warning in scummvmcloud.cpp
2023-09-14 08:22:56 +02:00
Ankush Dutt
097b049aea
DLC: Use forward declaration where appropriate
2023-09-14 08:22:56 +02:00
Ankush Dutt
24a7e4cf73
BACKENDS: Change DLC::DLCDesc to struct, deallocate DLCMan._dlcs
2023-09-14 08:22:56 +02:00
Ankush Dutt
b9e5694f39
BACKENDS: DLC: Refresh DLC list after download is cancelled
2023-09-14 08:22:56 +02:00
Ankush Dutt
3d841a59e0
DLC: Use const, uint32 and reference where appropriate
2023-09-14 08:22:56 +02:00
Ankush Dutt
8774429891
JANITORIAL: Fix defines and code formatting
2023-09-14 08:22:56 +02:00
Ankush Dutt
3bba45bd5c
GUI: Add error label in downloaddlcsdialog
2023-09-14 08:22:56 +02:00
Ankush Dutt
2f6b87f0d4
GUI: Improve DLC download request indication
2023-09-14 08:22:56 +02:00
Ankush Dutt
13dc800e96
BACKENDS: Implement interrupt/cancel pending DLC downloads
2023-09-14 08:22:56 +02:00
Ankush Dutt
f976ecded4
GUI: Initial code to show DLC download progress
2023-09-14 08:22:56 +02:00
Ankush Dutt
b4438f744a
BACKENDS: Create dlcspath for storing DLCs
2023-09-14 08:22:56 +02:00
Ankush Dutt
a344e7e43f
BACKENDS: Implement auto addition of DLC entry in ScummVM config after download
2023-09-14 08:22:56 +02:00
Ankush Dutt
c0800f5eda
BACKENDS: Add more members in DLCDesc
2023-09-14 08:22:56 +02:00
Ankush Dutt
86f01bcd45
BACKENDS: Improve ScummVMCloud::extractZip()
...
- Extract each game in it's own directory based on it's name
- Add extra parameter to pass the destination path
2023-09-14 08:22:56 +02:00
Ankush Dutt
6a269c6b06
BACKENDS: Implement get DLC list on request and redraw dialog once DLCs are fetched
...
This commit will add functionality to only fetch the DLCs from the server
on clicking the button for browsing DLCs. Before, we were fetching the DLCs on start.
The dialog will redraw once the DLCs are fetched. The fetched DLCs are cached.
2023-09-14 08:22:56 +02:00
Ankush Dutt
7dc5facd71
BACKENDS: Extend preprocessor directives to support Windows in SummVMCloud::removeCacheFile
2023-09-14 08:22:56 +02:00
Ankush Dutt
1a8c5383a4
BACKENDS: Delete request when DLC is downloaded
2023-09-14 08:22:56 +02:00
Ankush Dutt
c3fcfd0b00
BACKENDS: Implement extract downloaded DLCs and remove cache in ScummVMCloud
2023-09-14 08:22:56 +02:00
Ankush Dutt
5ac2efcf5c
BACKENDS: Populate dlc list using getAllDLCs() response
2023-09-14 08:22:56 +02:00
Ankush Dutt
f380eaf9cc
BACKENDS: Generalize startDownloadAsync() for downloading DLCs
2023-09-14 08:22:56 +02:00
Ankush Dutt
c0f91421cc
BACKENDS: Initial code for downloading DLCs using CURL
2023-09-14 08:22:56 +02:00