summaryrefslogtreecommitdiff
path: root/src/spellmanager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader1-3/+3
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-11-27Remove extra ; from different code.Andrei Karas1-1/+1
2018-04-02Add some missing brackets in macroses.Andrei Karas1-2/+2
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-10-06remove extra includes if build without tmwa support.Andrei Karas1-0/+2
2017-07-14Replace std::vector into macro STD_VECTOR.Andrei Karas1-3/+3
In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features.
2017-06-29Move foreach macroses into separate file.Andrei Karas1-0/+1
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-14/+19
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-6/+8
2016-09-21Fix code style.Andrei Karas1-7/+7
2016-09-11Remove support for legacy configuration in SpellManager.Andrei Karas1-6/+2
2016-08-13Remove some useless includes.Andrei Karas1-0/+1
2016-07-25Add into player attributes prefix PLAYER_.Andrei Karas1-1/+1
2016-02-08Improve some empty string checks.Andrei Karas1-3/+4
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-13/+13
2016-02-07Fix some casts between signed and unsigned in some files.Andrei Karas1-1/+2
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-13Move spells and graphics related constants into separate files.Andrei Karas1-0/+2
2015-11-17Use magic command properties only if compiled for tmwa.Andrei Karas1-15/+37
2015-11-17Fix compilation without C++11 again.Andrei Karas1-1/+1
2015-11-16Move TextCommandType enum into separate file and convert to strong typed.Andrei Karas1-3/+4
2015-11-16Move MagicSchool enum into separate file and convert to strong typed.Andrei Karas1-2/+2
2015-11-16Rename SpellTarget into CommandTarget enum and convert it to strong typed.Andrei Karas1-8/+9
2015-08-09Add some missing checks to other files found by paranucker.Andrei Karas1-1/+1
2015-06-06Fix code style.Andrei Karas1-2/+2
2015-05-29Add strong typed int type BeingId.Andrei Karas1-1/+1
2015-03-17Remove useless includes from .h files.Andrei Karas1-0/+1
2015-03-16Remove useless includes from cpp filesAndrei Karas1-1/+0
2015-01-06Move attributes.h into enums directory.Andrei Karas1-1/+2
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-10-28Fix compilation warning.Andrei Karas1-1/+2
2014-10-28Dehardcode default spells/commands.Andrei Karas1-66/+35
Read commands from defaultcommands.xml. Also improve a bit saving commands in spellmanager.
2014-10-26Allow invoke chat command from invoking skill.Andrei Karas1-0/+8
New skill attribute: invokeCmd.
2014-09-26Fix code style.Andrei Karas1-1/+0
2014-09-17Remove getter for playerHandler.Andrei Karas1-1/+1
2014-09-10Change format in ActorType enum.Andrei Karas1-1/+1
2014-07-30Rename player_node variable into localPlayer.Andrei Karas1-4/+4
2014-05-29Move variables definition into each file with class definition.Andrei Karas1-0/+2
2014-05-13Move actor type into separate file.Andrei Karas1-1/+1
2014-05-11Move player attributes into separate file.Andrei Karas1-1/+2
2014-05-08Fix code style in other files.Andrei Karas1-3/+3
2014-05-02Add missing const.Andrei Karas1-1/+1
2014-04-17Add missing check in spellmanager.Andrei Karas1-0/+3
This fix crash in spells window if try drag empty cell.
2014-02-07add missing const and static keywords.Andrei Karas1-2/+2
2014-02-02Add missing const and static into other classes.Andrei Karas1-1/+1
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-10-11Second part of checks from Parasoft C++ Test.Andrei Karas1-6/+6