mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-14 02:33:51 +02:00
Open-source engine for Heroes of Might and Magic III
c2c352c6dd
The suspicious code was detected by `gcc-13` as: AI/Nullkiller/Goals/ExecuteHeroChain.cpp: In member function 'virtual void NKAI::Goals::ExecuteHeroChain::accept(NKAI::AIGateway*)': AI/Nullkiller/Goals/ExecuteHeroChain.cpp:130:47: warning: catching polymorphic type 'class NKAI::cannotFulfillGoalException' by value [-Wcatch-value=] 130 | catch(cannotFulfillGoalException) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ AI/Nullkiller/Goals/ExecuteHeroChain.cpp:176:23: warning: catching polymorphic type 'class NKAI::goalFulfilledException' by value [-Wcatch-value=] 176 | catch(goalFulfilledException) | ^~~~~~~~~~~~~~~~~~~~~~ Similar to object passing by value and reference passing polymorphic exceptions by reference likely destroys them when copy-constructed to a base class. Let's catch them by reference. |
||
---|---|---|
.github/workflows | ||
AI | ||
CI | ||
client | ||
cmake_modules | ||
config | ||
debian | ||
docs | ||
include | ||
ios | ||
launcher | ||
lib | ||
lib_server | ||
mapeditor | ||
Mods/vcmi | ||
osx | ||
rpm | ||
scripting | ||
scripts/lib | ||
server | ||
test | ||
win | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
AUTHORS | ||
CCallback.cpp | ||
CCallback.h | ||
ChangeLog | ||
CMakeLists.txt | ||
CMakePresets.json | ||
conanfile.py | ||
fuzzylite.pc.in | ||
Global.h | ||
license.txt | ||
README.md | ||
VCMI_global_debug.props | ||
VCMI_global_release.props | ||
VCMI_global_user.props | ||
VCMI_global.props | ||
VCMI_VS15.sln | ||
vcmi.workspace | ||
vcmibuilder | ||
vcmimanual.tex | ||
Version.cpp.in | ||
Version.h |
VCMI Project
VCMI is work-in-progress attempt to recreate engine for Heroes III, giving it new and extended possibilities.
Links
- Homepage: https://vcmi.eu/
- Wiki: https://wiki.vcmi.eu/
- Forums: https://forum.vcmi.eu/
- Bugtracker: https://github.com/vcmi/vcmi/issues
- Slack: https://slack.vcmi.eu/
Installation guides
To use VCMI you need to own original data files.
Building from source
Platform support is constantly tested by continuous integration and CMake configuration adjusted to generate nice looking projects for all major IDE. Following guides will help you to setup build environment with no effort:
- (optional) All platforms: using Conan package manager to obtain prebuilt dependencies
- On Linux
- On Linux for Windows with MXE
- On macOS
- On Windows using MSVC and Vcpkg
- iOS on macOS
Copyright and license
VCMI Project source code is licensed under GPL version 2 or later. VCMI Project assets are licensed under CC-BY-SA 4.0. Assets sources and information about contributors are available under following link: [https://github.com/vcmi/vcmi-assets]
Copyright (C) 2007-2022 VCMI Team (check AUTHORS file for the contributors list)