Commit Graph

8 Commits

Author SHA1 Message Date
ratkosrb 49b9a82244 Switch to east const style. 2019-12-21 00:45:35 +02:00
ratkosrb 66659fe13f Cleanup and reorganization of Unit and SpellEntry headers. (#312)
* Move some unit and spell defines to dedicated header.

* Reorder functions in unit header.

* Clean up until spell category.

* Finish cleaning up spell functions.

* Cleanup combat system methods.

* Done cleaning up unit header.

* Reduce not needed includes.
2019-11-24 22:20:44 +02:00
ratkosrb ebab772363 Fix some static code analysis warnings and improve performance
Credits to cmangos https://github.com/cmangos/mangos-classic/commit/46229bb28c6a4362dc4f4ee88e8bdaf962cb1d58
2019-11-17 15:57:34 +02:00
ratkosrb 4afe949345 Replace usage of NULL with nullptr. 2019-11-12 19:53:42 +02:00
ratkosrb 777a470726 Allow using chat freeze command on others.
This is actually useful against bots.
2019-08-17 01:01:14 +03:00
ratkosrb 539bae6c9c Make SpellEntry related functions into class members. 2019-05-05 16:02:36 +03:00
ratkosrb 7682b69481 Cleanup chat commands a bit more. 2019-04-21 22:57:53 +03:00
ratkosrb 4b2020a2b6 Re-categorize chat commands. 2019-04-21 18:58:25 +03:00