Ankush Dutt
a26d00a2b7
DLC: Remove Playstore code
2023-09-14 08:22:56 +02:00
Ankush Dutt
f03d59620b
JANITORIAL: Remove unneeded functions from dlcmanager.h
2023-09-14 08:22:56 +02:00
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
2a60a4d213
DLC: Set kFeatureDLC and _dlcStore for ScummVMCloud, Playstore in backend
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
0c7f65e5b7
JANITORIAL: Remove unneeded includes from dlcmanager.cpp
2023-09-14 08:22:56 +02:00
Ankush Dutt
4ae119d63f
DLC: Add USE_DLC in configure for general DLC integration
...
- Developers will need to use --enable-dlc with configure if they want to integrate
the DLC downloader. The kFeatureDLC will determine if the target platform is supported
- USE_SCUMMVMDLC will be used specifically to compile curl based ScummVMCloud (USE_DLC
will be automatically enabled if ScummVMCloud is supported)
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
ee2e8afd30
JANITORIAL: Fix indentation in scummvmcloud
2023-09-14 08:22:56 +02:00
Ankush Dutt
2756f6ae71
JANITORIAL: Remove unneeded includes from store.h
2023-09-14 08:22:56 +02:00
Ankush Dutt
d932cb8179
JANITORIAL: Fix formatting and define in scummvmcloud.h
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
dd87960fe8
BACKENDS: Restrict adding DLC in download queue if it's already in queue
2023-09-14 08:22:56 +02:00
Ankush Dutt
3633392b6d
BACKENDS: Fix launcher does not refresh after DLC download if DLC dialog is closed
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
5059b3072e
JANITORIAL: Rename download-games-dialog to dlcsdialog
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
2c987fbba5
GUI: Fix graying out DLCs to use String for id
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
Ankush Dutt
3f8ddc117e
BACKENDS: Add DLC download queue and implement some DLCManager functions
2023-09-14 08:22:56 +02:00
Ankush Dutt
045a99e50c
BACKENDS: Remove platform-specific defines and enforce factory design pattern for creating DLC store
2023-09-14 08:22:56 +02:00
Ankush Dutt
99af2be9c0
BACKENDS: Initial implementation of Android PlayStore DLC Manager
2023-09-14 08:22:56 +02:00
Ankush Dutt
a2046a71c0
JANITORIAL: Update playstore.h licence to GPL v3+
2023-09-14 08:22:56 +02:00
Ankush Dutt
6e8bdee909
BACKENDS: Add initial code for DLC Manager
2023-09-14 08:22:56 +02:00