summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokeModr.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-05-03 00:32:44 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-05-03 00:32:44 +0000
commit0c6eac6b8ca7d363288890eda1a98ce167987d48 (patch)
treef37b5458200fe570d98d5052c44efa3237bffd5a /pokemodr/PokeModr.cpp
downloadsigen-0c6eac6b8ca7d363288890eda1a98ce167987d48.tar.gz
sigen-0c6eac6b8ca7d363288890eda1a98ce167987d48.tar.xz
sigen-0c6eac6b8ca7d363288890eda1a98ce167987d48.zip
Initial import
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@1 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokeModr.cpp')
-rw-r--r--pokemodr/PokeModr.cpp105
1 files changed, 105 insertions, 0 deletions
diff --git a/pokemodr/PokeModr.cpp b/pokemodr/PokeModr.cpp
new file mode 100644
index 00000000..38b9524f
--- /dev/null
+++ b/pokemodr/PokeModr.cpp
@@ -0,0 +1,105 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name: PokeModr.cpp
+// Purpose: Define an ability effect
+// Author: Ben Boeckel
+// Modified by: Ben Boeckel
+// Created: Wed Feb 14 23:44:42 2007
+// Copyright: ©2007 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
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this program; if not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+/////////////////////////////////////////////////////////////////////////////
+
+#include "PokeModrDebug.h"
+#include <iostream>
+
+#include <wx/wxprec.h>
+#ifndef WX_PRECOMP
+# include <wx/wx.h>
+#endif
+#include "../pokemod/pokemod_inc.h"
+
+using namespace std;
+using namespace PokeMod;
+
+#define PKMR_VERSION "0.0.0.1a"
+#define PKMR_DATE "Thursday, February 8, 2007"
+#define PKMR_WEBSITE "http:/""/nerdyproductions.sobertillnoon.com"
+
+PMPokemod curPokeMod;
+
+int debugLevel;
+int PMdebugLevel;
+
+int main(int argc, char *argv[])
+{
+ // Command Line argument parsing
+ for (int i = 0; i < argc; i++)
+ {
+ if (strcmp(argv[i], "--help") && strcmp(argv[i], "-h"))
+ {
+ cout << "PokéModr v" PKMR_VERSION "\n";
+ cout << "Released on " PKMR_DATE "\n";
+ cout << "Website: " PKMR_WEBSITE "\n";
+ cout << "";
+ cout << "";
+ cout << "";
+ }
+# ifdef POKEMODR_DEBUG
+ else if (strcmp(argv[i], "--debug") && strcmp(argv[i], "-d"))
+ {
+ cout << "Debugging support turned on\n";
+ debugLevel = atoi(argv[++i]);
+ }
+# endif
+# ifdef PM_DEBUG
+ else if (strcmp(argv[i], "--PMdebug"))
+ {
+ cout << "PokéMod debugging support turned on\n";
+ PMdebugLevel = atoi(argv[++i]);
+ }
+# endif
+ else if (strcmp(argv[i], "--licence") && strcmp(argv[i], "-l"))
+ {
+ cout << "This program is free software; you can redistribute it and/or modify\n";
+ cout << "it under the terms of the GNU General Public License as published by\n";
+ cout << "the Free Software Foundation; either version 2 of the License, or\n";
+ cout << "(at your option) any later version.\n\n";
+ cout << "This program is distributed in the hope that it will be useful,\n";
+ cout << "but WITHOUT ANY WARRANTY; without even the implied warranty of\n";
+ cout << "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n";
+ cout << "GNU General Public License for more details.\n\n";
+ cout << "You should have received a copy of the GNU General Public License along\n";
+ cout << "with this program; if not, write to the Free Software Foundation, Inc.,\n";
+ cout << "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n";
+ }
+ else if (strcmp(argv[i], "") && strcmp(argv[i], ""))
+ {
+
+ }
+ else if (strcmp(argv[i], "") && strcmp(argv[i], ""))
+ {
+
+ }
+ else if (strcmp(argv[i], "") && strcmp(argv[i], ""))
+ {
+
+ }
+ else
+ cout << "Command \"" << argv[i] << "\" not recognized\n";
+ }
+ // GUI initialization
+ // Program Start
+ // Clean Up
+}