diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-08-18 18:51:31 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-08-18 18:51:31 +0000 |
| commit | c1793a87ebea8c8e1bb2d5d1a409d105bfae3871 (patch) | |
| tree | b7ff53cf9747ad61a80b169e1adad96950f4b16c /pokemod/MapTrainerTeamMember.cpp | |
| parent | fa4764c9e4d86fdfa976bb9fa9f6976e82c496d5 (diff) | |
| download | sigen-c1793a87ebea8c8e1bb2d5d1a409d105bfae3871.tar.gz sigen-c1793a87ebea8c8e1bb2d5d1a409d105bfae3871.tar.xz sigen-c1793a87ebea8c8e1bb2d5d1a409d105bfae3871.zip | |
[FIX] Script to make a tarball now defaults to HEAD for the revision
[FIX] Enumeration types used to help remove some checks
[FIX] Macro code moved to static members of Object (not all though)
[FIX] Scripting wrappers now share information by keeping track of already-created instances of the wrapper
[FIX] Scripting methods are now Q_SCRIPTABLE and not slots
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@239 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/MapTrainerTeamMember.cpp')
| -rw-r--r-- | pokemod/MapTrainerTeamMember.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pokemod/MapTrainerTeamMember.cpp b/pokemod/MapTrainerTeamMember.cpp index 2c94fa60..d69411a5 100644 --- a/pokemod/MapTrainerTeamMember.cpp +++ b/pokemod/MapTrainerTeamMember.cpp @@ -79,23 +79,23 @@ void Pokemod::MapTrainerTeamMember::validate() void Pokemod::MapTrainerTeamMember::load(const QDomElement& xml) { LOAD_BEGIN(); - LOAD(int, species); - LOAD(int, level); - LOAD_LIST(int, ability); - LOAD_LIST(int, item); - LOAD_LIST(int, move); - LOAD_LIST(int, nature); + LOAD(species); + LOAD(level); + LOAD_LIST(ability); + LOAD_LIST(item); + LOAD_LIST(move); + LOAD_LIST(nature); } QDomElement Pokemod::MapTrainerTeamMember::save() const { SAVE_CREATE(); - SAVE(int, species); - SAVE(int, level); - SAVE_LIST(int, ability); - SAVE_LIST(int, item); - SAVE_LIST(int, move); - SAVE_LIST(int, nature); + SAVE(species); + SAVE(level); + SAVE_LIST(ability); + SAVE_LIST(item); + SAVE_LIST(move); + SAVE_LIST(nature); return xml; } |
