Ivan Savenko
5512ebee64
Merge pull request #4116 from kambala-decapitator/ios-launcher-copy-data
...
[launcher][iOS] fix copying existing OH3 data
2024-06-10 18:22:02 +03:00
Ivan Savenko
2d98ec708c
Merge pull request #4098 from IvanSavenko/launcher_settings_update
...
Launcher settings update
2024-06-10 18:21:17 +03:00
Andrey Filipenkov
9e5b51c86f
[launcher] show button to copy existing data on iOS >= 13
2024-06-09 18:20:39 +03:00
Andrey Filipenkov
e019997bee
[launcher][iOS] select directory to copy oh3 files using objc/uikit
2024-06-09 18:20:39 +03:00
Ivan Savenko
af7357a938
Merge pull request #4113 from IvanSavenko/launcher_mod_list_tweaks
...
Launcher mod list tweaks
2024-06-09 16:46:58 +03:00
Ivan Savenko
e817d62011
Merge pull request #4099 from IvanSavenko/launcher_help_tab_fixes
...
Fixes to help tab in Launcher
2024-06-09 16:46:31 +03:00
Ivan Savenko
6451f3fd01
Merge pull request #4106 from IvanSavenko/launcher_first_install_improvements
...
Improvements to first run / welcome screen in Launcher
2024-06-09 16:45:29 +03:00
Ivan Savenko
e39bde362a
Merge pull request #4115 from kambala-decapitator/ios-launcher-fix-dialogs
...
[launcher] call button handlers that show dialogs asynchronously
2024-06-09 16:44:40 +03:00
Andrey Filipenkov
65d30a444e
[launcher] call button handlers that show dialogs asynchronously
...
fixes freeze on iOS: https://bugreports.qt.io/browse/QTBUG-98651
2024-06-08 22:30:54 +03:00
Ivan Savenko
b5a5f93e07
Converted 2-state dropdowns into toggle buttons
2024-06-08 18:17:58 +00:00
Andrey Filipenkov
53048bde4f
[launcher][android] force Qt window size to match available screen size
2024-06-08 20:54:58 +03:00
Ivan Savenko
1b8111ebae
Replaced checkboxes in settings with togglable buttons
2024-06-08 17:53:10 +00:00
Ivan Savenko
7041836087
Add indent to headers to better separate them from settings entries
2024-06-08 16:51:23 +00:00
Ivan Savenko
ae53c7f23e
Skip h3 data setup if files are already present
2024-06-08 16:38:55 +00:00
Ivan Savenko
1f7b916a1c
Minimize width of mod filter dropdown & reload button to give more space
...
for mod name filter
2024-06-08 16:31:43 +00:00
Ivan Savenko
604701ad13
Shorten text to fit better on mobile systems
2024-06-08 16:02:14 +00:00
Ivan Savenko
7893f97646
Remove version from mod list in launcher
2024-06-08 16:00:45 +00:00
Ivan Savenko
448eeefc42
Limit overshoot distance in scroller
2024-06-08 15:56:20 +00:00
Ivan Savenko
f9fb289782
Hide mobile-only options on PC
2024-06-08 15:31:40 +00:00
Ivan Savenko
7ebc3bc6a5
Added controller sensitivity option, merged cursor options
2024-06-08 15:31:40 +00:00
Ivan Savenko
1020477b6e
Hide mobile-only options on PC
2024-06-08 15:31:40 +00:00
Ivan Savenko
ae27b65435
Added more settings to Launcher that previously have no UI access
2024-06-08 15:31:40 +00:00
Ivan Savenko
9de6023224
Removed no longer needed pseudo-languages
2024-06-08 15:31:40 +00:00
Ivan Savenko
b76c58c0b0
Changed settings location for Qt apps to be in line with main game
2024-06-08 15:31:40 +00:00
Ivan Savenko
a33a37b1a4
Merge pull request #4100 from IvanSavenko/launcher_fix_drag_lag
...
Fix lag on dragging mod list in Launcher on Android
2024-06-08 16:56:38 +03:00
Ivan Savenko
0dcf6e4bc0
Merge pull request #4108 from IvanSavenko/launcher_project_fix
...
Fix .ui files not visible in generated project (QtCreator/CMake/Ninja)
2024-06-08 16:23:04 +03:00
Ivan Savenko
b58b96cd31
Improvements to first install / welcome screen in Launcher
...
- Removed H3 data language selector in favor of autodetection (and to
get more space on mobile systems)
- Replaced hard to click checkboxes in mod install screen with buttons
- Inaccessible system data directory is now hidden on mobile devices to
save space and to avoid displaying data useless to player
- Reworded texts in h3 data import screen to be more clear to players
- moved manual data installation to bottom
2024-06-08 12:02:36 +00:00
Ivan Savenko
295c145c5a
Fix .ui files not visible in generated project (QtCreator/CMake/Ninja)
2024-06-08 11:53:58 +00:00
Ivan Savenko
f105a66736
Merge pull request #4107 from IvanSavenko/mod_install_fix
...
Mod install fixes
2024-06-08 13:48:49 +03:00
Ivan Savenko
3e05685de2
Fixes & improvements to help tab:
...
- Added "Configuration files directory" since it is located in different
path at least on Linux and may be of interest to a player
- Removed non-functioning "Open directory" buttons on mobile systems and
stretched text box into now-empty space
2024-06-08 10:48:25 +00:00
Ivan Savenko
e3ed4eda44
Fix lag on dragging mod list in Launcher on Android
...
Tested by enabling dragging on desktop. According to profiler, most of
time was spent on generating mod information. Cheap to do once, but it
looks like Qt does this A LOT.
Added simple caching & reduced copying. Seems to be working fine on PC,
but not yet confirmed whether same goes for mobile
2024-06-08 10:47:57 +00:00
Andrey Filipenkov
d7bf6b7dbe
[android][launcher] copy existing oh3 files using Java
2024-06-08 00:10:03 +03:00
Laserlicht
ed6ab19818
[launcher] add more places for finger scrolling
2024-06-08 00:10:03 +03:00
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
Ivan Savenko
df83fa33a1
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-05-31 09:34:21 +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
mggk
30c413da3f
feat(translations): update french translation for launcher
2024-05-24 23:00:43 +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
8931121d2e
Merge pull request #3995 from IvanSavenko/old_projects_remove
...
[1.6] Remove old project files
2024-05-19 15:44:32 +03:00
Ivan Savenko
eb67e04ccb
Remove old and unmaintained codeblocks project
2024-05-17 10:44:57 +00:00
Ivan Savenko
3f6eb13ee0
Delete old and unmaintained msvc project files
2024-05-17 10:44:11 +00:00
Ivan Savenko
721b15d9de
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-05-17 08:26:37 +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
Ivan Savenko
2ddb41e654
Merge branch 'vcmi/master' into 'vcmi/develop'
2024-05-10 08:09:51 +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
altiereslima
a486f103e9
Update portuguese.ts
2024-05-08 20:33:47 -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
kdmcser
1ec6f9dc66
update Chinese translation
2024-05-07 23:14:46 +08:00
Ivan Savenko
b827ac2625
Merge pull request #3899 from IvanSavenko/bump_version_160
...
Version bump to 1.6.0 on develop
2024-05-06 22:50:08 +03:00
Ivan Savenko
3ab8b609ed
Merge pull request #3884 from Laserlicht/german_update
...
update german translation
2024-05-06 19:15:06 +03:00
Ivan Savenko
b1390bde9c
Version bump to 1.6.0
2024-05-06 15:40:17 +00: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
Ivan Savenko
d4d2ad5f1f
Fix build
2024-01-05 22:30:07 +02:00
Ivan Savenko
0acf65af17
Use QSignalBlocker in launcher where applicable
2024-01-05 22:06:07 +02:00
Ivan Savenko
0584591e01
Update translations
2024-01-05 21:47:13 +02:00
Ivan Savenko
77d54e1f79
Allow selecting driver in Launcher
2024-01-05 21:47:03 +02:00
Kryštof Černý
2bf0bb3ca4
cz consisteny
2023-12-29 16:56:04 +01:00
Kryštof Černý
c608a6dbdb
Apply suggestions from code review
...
Co-authored-by: Alexander Wilms <Alexander-Wilms@users.noreply.github.com>
2023-12-29 16:47:56 +01:00