summaryrefslogtreecommitdiff
path: root/src/spell_type.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:55 +0100
committerBardur Arantsson <bardur@scientician.net>2015-02-23 09:11:55 +0100
commitec9c126aeeff458ce654f650fa10b3a02cfbba24 (patch)
tree3d87438a4e69cabe2525a92d943b71f945d3556d /src/spell_type.cc
parent06a218fc412f612da52ec780b6c2a02ff691b693 (diff)
Reformat spell_type ctor
Diffstat (limited to 'src/spell_type.cc')
-rw-r--r--src/spell_type.cc47
1 files changed, 24 insertions, 23 deletions
diff --git a/src/spell_type.cc b/src/spell_type.cc
index f6598bac..b8c01d31 100644
--- a/src/spell_type.cc
+++ b/src/spell_type.cc
@@ -54,29 +54,30 @@ struct spell_type
public:
- spell_type(cptr _name):
- name(_name),
- skill_level(0),
- m_description(),
- effect_func(nullptr),
- info_func(nullptr),
- lasting_func(nullptr),
- depend_func(nullptr),
- minimum_pval(0),
- casting_type(USE_SPELL_POINTS),
- casting_stat(0),
- castable_while_blind(FALSE),
- castable_while_confused(FALSE),
- device_charges({ 0, 0, 0 }),
- m_device_allocation(),
- random_type(-1),
- failure_rate(0),
- inertia_difficulty(-1),
- inertia_delay(-1),
- mana_range({ -1, -1 }),
- activation_timeout({ 0, 0, 0 }),
- school_idxs_count(0),
- school_idxs{ -1, -1, -1 } {
+ spell_type(cptr _name)
+ : name(_name)
+ , skill_level(0)
+ , m_description()
+ , effect_func(nullptr)
+ , info_func(nullptr)
+ , lasting_func(nullptr)
+ , depend_func(nullptr)
+ , minimum_pval(0)
+ , casting_type(USE_SPELL_POINTS)
+ , casting_stat(0)
+ , castable_while_blind(FALSE)
+ , castable_while_confused(FALSE)
+ , device_charges({ 0, 0, 0 })
+ , m_device_allocation()
+ , random_type(-1)
+ , failure_rate(0)
+ , inertia_difficulty(-1)
+ , inertia_delay(-1)
+ , mana_range({ -1, -1 })
+ , activation_timeout({ 0, 0, 0 })
+ , school_idxs_count(0)
+ , school_idxs{ -1, -1, -1 }
+ {
}
};