summaryrefslogtreecommitdiffstats
path: root/pokemod/Author.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-01-17 03:47:44 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-01-17 03:47:44 +0000
commit1d639b92a4487b21a29127f4fbe91d5b1d5d1952 (patch)
treede34b6b0e054dbac5e60d844f55d45f8abe7b517 /pokemod/Author.cpp
parent9ee13595462364eb9e48762778f8b3842f4b4026 (diff)
downloadsigen-1d639b92a4487b21a29127f4fbe91d5b1d5d1952.tar.gz
sigen-1d639b92a4487b21a29127f4fbe91d5b1d5d1952.tar.xz
sigen-1d639b92a4487b21a29127f4fbe91d5b1d5d1952.zip
[FIX] Added 2008 to copyrights
[FIX] Made exceptions better [FIX] Added RBY Move Effects (as well as val1 and val2 code) [FIX] Added breaks where missed [FIX] Grammar mistakes (factored out to Exceptions) [FIX] Cleaned up Species types and egg groups handling [FIX] Cleaned up Store items handling [FIX] Cleaned up Tile details git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@31 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Author.cpp')
-rw-r--r--pokemod/Author.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemod/Author.cpp b/pokemod/Author.cpp
index e113ce0d..95f3e97a 100644
--- a/pokemod/Author.cpp
+++ b/pokemod/Author.cpp
@@ -4,7 +4,7 @@
// Author: Ben Boeckel
// Modified by: Ben Boeckel
// Created: Wed Feb 28 20:42:17 2007
-// Copyright: ©2007 Nerdy Productions
+// Copyright: ©2007-2008 Ben Boeckel and Nerdy Productions
// Licence:
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -66,7 +66,7 @@ bool PokeGen::PokeMod::Author::validate() const
return valid;
}
-void PokeGen::PokeMod::Author::load(const QString& fname, const unsigned _id)
+void PokeGen::PokeMod::Author::load(const QString& fname, const unsigned _id) throw(Exception)
{
Ini ini(fname);
if (_id == UINT_MAX)
@@ -78,7 +78,7 @@ void PokeGen::PokeMod::Author::load(const QString& fname, const unsigned _id)
ini.getValue("role", role);
}
-void PokeGen::PokeMod::Author::save() const
+void PokeGen::PokeMod::Author::save() const throw(Exception)
{
Ini ini;
ini.addField("id", id);