Add explanatory comments

This commit is contained in:
2020-02-01 22:17:27 -05:00
parent e9e6581632
commit a4dbeb4dc3

View File

@@ -12,7 +12,9 @@
#include <map>
#include "skills_traits.hpp"
// This controls how a spell is cast in combat; YES means it's the same as in town, IMMED means it has a special implementation in town, and TARGET / FANCY both mean it requires target selection.
enum eSpellRefer {REFER_YES, REFER_IMMED, REFER_TARGET, REFER_FANCY};
// This specifies whether a spell targets a party member and whether dead PCs can be chosen.
enum eSpellSelect {SELECT_NO, SELECT_ACTIVE, SELECT_ANY};
// This one is meant for indexing a bit field
enum eSpellWhen {WHEN_COMBAT = 1, WHEN_TOWN = 2, WHEN_OUTDOORS = 4};