145158 Commits

Author SHA1 Message Date
Miro Kropacek
daca89fcc7 TINSEL: Fix out-of-bounds memory corruption
for's condition is evaluated after the expression(s) so we ended up
reading invalid memory in ptp.
2023-09-14 09:12:54 +02:00
ScummVM-Translations
06a64db61e I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2023-09-14 06:24:07 +00:00
Ankush Dutt
8b73a4c303 DEVTOOLS: Generate updated _pb2.py using protoc 3.19 2023-09-14 08:23:48 +02:00
Ankush Dutt
0343c0d485 DEVTOOLS: Add ScummVM config related metadata in packaging/dlc-games.json 2023-09-14 08:23:48 +02:00
Ankush Dutt
d6496f4b21 DEVTOOLS: Change Android build tools version in export-platforms.json to same as docker bb 2023-09-14 08:23:48 +02:00
Ankush Dutt
a07257e667 DEVTOOLS: Fix packname of broken-sword-2.5 as per Android asset pack name constraints
Constraints: Asset pack names must start with a letter and can
only contain letters, numbers, and underscores.
2023-09-14 08:23:48 +02:00
Ankush Dutt
87c45a7e67 DEVTOOLS: Rename dict to arg_dict and add shebang line for python3 in package.py 2023-09-14 08:23:48 +02:00
Ankush Dutt
8bd764d1eb DEVTOOLS: Enable bundling of DLC with base binary for Android 2023-09-14 08:23:48 +02:00
Ankush Dutt
e9ee460c5f DEVTOOLS: Add options property in export-platforms and refactor package.py 2023-09-14 08:23:48 +02:00
Ankush Dutt
11034e129c DEVTOOLS: Describe export platforms and implement initial packaging script (package.py) 2023-09-14 08:23:48 +02:00
Ankush Dutt
9b81c4bb56 DEVTOOLS: Add JSON file with game entry and JSON validator script 2023-09-14 08:23:48 +02:00
Ankush Dutt
38a7eadb89 DEVTOOLS: Create universal metadata schema for packaging DLC 2023-09-14 08:23:48 +02:00
ScummVM-Translations
05fa51ca1d I18N: Update translations templates 2023-09-14 06:23:09 +00:00
Ankush Dutt
0806d04dfd DLC: Add generated theme files 2023-09-14 08:22:56 +02:00
Ankush Dutt
c1d1e4e411 DLC: Add dlcpath in Global Options 2023-09-14 08:22:56 +02:00
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
24392d4838 DLC: Add lowres_layout.stx and generated theme files 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
97aa1d602a JANITORIAL: Remove DLCMan.init() and its destroy call since it's not required 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
708432c163 BACKENDS: Change return type of getDefaultDLCsPath() to Common::Path 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
f1a5ebfe94 I18N: Add gui/dlcsdialog and gui/downloaddlcsdialog to POTFILES 2023-09-14 08:22:56 +02:00
Ankush Dutt
896793eb2c JANITORIAL: Change StaticTextWidget's text of dlcsdialog 2023-09-14 08:22:56 +02:00
Ankush Dutt
9292288626 JANITORIAL: Move enum to cpp of downloaddlcsdialog.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
6f5587fcd0 GUI: Fix crash if a game is downloaded when last item is selected in pending DLC downloads 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
22f912d7e0 DLC: Wrap ScummVM DLC in configure enabled feature, disabled by default 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
a4329e21b9 GUI: Disable download button when no item is selected in DLC browsing dialog 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
750a196c05 GUI: Remove CommandSender's target when DLC dialog is destructed
- This will prevent segmentation fault when a command is sent after
the dialog is closed
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