summaryrefslogtreecommitdiffstats
path: root/pokemod/Script.h
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-07-20 05:57:23 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-07-20 05:57:23 +0000
commita44d3c2ebd20e05c7c574cd3a13888fc471067b9 (patch)
treeed5b1750e4e074eb1cf01a59913b97d9e9ce2f43 /pokemod/Script.h
parentac55d15e484e2357954af3a6a3573c79fbbd88d8 (diff)
downloadsigen-a44d3c2ebd20e05c7c574cd3a13888fc471067b9.tar.gz
sigen-a44d3c2ebd20e05c7c574cd3a13888fc471067b9.tar.xz
sigen-a44d3c2ebd20e05c7c574cd3a13888fc471067b9.zip
[ADD] Added pokescripting to the spec file
[FIX] Added status tips and whats this tags to widgets in pokemodr [FIX] Removed the list sprite for the species [FIX] No more nidoran group needed (scripts should take care of it) [FIX] Height no longer broken between feet and inches [FIX] Fixed a bug in the TeamMember stat generation [FIX] No more global skins; should be scripted [FIX] Missed somt COPY() macros git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@227 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Script.h')
-rw-r--r--pokemod/Script.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/pokemod/Script.h b/pokemod/Script.h
index b655b908..e1718180 100644
--- a/pokemod/Script.h
+++ b/pokemod/Script.h
@@ -29,7 +29,8 @@ namespace Pokemod
class POKEMOD_EXPORT Script
{
public:
- Script(const QString& interpreter = "", const QString& script = "");
+ Script();
+ Script(const QString& interpreter, const QString& script);
void setInterpreter(const QString& interpreter);
void setScript(const QString& script);
@@ -45,6 +46,12 @@ class POKEMOD_EXPORT Script
QString m_script;
};
+inline Script::Script() :
+ m_interpreter(""),
+ m_script("")
+{
+}
+
inline Script::Script(const QString& interpreter, const QString& script) :
m_interpreter(interpreter),
m_script(script)