Andrey Filipenkov
|
48c01157e6
|
fix typo
|
2023-01-08 01:33:26 +02:00 |
|
Andrey Filipenkov
|
db98575d10
|
fix unaligned memory access (UB) on Clang/GCC/MSVC
sample UBSAN report:
client/gui/CAnimation.cpp:329:24: runtime error: load of misaligned address 0x62d0004b094f for type 'const ui32' (aka 'const unsigned int'), which requires 4 byte alignment
|
2023-01-08 01:33:26 +02:00 |
|
Andrey Filipenkov
|
b030a88ca5
|
fix gold check for School of War
|
2022-12-29 01:45:51 +04:00 |
|
Andrey Filipenkov
|
c20ae90973
|
disable tests by default
|
2022-11-03 11:33:17 +03:00 |
|
Andrey Filipenkov
|
a5ad4893a7
|
[CI] use setup-python action
fixes running pip-installed packages without `python3 -m`
|
2022-11-02 11:07:20 +03:00 |
|
 Andrey FilipenkovandSoundSSGood
|
7dcd910877
|
add Linux icons for the map editor
Co-authored-by: SoundSSGood <87084363+SoundSSGood@users.noreply.github.com>
|
2022-10-22 23:03:01 +03:00 |
|
Andrey Filipenkov
|
278e6bedeb
|
[Linux] add proper desktop entry for the map editor
|
2022-10-22 17:08:55 +03:00 |
|
Andrey Filipenkov
|
e0e075df77
|
[Conan] save install folder to CMake variable
|
2022-10-22 16:59:45 +03:00 |
|
Andrey Filipenkov
|
d1ab611b4f
|
[macOS] don't use macdeployqt together with Conan
|
2022-10-22 16:59:45 +03:00 |
|
Andrey Filipenkov
|
35a6a24204
|
[macOS] sign executables with bundle identifier
|
2022-10-22 16:59:45 +03:00 |
|
Andrey Filipenkov
|
8e8323a3d5
|
[macOS] build properly ordered list of executables that needs to be signed
|
2022-10-22 16:59:45 +03:00 |
|
Andrey Filipenkov
|
9865578faa
|
[macOS] remove deprecated entries from Info.plist
|
2022-10-22 16:53:08 +03:00 |
|
Andrey Filipenkov
|
002e09fa2d
|
[macOS] set copyright to Info.plist
|
2022-10-22 16:52:47 +03:00 |
|
Andrey Filipenkov
|
c9198311a1
|
[macOS] set bundle identifier to Info.plist
|
2022-10-22 16:52:27 +03:00 |
|
Andrey Filipenkov
|
36e5fff1f3
|
update gitignore
|
2022-10-18 20:50:38 +03:00 |
|
Andrey Filipenkov
|
bf897311d9
|
[macOS] don't fail if macdeployqt is missing
- it's needed only at install time (when creating dmg)
- ConanCenter binaries don't have it
|
2022-10-18 20:50:38 +03:00 |
|
Andrey Filipenkov
|
409ab51036
|
[iOS] workaround having TBB symlink in NullkillerAI’s RPATH
AltStore doesn't sign symlinks
|
2022-10-18 20:50:38 +03:00 |
|
Andrey Filipenkov
|
494e2c2c92
|
[CI] use specific GitHub release for macOS dependencies
|
2022-10-18 20:50:38 +03:00 |
|
Andrey Filipenkov
|
524ad5ab76
|
[CI] build iOS with Conan
|
2022-10-18 20:50:38 +03:00 |
|
Andrey Filipenkov
|
73b0b7c8a3
|
[Conan] add docs
|
2022-10-18 20:50:37 +03:00 |
|
Andrey Filipenkov
|
c1ef07a5e4
|
[Conan] generate all configs by default
env var change: USE_CONAN_WITH_ALL_CONFIGS -> GENERATE_ONLY_BUILT_CONFIG
|
2022-10-18 10:12:05 +03:00 |
|
Andrey Filipenkov
|
cf34c8da56
|
[Conan] add option to use Apple system libraries as overrides
|
2022-10-18 10:11:37 +03:00 |
|
Andrey Filipenkov
|
1e8be46ced
|
[Conan] use semver
|
2022-10-16 13:25:38 +03:00 |
|
Andrey Filipenkov
|
3a0d11b38a
|
[Conan] add option to use default options of dependencies
this allows consuming prebuilt binaries from CCI
name: default_options_of_requirements
|
2022-10-16 13:25:38 +03:00 |
|
Andrey Filipenkov
|
77d0fa8659
|
[Conan] add options to control usage of FFmpeg and LuaJIT
|
2022-10-16 13:25:38 +03:00 |
|
Andrey Filipenkov
|
d0d4049158
|
[Conan] remove no longer needed Boost workaround
|
2022-10-16 13:25:38 +03:00 |
|
Andrey Filipenkov
|
f10e5e3b99
|
[Conan] add iOS support
|
2022-10-16 13:25:38 +03:00 |
|
Andrey Filipenkov
|
233997d18d
|
[Conan] upgrade dependencies: Boost, FFmpeg, Qt, SDL, libpng
|
2022-10-14 16:51:11 +03:00 |
|
Andrey Filipenkov
|
8bf33790b8
|
[Conan] use Ninja by default
|
2022-10-13 13:24:25 +03:00 |
|
Andrey Filipenkov
|
b29229a577
|
fix showing logs path in Launcher
|
2022-10-09 17:42:33 +03:00 |
|
Andrey Filipenkov
|
92dd6d8c17
|
define app version only in CMakeLists
now it's propagated to code via macros
|
2022-10-04 12:29:38 +03:00 |
|
Andrey Filipenkov
|
af1f35779d
|
raise app version in CMakeLists
|
2022-10-04 11:47:29 +03:00 |
|
Andrey Filipenkov
|
52371a4d3e
|
allow healing ability before first turn attempt of each round
|
2022-10-03 15:48:39 +03:00 |
|
Andrey Filipenkov
|
8f51a8756b
|
restore last used address in Multiplayer join dialog
in all other cases (when machine is host) hardcoded localhost address is displayed
|
2022-10-01 17:41:12 +03:00 |
|
Andrey Filipenkov
|
b26db479d7
|
don't add Necromancy to Witch Hut on random maps
|
2022-10-01 16:01:47 +03:00 |
|
Andrey Filipenkov
|
acfdbe87fe
|
remove duplicate entry
|
2022-10-01 16:01:02 +03:00 |
|
Andrey Filipenkov
|
796845d173
|
[iOS] clear focus in launcher only when something has focus
|
2022-10-01 12:37:23 +03:00 |
|
Andrey Filipenkov
|
b766edb6af
|
[iOS] don't nest AI and scripting libs under subdirectories
3rd party signing tools may ignore such directory layout
|
2022-10-01 12:36:48 +03:00 |
|
Andrey Filipenkov
|
ebeff94130
|
inherit CHeroWindow from CStatusbarWindow for proper status bar support
|
2022-10-01 11:21:16 +03:00 |
|
Andrey Filipenkov
|
c9ae43abe8
|
highlight current resolution in the resolution selector in game options
|
2022-10-01 10:33:48 +03:00 |
|
Andrey Filipenkov
|
aa217236b3
|
check amount of artifacts on hero when checking requirements of a quest that requires artifact(s)
fixes case when 2 or more identical artifacts are required
|
2022-10-01 09:28:32 +03:00 |
|
Andrey Filipenkov
|
86708841f8
|
code improvement
|
2022-10-01 09:24:58 +03:00 |
|
Andrey Filipenkov
|
c4c2e03b6e
|
fix typo
|
2022-09-30 15:06:56 +03:00 |
|
Andrey Filipenkov
|
4de0300c76
|
unlock adventure map UI after closing battle result dialog
|
2022-09-30 15:06:50 +03:00 |
|
Andrey Filipenkov
|
4e1b441399
|
[macOS] set app and bundle version in app bundle's Info.plist generated by CPack
|
2022-09-30 13:25:14 +03:00 |
|
Andrey Filipenkov
|
7801a2ad85
|
[iOS] show app and bundle version in system settings
|
2022-09-30 12:52:45 +03:00 |
|
Andrey Filipenkov
|
8e066a00bc
|
[iOS] set bundle version to date-commit
|
2022-09-30 12:51:47 +03:00 |
|
Andrey Filipenkov
|
3f61e6f964
|
[iOS] allow setting custom app name
|
2022-09-30 12:33:37 +03:00 |
|
Andrey Filipenkov
|
4a1933bac3
|
display build version in the launcher
|
2022-09-30 12:33:37 +03:00 |
|
Andrey Filipenkov
|
a11135152c
|
remove trivial manual implementation of assignment operator
fixes clang warning: Definition of implicit copy constructor for 'RiverType' is deprecated because it has a user-provided copy assignment operator
|
2022-09-30 11:26:36 +03:00 |
|
Andrey Filipenkov
|
836d7dc2d6
|
prohibit digging while waiting for your turn to start
|
2022-09-29 15:52:28 +03:00 |
|
Andrey Filipenkov
|
8c8394b6ed
|
fix passing coordinates of the status bar when triggering in-game console input
|
2022-09-29 13:24:23 +03:00 |
|
Andrey Filipenkov
|
593df25df5
|
[iOS] use SDL's standard input handling for in-game chat
|
2022-09-29 13:23:15 +03:00 |
|
Andrey Filipenkov
|
e8a1709fc4
|
fix typo in file name
|
2022-09-29 12:47:31 +03:00 |
|
Andrey Filipenkov
|
d1d274382c
|
[iOS] prevent keyboard appearing automatically after switching tab in launcher
|
2022-09-29 12:17:37 +03:00 |
|
Andrey Filipenkov
|
90eeb41618
|
fix healing from Elixir of Life
|
2022-09-27 14:03:36 +03:00 |
|
Andrey Filipenkov
|
e8396401f9
|
fetch Extra Resolutions mod path from the settings schema
|
2022-09-27 11:56:13 +03:00 |
|
Andrey Filipenkov
|
42ea458ccf
|
handle (un)installing Extra Resolutions mod
|
2022-09-27 11:56:13 +03:00 |
|
Andrey Filipenkov
|
d06977ecbb
|
handle enabling/disabling Extra Resolutions mod
|
2022-09-27 11:56:13 +03:00 |
|
Andrey Filipenkov
|
76b36b8951
|
iOS can use any resolution
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
063f80fac3
|
don't list resolutions larger than the selected screen's in the launcher
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
6e6bf1e77b
|
don't list resolutions larger than the current screen's in the game options
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
9aad1ae95e
|
handle integer type in vcmi <-> Qt JSON interoperability
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
36cbb2f605
|
make Display Index combobox empty by default
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
cfba8a5373
|
replace deprecated signal
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
f0b909f772
|
code improvement
|
2022-09-27 11:56:12 +03:00 |
|
Andrey Filipenkov
|
1dc7ccb7d0
|
remove declaration of non-existent function
|
2022-09-27 07:06:17 +03:00 |
|
Andrey Filipenkov
|
53ac61b52b
|
iOS: don't create unused CConsoleHandler
|
2022-09-27 07:05:10 +03:00 |
|
Andrey Filipenkov
|
70c51e4370
|
iOS: don't compile unused function
|
2022-09-27 07:01:16 +03:00 |
|
Andrey Filipenkov
|
95e3400eb9
|
raise iOS deployment target to 12.0
|
2022-09-27 06:31:06 +03:00 |
|
 Andrey FilipenkovandJohannes Schauer Marin Rodrigues
|
380100f90b
|
compile Version.cpp only when ENABLE_GITVERSION is ON
Co-authored-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
2022-09-26 23:04:05 +03:00 |
|
Andrey Filipenkov
|
802147c5b7
|
add some asserts that shouldn't fire
|
2022-09-26 14:06:55 +03:00 |
|
Andrey Filipenkov
|
bbf08afb3d
|
fix possible memory leak
|
2022-09-26 14:06:55 +03:00 |
|
Andrey Filipenkov
|
a5b62104d4
|
remove solved TODOs
|
2022-09-25 14:11:11 +03:00 |
|
Andrey Filipenkov
|
3286eb613d
|
[msvc] move AI dll dependencies to the main bin dir after build
|
2022-09-25 14:09:09 +03:00 |
|
Andrey Filipenkov
|
96c2db4d56
|
remove useless variable
|
2022-09-25 13:13:37 +03:00 |
|
Andrey Filipenkov
|
72feb538ce
|
add explicit null pointer checks
|
2022-09-25 10:05:16 +03:00 |
|
Andrey Filipenkov
|
659be89a01
|
remove setting values that are never read
|
2022-09-24 16:52:38 +03:00 |
|
 Andrey FilipenkovandNordsoft91
|
9f46bf5bff
|
Apply suggestions from code review
Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
|
2022-09-24 15:55:26 +03:00 |
|
Andrey Filipenkov
|
5f0a8419d3
|
install scripts directory only when scripting modules are enabled
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
b8eef4ce35
|
support building against iOS SDK < 13.0
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
d2ded404bb
|
use system background color for the keyboard textfield
fix kambala-decapitator/vcmi#45
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
7b4412758c
|
[CI] download dependencies from VCMI repo
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
605d5b6481
|
add dedicated macro when building as single process
fix kambala-decapitator/vcmi#40
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
f56acf8a80
|
fix crash on exiting Custom Campaign
fix kambala-decapitator/vcmi#46
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
2a50fb487f
|
[CI] produce full iOS build log
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
011f303397
|
code style improvement
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
a5f9efb3df
|
workaround GCC < 7.0 bug
template specialization from namespace must be enclosed in the namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
44174da9a2
|
fix MXE build
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
beaa1dd17c
|
add instructions for iOS
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
ef2e45a977
|
stop text input on connection start
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
3ab21d8491
|
show loading indicator when starting local server
single player or hosting a multiplayer game
|
2022-09-24 15:55:25 +03:00 |
|
Andrey Filipenkov
|
2af7c29163
|
enable Foundation assertions only in Debug build
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
031ba967d3
|
fix indentation
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
e1c9903a45
|
extract iOS helpers into a shared lib
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
ec6c72807b
|
update AUTHORS
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
84111d99ca
|
add VCMI logo to splash screen
fix kambala-decapitator/vcmi#42
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
a851e630d5
|
fix building vcmiLua for iOS
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
7b411a5fc4
|
fix building vcmiERM for iOS
|
2022-09-24 15:55:24 +03:00 |
|
Andrey Filipenkov
|
cd88f3fa9e
|
add vcmiLua headers to CMake
|
2022-09-24 15:55:24 +03:00 |
|