1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-21 17:17:06 +02:00
Open-source engine for Heroes of Might and Magic III
Go to file
Ivan Savenko 3dd4fa2528 Reduce usage of pointers to VLC entities
Final goal (of multiple PR's) is to remove all remaining pointers from
serializeable game state, and replace them with either identifiers or
with shared/unique pointers.

CGTownInstance::town and CGHeroInstance::type members have been removed.
Now this data is computed dynamically using subID member.

VLC entity of a town can now be accessed via following methods:
- getFactionID() returns ID of a faction
- getFaction() returns pointer to a faction
- getTown() returns pointer to a town

VLC entity of a hero can now be accessed via following methods:
- getHeroTypeID() returns ID of a hero
- getHeroClassID() returns ID of a hero class
- getHeroType() returns pointer to a hero
- getHeroClass() returns pointer to a hero class
2024-10-10 12:28:08 +00:00
.github Fix CI 2024-09-24 13:40:15 +00:00
AI Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
android Update release date to monday 2024-08-25 19:42:25 +00:00
CI Revert "MSVC CI script: Don't run vswhere to find dumpbin.exe, since it is not used" 2024-09-14 11:03:44 +00:00
client Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
clientapp Merge pull request #4588 from Laserlicht/intro_video_rework 2024-09-19 16:18:31 +03:00
cmake_modules Version bump to 1.5.4 2024-07-05 13:48:24 +00:00
config Implement user-defined cursor scaling 2024-10-09 17:37:54 +00:00
debian Merge branch 'master' into 'develop' 2024-08-26 14:01:00 +00:00
docs Updated docs 2024-10-06 19:44:32 +00:00
include Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
ios [launcher] show button to copy existing data on iOS >= 13 2024-06-09 18:20:39 +03:00
launcher Merge pull request #4704 from IvanSavenko/video_autodetect 2024-10-10 15:00:40 +03:00
lib Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
lobby Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
mapeditor Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
Mods/vcmi Update swedish.json 2024-10-08 21:30:50 +02:00
osx [launcher] build for Android 2024-06-08 00:09:04 +03:00
rpm Update RPM spec 2020-05-05 18:44:42 +10:00
scripting Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
scripts/lib Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
server Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
serverapp Bind server to a randomly assigned port 2024-07-12 01:06:36 +03:00
test Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
vcmiqt Fix static linking 2024-10-09 11:27:43 +03:00
win Update vcpkg, fix QT paths 2022-09-24 10:53:09 +03:00
xcode Move ccache wrappers for macOS and iOS builds to apple/ dir 2023-10-06 21:08:45 +02:00
.gitattributes Fix links 2023-09-07 11:04:01 +03:00
.gitignore Add .directory files to .gitignore 2024-07-15 20:32:16 +02:00
.gitmodules Update googletest submodule 2024-08-02 15:09:48 +00:00
.travis.yml remove slack 2024-07-10 12:49:53 +02:00
AUTHORS.h AUTHORS.h: Global variables should be const. 2023-10-27 14:29:34 +00:00
CCallback.cpp Reduce usage of pointers to VLC entities 2024-10-10 12:28:08 +00:00
CCallback.h Implemented serialization of local player state in json form 2024-10-08 20:04:32 +00:00
ChangeLog.md Updated changelog with all new changes so far 2024-09-20 10:06:25 +00:00
CMakeLists.txt Merge pull request #4726 from wb180/vcmiqt_lib 2024-10-07 17:37:51 +03:00
CMakePresets.json Try to generate aab instead of apk 2024-06-21 14:58:33 +00:00
conanfile.py fix error during ios build 2024-09-15 17:37:11 +03:00
fuzzylite.pc.in Upgrade to fuzzylite 6.0 as a submodule 2017-08-15 16:05:49 +03:00
Global.h Merge pull request #4358 from IvanSavenko/integer_divide 2024-08-06 18:10:03 +03:00
license.txt convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
vcmibuilder [vcmibuilder] fix default destination directory on macOS 2023-04-01 14:25:26 +03:00
Version.cpp.in wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
Version.h fix MXE build 2022-09-24 15:55:25 +03:00

VCMI Github Downloads Github Downloads Github Downloads Github Downloads

VCMI Project

VCMI is an open-source recreation of Heroes of Might & Magic III engine, giving it new and extended possibilities.

Vanilla town siege in extended window Vanilla town view with radial menu for touchscreen devices Large Spellbook with German translation New widget for Hero selection, featuring Pavillon Town

Latest release

Latest release can be found in Github Releases page. As of right now we plan to have major releases around 3 times per year. Daily builds are still available at builds.vcmi.download but they are not guaranteed to be stable. So we encourage everybody to use them and report found bugs so that we can fix them. Loading saves made with different major version of VCMI is usually not supported, so you may want to finish your ongoing games before updating. Please see corresponding installation guide articles for details for your platform.

Installation guides

Forge Town in battle Asylum town with new creature dialog Ruins town siege Map editor

Documentation and guidelines for players

Documentation and guidelines for translators

Documentation and guidelines for game modders

Documentation and guidelines for developers

Development environment setup instructions:

Engine documentation: (NOTE: may be outdated)

Documentation and guidelines for maintainers

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-2024 VCMI Team (check AUTHORS file for the contributors list)