mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Updated links
This commit is contained in:
@@ -30,10 +30,10 @@ There are two basic types of operations that can be performed on the graph:
|
||||
|
||||
### Adding a new node
|
||||
|
||||
When node is attached to a new black parent [1], the propagation system is triggered and works as follows:
|
||||
When node is attached to a new black parent (the only possibility - adding parent is the same as adding a child to it), the propagation system is triggered and works as follows:
|
||||
- For the attached node and its all red ancestors
|
||||
- For every bonus
|
||||
- Call propagator giving the new descendant -\> then attach appropriately bonuses to the red descendant of attached node (or the node itself).
|
||||
- Call propagator giving the new descendant - then attach appropriately bonuses to the red descendant of attached node (or the node itself).
|
||||
|
||||
E.g. when a hero equips an artifact, the hero gets attached to the artifact to inherit its bonuses.
|
||||
|
||||
@@ -79,17 +79,3 @@ The following example shows an artifact providing a bonus based on the level of
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Calculating the total value of a bonus
|
||||
|
||||
- [List of bonus value types](List_of_bonus_value_types "wikilink")
|
||||
|
||||
## Automatic generation of bonus description
|
||||
|
||||
TBD
|
||||
|
||||
# Notes
|
||||
|
||||
<references/>
|
||||
|
||||
[1] the only possibility -\> adding parent is the same as adding a child to it
|
||||
@@ -11,7 +11,7 @@ The following instructions apply to **v1.2 and later**. For earlier versions the
|
||||
- - install with Android Studio
|
||||
- - install with `sdkmanager` command line tool
|
||||
- - download from https://developer.android.com/ndk/downloads
|
||||
- - download with Conan, see [#NDK and Conan](#NDK_and_Conan "wikilink")
|
||||
- - download with Conan, see [#NDK and Conan](#NDK_and_Conan)
|
||||
5. (optional) Ninja: download from your package manager or from https://github.com/ninja-build/ninja/releases
|
||||
|
||||
## Obtaining source code
|
||||
@@ -54,7 +54,7 @@ This is a traditional CMake project, you can build it from command line or some
|
||||
`cmake -S . -B ../build -G Ninja -D CMAKE_BUILD_TYPE=Debug --toolchain ...`
|
||||
`cmake --build ../build`
|
||||
|
||||
You can also see a more detailed walkthrough on CMake configuration at [How to build VCMI (macOS)#Configuring project for building](How_to_build_VCMI_(macOS)#Configuring_project_for_building "wikilink").
|
||||
You can also see a more detailed walkthrough on CMake configuration at [How to build VCMI (macOS)](../developers/Building_macOS.md).
|
||||
|
||||
### Java code
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ Advanced users who know exact private key and provisioning profile to sign with,
|
||||
|
||||
Open `VCMI.xcodeproj` from the build directory, select `vcmiclient` scheme (the only one with nice icon) with your destination device/simulator and hit Run (Cmd+R).
|
||||
|
||||
You must also install game files, see [Installation on iOS](Installation_on_iOS "wikilink"). But this is not necessary if you are going to run on simulator, as it is able to use game data from your Mac located at `~/Library/Application Support/vcmi`.
|
||||
You must also install game files, see [Installation on iOS](../players/Installation_iOS.md). But this is not necessary if you are going to run on simulator, as it is able to use game data from your Mac located at `~/Library/Application Support/vcmi`.
|
||||
|
||||
### From command line
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ Note that if you wish to use Qt Creator IDE, you should skip this step and confi
|
||||
|
||||
# Building project
|
||||
|
||||
You must also install game files to be able to run the built version, see [Installation on macOS](Installation_on_macOS "wikilink").
|
||||
You must also install game files to be able to run the built version, see [Installation on macOS](players/Installation_macOS.md).
|
||||
|
||||
## From Xcode IDE
|
||||
|
||||
@@ -89,7 +89,7 @@ Open `VCMI.xcodeproj` from the build directory, select `vcmiclient` scheme and h
|
||||
|
||||
After building, run `cpack` from the build directory. If using Xcode generator, also pass `-C `<configuration name> with the same configuration that you used to build the project.
|
||||
|
||||
If you use Conan, it's expected that you use **conan-generated** directory at step 4 of [#Conan package manager](#Conan_package_manager "wikilink").
|
||||
If you use Conan, it's expected that you use **conan-generated** directory at step 4 of [Conan package manager](Conan.md).
|
||||
|
||||
# Running VCMI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user