Le Philousophe
3db0eef3d3
DLC: Fix signedness warnings
2024-06-08 11:15:57 +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
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
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
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
a344e7e43f
BACKENDS: Implement auto addition of DLC entry in ScummVM config after download
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
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
6e8bdee909
BACKENDS: Add initial code for DLC Manager
2023-09-14 08:22:56 +02:00