From b3e1495f7a626bb4429ff5e4f3ad39ae9654f23b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 17 Oct 2008 05:46:40 +0000 Subject: [FIX] Moved Hat, Fraction, Matrix, and Script to sigcore git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@281 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- sigscript/SigmodWrapper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sigscript/SigmodWrapper.cpp') diff --git a/sigscript/SigmodWrapper.cpp b/sigscript/SigmodWrapper.cpp index cb70ec64..88969686 100644 --- a/sigscript/SigmodWrapper.cpp +++ b/sigscript/SigmodWrapper.cpp @@ -50,9 +50,9 @@ Sigscript::SigmodWrapper::SigmodWrapper(const Sigmod::Sigmod* sigmod) : { } -Sigmod::Hat Sigscript::SigmodWrapper::natureHat() +Sigcore::Hat Sigscript::SigmodWrapper::natureHat() { - Sigmod::Hat hat; + Sigcore::Hat hat; for (int i = 0; i < m_sigmod->natureCount(); ++i) { NatureWrapper* nature = NatureWrapper::create(m_sigmod->nature(i), this); @@ -234,7 +234,7 @@ Sigscript::MapWarpWrapper* Sigscript::SigmodWrapper::startWarp() return map(m_sigmod->startMap())->warp(m_sigmod->startWarp()); } -Sigmod::Fraction Sigscript::SigmodWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const +Sigcore::Fraction Sigscript::SigmodWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const { return m_sigmod->typechart(m_sigmod->typeIndex(attacker->id()), m_sigmod->typeIndex(defender->id())); } -- cgit