This also fixes the behaviour with relative paths, until now, it
calculated the absolute path from the location of the top level
CMakeLists.txt instead of your current directory where you called cmake.
You need to re-run CMake and define CMAKE_INSTALL_PREFIX and remove
PREFIX! You can do so by either removing all files in your build directory
and start from scratch or run 'cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=<install_path> <path_to_source>'.
A check has been added to the CMake file to make sure that PREFIX is no
longer used.
(based on commit [12391] - d489531)
Signed-off-by: DasBlub <DasBlub@gmail.com>
* also remove "(no author)" and "@" from the authors list
* merge nicks "Tassadar" and "Tassader"
[ci skip]
(based on commit 285709a)
Signed-off-by: DasBlub <DasBlub@gmail.com>
From the CMake documentation of the FILE command:
"We do not recommend using GLOB to collect a list of source files from your
source tree. If no CMakeLists.txt file changes when a source is added or
removed then the generated build system cannot know when to ask CMake to
regenerate."
(based on commit [12390] - f123635)
Signed-off-by: DasBlub <DasBlub@gmail.com>
This moves the set command of COMMAND_ATTACK out of CharmInfo::InitPetAction bar, so that this function can be used more genericly for other purposes
Signed-off-by: Schmoozerd <cmangos>
Note: This might not be correct, but aura stacking needs some other serious research, so this should be ok for now.
Signed-off-by: Schmoozerd <schmoozerd@cmangos>
Expected way from now on is:
- Test if a map can be entered with Player::GetAreaTriggerLockStatus
- IF this doesn't return AREA_LOCKSTATUS_OK, and if wanted,
send the fail-message with Player::SendTransferAbortedByLockStatus function.
Please feedback any hidden problems!
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Actually as this is still no total order (and it is basicly impossible to define a reasonable total order for areatrigger_teleport) it is not well defined, but probably good enough for all cases
* Let EffectTeleUnitsFaceCaster use a destination for teleporting if provided
* Expect to add caster for TARGET_RANDOM_NEARBY_LOC, TARGET_RANDOM_CIRCUMFERENCE_POINT only for summon spells (or similar spells)
- Update dodge, parry, block to cata.
- Some mastery fixes and stylefixes.
- Remove some no longer used functions.
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
Implement AreaLockStatus concept by rsa
Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!
TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>