summaryrefslogtreecommitdiffstats
path: root/pokemod/AbilityEffect.h
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-05-26 13:36:39 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-05-26 13:36:39 +0000
commitdc9682d704118840457aa3434711eba6e003eafc (patch)
tree40ccccb7c4a220b656ec92d61277a44380cf30bd /pokemod/AbilityEffect.h
parent75b7d5c767428f7061365a186cb17a22de4112cc (diff)
downloadsigen-dc9682d704118840457aa3434711eba6e003eafc.tar.gz
sigen-dc9682d704118840457aa3434711eba6e003eafc.tar.xz
sigen-dc9682d704118840457aa3434711eba6e003eafc.zip
const arguments where possible, EggGroup, Move beginnings
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@15 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/AbilityEffect.h')
-rw-r--r--pokemod/AbilityEffect.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/pokemod/AbilityEffect.h b/pokemod/AbilityEffect.h
index 2306b35e..6d93bba3 100644
--- a/pokemod/AbilityEffect.h
+++ b/pokemod/AbilityEffect.h
@@ -39,32 +39,32 @@ namespace PokeGen
class AbilityEffect : public Object
{
public:
- AbilityEffect(unsigned _id);
- AbilityEffect(Ini &xml, unsigned _id = UINT_MAX);
+ AbilityEffect(const unsigned _id);
+ AbilityEffect(Ini &ini, const unsigned _id = UINT_MAX);
~AbilityEffect();
- void ImportIni(Ini &xml, unsigned _id = UINT_MAX);
+ void ImportIni(Ini &ini, const unsigned _id = UINT_MAX);
void ExportIni(std::ofstream &fout, const String &ability) const;
void SetChance(const Frac &c);
- void SetChance(unsigned n, unsigned d);
- void SetChanceNum(unsigned n);
- void SetChanceDenom(unsigned d);
- void SetEffect(int e);
+ void SetChance(const unsigned n, const unsigned d);
+ void SetChanceNum(const unsigned n);
+ void SetChanceDenom(const unsigned d);
+ void SetEffect(const int e);
void SetEffect(const String &e);
- void SetVal1(int v1);
+ void SetVal1(const int v1);
void SetVal1(const String &v1);
- void SetVal2(int v2);
+ void SetVal2(const int v2);
void SetVal2(const String &v2);
- void SetVal3(int v3);
- void SetTrigger(int t);
+ void SetVal3(const int v3);
+ void SetTrigger(const int t);
void SetTrigger(const String &t);
- void SetTval1(int tv1);
+ void SetTval1(const int tv1);
void SetTval1(const String &tv1);
void SetTval2(const Frac &tv2);
- void SetTval2(unsigned n, unsigned d);
- void SetTval2Num(unsigned n);
- void SetTval2Denom(unsigned d);
+ void SetTval2(const unsigned n, const unsigned d);
+ void SetTval2Num(const unsigned n);
+ void SetTval2Denom(const unsigned d);
Frac GetChance() const;
unsigned GetChanceNum() const;