1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-06-19 22:57:37 +02:00

23 Commits

Author SHA1 Message Date
Ivan Savenko 30458c35ce Fixes for issues Sonar view as 'critical' 2026-06-19 12:54:08 +03:00
Ivan Savenko e6e1446571 Move project name definition to CMake, append "Open Heroes 3" 2026-06-17 10:00:39 +03:00
Ivan Savenko 0919554465 Fix build failure 2026-06-13 15:17:42 +03:00
Ivan Savenko 0ec357a878 Added Lua docs exporter 2026-06-12 17:49:06 +03:00
Ivan Savenko a313899d5a Rework Ubuntu packaging and fix translation export
Goal is to fix problems with translatino exporting in some edge cases,
specifically:

- If a mod has compatibility-type submod that depends on another mod and
changes some strings, game only exports modified strings (discovered
with Ruins mod)
- Since 1.8 development is starting to get new features, including
modding changes, we no longer can use same vcmi build to validate both
1.7 and 1.8 mods. This change allows us to keep both 1.7 and 1.8 builds
in same PPA, allowing mod validation CI to select one depending on
active branch.

Changes:
- Game will now correctly turn off another mod for second re-run of
automated export, allowing to correctly export both changed and original
strings
- Removed 'debian' directory from root, Ubuntu packaging files are now
in 'packaging' directory,
- Ubuntu PPA build will now generate two packages: 'vcmi' and 'vcmi-1.7'
(soon to be changed to 1.8). This allows to explicitly install specific
vcmi branch via versioned package, or install latest version via 'vcmi'
package
- Replaced several compatibility branches with Ubuntu 22.04 and 24.04
packaging overrides with different set of files in 'packaging' directory

Current plan is:
1. Build new packages for 1.7 on daily PPA, using master branch + this
commit
2. Rebase this commit onto 1.8/develop, update packaging rules, and
switch PPA to 1.8
3. Modify mod workflow to install either 1.7 or 1.8 build depending on
active branch
2026-06-12 16:40:11 +03:00
Ivan Savenko a360415079 Export campaigns and maps in mod that added map/campaign 2026-05-06 20:48:00 +03:00
Ivan Savenko 72634ea81a Better translation exporting for mods
Better version of translation exporting logic. Compared to existiing
version it:
- places generated json's in same directory structure as recommended for
mods (`modname/Content/configtranslation/language.json`). Files are
placed in same directory before (`exported`) to reduce chance of
information loss on overwrite
- (mostly) correctly handled mods that overwrite strings from another
submod of the same mod. For now only simple cases are handled (within
same mod, and without long overwrite chains), which seems to be
sufficient for existing mods

New translation is done by server (vcmiserver / VCMI_Server.exe) and not
by client command - this is due to reloading of library in runtime which
at the moment can't be done on client, especially during ongoing game
2026-05-06 20:48:00 +03:00
George King c91d275290 [1.7.3] Fix missing Windows EXE FileInfo (#6936)
* Fix Windows EXE file info

* Add RC template

* Remove old RC templates
2026-02-22 12:36:25 +02:00
Ivan Savenko 0d2f26b653 Run unit tests as part of cross-repository PR 2026-01-25 21:21:01 +00:00
Andrey Filipenkov a3f08c2217 [conan] add MSVC support
also removes all mentions of vcpkg and cross-building from Linux
2025-08-28 16:05:11 +03:00
Ivan Savenko 4b30336d03 Fix issues detected by Sonar 2025-05-11 19:50:57 +03:00
Ivan Savenko c0fb1d1b3b Replace some raw pointers with unique's or optional 2025-04-29 12:11:10 +03:00
Ivan Savenko 222b73bbcd Simplify library initialization 2025-03-12 13:33:12 +00:00
Ivan Savenko 06be6b909c Fix build, reduce includes of CConsoleHandler 2025-03-01 21:16:41 +00:00
Ivan Savenko 782362e5ce Remove console global 2025-03-01 21:16:41 +00:00
Ivan Savenko 645b95ba02 Renamed LibClasses * VLC to GameLibrary * LIBRARY 2025-02-21 16:54:56 +00:00
Ivan Savenko 048fc503c3 Do not start listening for connections in single-player games 2025-02-03 17:24:02 +00:00
Andrey Filipenkov 3839b2cc06 [cmake] improvements 2025-01-08 15:37:20 +03:00
Simeon Manolov 9d73b50979 Bind server to a randomly assigned port 2024-07-12 01:06:36 +03:00
Evgeny Malygin 25125f96da Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
Ivan Savenko eba4347cbb Code cleanup 2024-02-11 21:54:30 +02:00
Ivan Savenko 0d263c5571 Implemented option to run server as a thread with shared VLC 2024-02-11 17:55:02 +02:00
Ivan Savenko c2286e5126 Server now consists from library and separate executable projects 2024-02-11 17:55:02 +02:00