diff options
Diffstat (limited to 'pokemod/Ref.h')
-rw-r--r-- | pokemod/Ref.h | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/pokemod/Ref.h b/pokemod/Ref.h deleted file mode 100644 index 8bb0fc3e..00000000 --- a/pokemod/Ref.h +++ /dev/null @@ -1,124 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: pokemod/Ref.h -// Purpose: Define references for Objects -// Author: Ben Boeckel -// Modified by: Ben Boeckel -// Created: Thu Feb 15 8:42:45 2007 -// Copyright: ©2007 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 3 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, see <http://www.gnu.org/licenses/>. -///////////////////////////////////////////////////////////////////////////// - -#ifndef __POKEMOD_REF__ -#define __POKEMOD_REF__ - -#include <QString> - -namespace PokeGen -{ - namespace PokeMod - { - unsigned FindIn(const unsigned end, const QString& str, const char* array[]); - - enum EnumStat - { - ST_HP = 0, - ST_Attack = 1, - ST_Defense = 2, - ST_Speed = 3, - ST_Special = 4, - ST_End_RBY = 5, - ST_SpecialAttack = 4, - ST_SpecialDefense = 5, - ST_End_GSC = 6, - ST_Accuracy = 6, - ST_Evasion = 7, - ST_End_Battle = 8, - }; - const char* StatRBYStr[ST_End_Battle] = {"HP", "Attack", "Defense", "Speed", "Special", "Special", "Accuracy", "Evasion"}; - const char* StatGSCStr[ST_End_Battle] = {"HP", "Attack", "Defense", "Speed", "Special Attack", "Special Defense", "Accuracy", "Evasion"}; - - enum EnumBattleMember - { - BM_Player = 0, - BM_Enemy = 1, - BM_End = 2 - }; - const char* BattleMemberStr[BM_End] = {"Player", "Enemy"}; - -// enum EnumStatus -// { -// STS_Freeze = 0, -// STS_Paralyze = 1, -// STS_Sleep = 2, -// STS_Poison = 3, -// STS_ToxicPoison = 4, -// STS_Burn = 5, -// STS_EndShow = 6, -// STS_ANY_SHOW = 6, -// STS_End_SHOW_ANY = 7, -// STS_CONFUSED = 6, -// STS_End_CNF = 7, -// STS_ANY = 7, -// STS_End_ANY = 8, -// }; -// const char* StatusShowStr[STS_End_SHOW_ANY] = {"Freeze", "Paralyze", "Sleep", "Poison", "Toxic Poison", "Burn", "Any"}; -// const char* StatusStr[STS_End_ANY] = {"Freeze", "Paralyze", "Sleep", "Poison", "Toxic Poison", "Burn", "Confuse", "Any"}; -// const char* StatusAbbrStr[STS_End_SHOW] = {"FRZ", "PRZ", "SLP", "PSN", "PSN", "BRN"}; -// - enum EnumWeather - { - W_Ice = 0, - W_Rain = 1, - W_Sun = 2, - W_Sand = 3, - W_End_Real = 4, - W_All = 4, - W_End_All = 5 - }; - const char* WeatherStr[W_End_All] = {"Ice", "Rain", "Sun", "Sand", "All"}; - - enum EnumStatVersion - { - STV_RBY = 0, - STV_GSC = 1, - STV_End = 2 - }; - - enum EnumContestType - { - COTY_Coolness = 0, - COTY_Beauty = 1, - COTY_Cuteness = 2, - COTY_Smartness = 3, - COTY_Toughness = 4, - COTY_End = 5 - }; - const char* ContestTypeStr[COTY_End] = {"Coolness", "Beauty", "Cuteness", "Smartness", "Toughness"}; - - enum EnumDirection - { - DIR_Up = 0, - DIR_Down = 1, - DIR_Left = 2, - DIR_Right = 3, - DIR_End = 4, - DIR_None = 4, - DIR_End_None = 5 - }; - const char* DirectionStr[DIR_End_None] = {"Up", "Down", "Left", "Right", "None"}; - } -} - -#endif |