1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
Commit Graph

683 Commits

Author SHA1 Message Date
Laserlicht
59b40c7871 [launcher] enable High DPI 2024-06-08 00:10:03 +03:00
Andrey Filipenkov
aa33a13c1c fix indentation 2024-06-08 00:10:02 +03:00
Andrey Filipenkov
99eb5b67cc [launcher] add option to ignore SSL errors
affects fetching mods list
2024-06-08 00:10:02 +03:00
Andrey Filipenkov
8cee8b72a6 [launcher] build for Android
also embeds icons and translations as Qt resources instead of reading from disk
2024-06-08 00:09:04 +03:00
Ivan Savenko
79ce3c7a0e Enable dependencies first before enabling newly downloaded mod
Also handles the case when mod dependency is scheduled to be enabled
only after dependent mod
2024-06-07 15:05:02 +00:00
Ivan Savenko
476beb5145 Do not attempt to install mods not available in repo, such as submods 2024-06-07 15:03:45 +00:00
Ivan Savenko
1855389ab9 Bump version to 1.5.3 2024-06-05 20:55:07 +00:00
mggk
3ece214126 feat(translations): update french translation for launcher 2024-05-30 08:45:08 +00:00
Ivan Savenko
0c1dd45e9e
Merge pull request #4034 from Laserlicht/innoextract_userpath
extract files into userdata instead of tmp
2024-05-28 16:47:24 +03:00
Laserlicht
3bde84b163
fine tuning 2024-05-24 23:36:25 +02:00
Laserlicht
faba115224 extract files into userdata instead of tmp 2024-05-23 01:19:31 +02:00
Ivan Savenko
25556424c7 Version bump to 1.5.2 2024-05-20 15:11:08 +00:00
Ivan Savenko
2f70c530fa
Merge pull request #3969 from altiereslima/beta
Update portuguese.json
2024-05-15 13:24:23 +03:00
Laserlicht
b51028a643
update metainfo to reflect gamepad support 2024-05-15 01:42:43 +02:00
altiereslima
00a39921e8 Update portuguese.ts 2024-05-14 18:34:03 -03:00
Ivan Savenko
2a648ab63b Version bump to 1.5.1 2024-05-10 11:14:36 +00:00
altiereslima
b35b493b56 Update portuguese.ts 2024-05-09 07:32:07 +00:00
Ivan Savenko
d4c953e012
Merge pull request #3883 from IvanSavenko/release_150
Preparation for 1.5.0 release
2024-05-09 10:29:38 +03:00
Dydzio
9ba4667821 Update polish translations 2024-05-09 00:01:29 +02:00
kdmcser
c96216ec68 update Chinese translation 2024-05-08 13:38:13 +00:00
Ivan Savenko
a7b34d90de Added Ukrainian translation to metainfo 2024-05-08 13:38:13 +00:00
Ivan Savenko
413669ae42 Set 1.5 release date to May, 10th 2024-05-08 13:37:24 +00:00
Ivan Savenko
3ab8b609ed
Merge pull request #3884 from Laserlicht/german_update
update german translation
2024-05-06 19:15:06 +03:00
Laserlicht
090715f83c update german translation 2024-05-03 21:27:34 +02:00
Laserlicht
6ff648f72b Code review; use progress bar 2024-05-03 10:37:08 +02:00
Laserlicht
2dfff3a53d process of innoextract extraction 2024-05-02 23:18:53 +02:00
Ivan Savenko
f13d7b2a50 Regenerated translations 2024-05-01 15:29:11 +03:00
Ivan Savenko
6b9dc208ad Updated text to account for gog.com installation 2024-05-01 13:47:04 +03:00
Ivan Savenko
412a456ed0 Clarified some strings 2024-05-01 13:46:39 +03:00
Ivan Savenko
17ec02af01 Updated Ukrainian translation 2024-05-01 13:35:33 +03:00
Ivan Savenko
2bdf338b9a Regenerate launcher translations 2024-05-01 12:55:22 +03:00
Ivan Savenko
09a233acba Added missing strings to Qt translations 2024-05-01 12:49:46 +03:00
Ivan Savenko
d1b9562682
Merge pull request #3845 from Laserlicht/patch-2
innoextract mobile optimization
2024-04-30 17:48:33 +03:00
Laserlicht
5b21c10ba4
Update launcher/firstLaunch/firstlaunch_moc.cpp
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-04-29 22:05:04 +02:00
Laserlicht
81fa8a4efa reduce double code 2024-04-29 21:09:37 +02:00
Laserlicht
10d299c74b
missing character 2024-04-27 23:39:10 +02:00
Laserlicht
3952b661a0
avoid to select incorrect files on mobile platforms 2024-04-27 23:35:57 +02:00
Laserlicht
c148f929ae
optimisations for mobile 2024-04-27 23:05:17 +02:00
Laserlicht
e52dbf028c
seperate button update from extraction process 2024-04-27 22:54:32 +02:00
Ivan Savenko
83a651f7c8 Fixed broken server port switch in launcher 2024-04-25 18:53:34 +03:00
Ivan Savenko
62d15ed23c
Merge pull request #3820 from IvanSavenko/bugfixing
Bugfixing
2024-04-23 13:03:36 +03:00
Ivan Savenko
ba3137582b
Merge pull request #3797 from Laserlicht/install_from_file
Install from file button in launcher
2024-04-23 12:06:54 +03:00
Ivan Savenko
7d6b936a9d Do not reset mod model (and selected mod) when screenshots are loaded 2024-04-22 12:34:25 +03:00
Laserlicht
795a5c8fb9
remove not needed vcmi namespace 2024-04-21 18:17:23 +02:00
Laserlicht
04f5ad5f89 Code Review 2024-04-21 17:07:10 +02:00
Laserlicht
eb59950186 Code review 2024-04-21 12:13:50 +02:00
Laserlicht
ba7d57bce5 button size 2024-04-21 01:35:14 +02:00
Laserlicht
58c542059d allow to replace json config 2024-04-21 01:32:31 +02:00
Dydzio
3f7062b81f Fix build 2024-04-20 23:05:37 +02:00
Dydzio
c6e4ef2a78 mods: Ignore submod conflicts for install, Ignore compatibility patches for enabling 2024-04-20 22:48:54 +02:00
Laserlicht
95267d8f0b
+All supported files 2024-04-20 15:31:13 +02:00
Laserlicht
19f606e84b
Install from file; add translation strings; fix button size 2024-04-20 00:26:58 +02:00
Ivan Savenko
6901825b62
Merge pull request #3707 from Laserlicht/innoextract
include innoextract
2024-04-19 20:06:41 +03:00
Laserlicht
44a31910e3
inverse flag; simplify 2024-04-16 22:23:41 +02:00
Laserlicht
e4b59f34d1
Code Review 2024-04-16 20:57:45 +02:00
Laserlicht
d7465e75c4 make it possible to use different file names 2024-04-13 20:38:10 +02:00
Laserlicht
de9dbf0cd7 introduce innoextract 2024-04-13 17:19:47 +02:00
altiereslima
d29b2f098f Update portuguese.ts 2024-04-07 14:55:25 -03:00
altiereslima
a4bbdb2b4d Update portuguese.ts 2024-04-07 14:36:24 -03:00
altiereslima
5b012c009b Update CMakeLists.txt 2024-04-07 14:17:14 -03:00
altiereslima
5f3bd2963e VCMI Portuguese Brazilian 2024-04-07 11:55:56 -03:00
Evgeny Malygin
ee42527ee1
Fixes 2024-03-29 12:28:14 +02:00
Evgeny Malygin
25125f96da
Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
Andrey Filipenkov
74ecbec1c7 get rid of CLauncherDirs global static
std::call_once causes crash
2024-03-20 05:52:25 +03:00
Andrey Filipenkov
1b69410bbc
also remove the declaration from the header 2024-03-02 17:35:28 +03:00
Andrey Filipenkov
5dddb7ed00
remove no longer used slot 2024-03-02 17:27:15 +03:00
Ivan Savenko
08a27663f9 Reworked JsonNode constructors to more logical form 2024-02-26 12:55:49 +02:00
Ivan Savenko
54796c7c56 Rename toJson to toString/toCompactString for consistency 2024-02-26 12:55:49 +02:00
Alexander Wilms
73a1a188d9 Update metainfo to conform to AppStream 1.0 spec 2024-02-23 19:26:38 +01:00
Ivan Savenko
c3957c2c2a Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
Ivan Savenko
9ebd194ab1
Merge pull request #3609 from IvanSavenko/single_process
Allow running server as part of client process
2024-02-14 12:06:22 +02:00
Ivan Savenko
6e399eb21a Make some non-const static variables const or constexpr 2024-02-12 13:22:54 +02:00
Ivan Savenko
2540685c62 Fix invalid check 2024-02-12 12:32:53 +02:00
Ivan Savenko
a909d7ddde Removed cmake_modules/VCMI_lib macro, use it directly in place 2024-02-11 20:38:24 +02:00
Ivan Savenko
f2ecd4cf11 Merge branch 'develop' into 'lobby' 2024-02-11 16:13:13 +02:00
Tytannial
a6cfacc7e3 Update Chinese Launcher translation 2024-02-07 09:01:55 +08:00
Ivan Savenko
322c5faf63 Merge remote-tracking branch 'vcmi/develop' into lobby 2024-01-26 16:52:23 +02:00
Ivan Savenko
2a193effcc Merge branch 'master' into 'develop' 2024-01-25 16:23:13 +02:00
Ivan Savenko
aff9fddd03 Version bump to 1.4.5 2024-01-23 13:56:28 +02:00
Asirome
183612d32b Updated spanish.ts translation 2024-01-23 13:48:51 +02:00
Ivan Savenko
be47c66c57 Ignore hidden mods when checking mod dependencies 2024-01-23 12:57:38 +02:00
Asirome
334020b077
Updated spanish.ts translation 2024-01-23 11:11:35 +01:00
Ivan Savenko
93d78edfb9 Fix build 2024-01-19 23:52:28 +02:00
Ivan Savenko
9fb7d2817a Implemented connection of match server to global lobby 2024-01-19 23:52:28 +02:00
Ivan Savenko
c4db99a60d Removed old in-launcher lobby 2024-01-19 23:52:25 +02:00
Ivan Savenko
db5539b39d Regenerated Qt translations 2024-01-19 21:21:23 +02:00
Ivan Savenko
f067f4e001 Version bump to 1.5.0 2024-01-19 21:21:22 +02:00
Ivan Savenko
339fad6e27
Merge pull request #3528 from vcmi/master
Merge master -> develop
2024-01-19 21:19:20 +02:00
Ivan Savenko
b5ef782fe1 Fix key value to match specs 2024-01-19 17:31:53 +02:00
Ivan Savenko
2886d421ab Version bump 2024-01-19 16:18:13 +02:00
Ivan Savenko
bd5682ecc3 Merge remote-tracking branch 'vcmi/master' into develop 2024-01-19 13:49:54 +02:00
Alexander Wilms
1b85abb508 Use auto instead of redundant type in initializations using new
grep -r --include \*.h --include \*.cpp "=" * | grep -v "auto\|int\|char\|bool\|float|\double\|for\|if\|googletest\|fuzzylite\|size_t\|using\|return\|{\|}\|= \"\|= tr(\|virtual\|void" | grep -Po ".*[^ ]+ [^ ]+ [^ ]*[ ]*=.*;" | grep -v "float\|nullptr" | grep "new" | grep -v "AI/FuzzyLite" | grep \( | grep "= new" > redundant_types.txt

import re

with open("redundant_types.txt") as f:
    for line in f:
        line = line.strip()
        path = line.split(":", 1)[0]
        original_code = line.split(":")[1].strip()
        if "new " in original_code:

            cpp_type = original_code.split(" ")[0]
            if original_code.count(cpp_type) == 2:
                print()
                print(path)
                print(original_code)
                new_code = "auto "+" ".join(original_code.split(" ")[1:])
                print(new_code)

                with open(path, "r") as f:
                    filedata = f.read()

                filedata = filedata.replace(original_code, new_code)

                with open(path, "w") as f:
                    f.write(filedata)
2024-01-16 21:40:53 +00:00
Ivan Savenko
b08462d555 Change default SDL driver name from opengl to empty (autoselection) 2024-01-14 14:29:13 +02:00
kdmcser
f3c89d0019 Update Chinese translation for launcher 2024-01-13 13:17:03 +08:00
Ivan Savenko
4ef7f93514
Merge pull request #3442 from Laserlicht/autodetect_windows
Autodetect and copy installed heroes on windows
2024-01-10 16:37:55 +02:00
Alexander Wilms
f3277b7953 Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
Laserlicht
152a43abe0
Apply suggestions from code review
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2024-01-06 22:34:02 +01:00
Laserlicht
89236987ce
no silent install 2024-01-06 14:50:00 +01:00
Laserlicht
33efcbac35
fix deprecated 2024-01-06 00:04:01 +01:00
Laserlicht
eca1dba750 autodetect windows 2024-01-05 23:56:17 +01:00