mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 15:09:47 +00:00
407 lines
16 KiB
C++
407 lines
16 KiB
C++
/* ScummVM - Graphic Adventure Engine
|
|
*
|
|
* ScummVM is the legal property of its developers, whose names
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
* file distributed with this source distribution.
|
|
*
|
|
* 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 "prince/flags.h"
|
|
|
|
namespace Prince {
|
|
|
|
const char *Flags::getFlagName(uint16 flagId)
|
|
{
|
|
switch (flagId) {
|
|
default: return "unknown_flag";
|
|
case FLAGA1: return "FLAGA1";
|
|
case FLAGA2: return "FLAGA2";
|
|
case FLAGA3: return "FLAGA3";
|
|
case DESTX: return "DESTX";
|
|
case DESTY: return "DESTY";
|
|
case DESTD: return "DESTD";
|
|
case DwarfDone: return "DwarfDone";
|
|
case GRABARZCOUNTER: return "GRABARZCOUNTER";
|
|
case KIERUNEK: return "KIERUNEK";
|
|
case BACKFLAG1: return "BACKFLAG1";
|
|
case BACKFLAG2: return "BACKFLAG2";
|
|
case BACKFLAG3: return "BACKFLAG3";
|
|
case BACKFLAG4: return "BACKFLAG4";
|
|
case MACROFLAG1: return "MACROFLAG1";
|
|
case MACROFLAG2: return "MACROFLAG2";
|
|
case MACROFLAG3: return "MACROFLAG3";
|
|
case HEROLDDONE: return "HEROLDDONE";
|
|
case BRIDGESET: return "BRIDGESET";
|
|
case U_BT_1: return "U_BT_1";
|
|
case U_BT_2: return "U_BT_2";
|
|
case U_BT_3: return "U_BT_3";
|
|
case U_BT_4: return "U_BT_4";
|
|
case U_BT_5: return "U_BT_5";
|
|
case U_BT_6: return "U_BT_6";
|
|
case U_BT_7: return "U_BT_7";
|
|
case U_BT_8: return "U_BT_8";
|
|
case U_BT_9: return "U_BT_9";
|
|
case U_BT_COUNTER: return "U_BT_COUNTER";
|
|
case ARIVALDALIVE: return "ARIVALDALIVE";
|
|
case TALKCHAR1: return "TALKCHAR1";
|
|
case TalkType1: return "TalkType1";
|
|
case TALKROUT1: return "TALKROUT1";
|
|
case TALKROUT2: return "TALKROUT2";
|
|
case TALKROUT3: return "TALKROUT3";
|
|
case TALKROUT4: return "TALKROUT4";
|
|
case TALKANIM1: return "TALKANIM1";
|
|
case TALKANIM2: return "TALKANIM2";
|
|
case TALKCOLOR1: return "TALKCOLOR1";
|
|
case TALKCOLOR2: return "TALKCOLOR2";
|
|
case KapciuchTaken: return "KapciuchTaken";
|
|
case CurrentBeggarA: return "CurrentBeggarA";
|
|
case TempKapc: return "TempKapc";
|
|
case HomTaken: return "HomTaken";
|
|
case WizardTalk: return "WizardTalk";
|
|
case SunlordTalk: return "SunlordTalk";
|
|
case HermitTalk: return "HermitTalk";
|
|
case RunyMode: return "RunyMode";
|
|
case FatMerchantTalk: return "FatMerchantTalk";
|
|
case HotDogTalk: return "HotDogTalk";
|
|
case ThiefTalk: return "ThiefTalk";
|
|
case BeggarTalk: return "BeggarTalk";
|
|
case MonkTalk: return "MonkTalk";
|
|
case BardTalk: return "BardTalk";
|
|
case BarmanTalk: return "BarmanTalk";
|
|
case LeftPlayerTalk: return "LeftPlayerTalk";
|
|
case OczySowy: return "OczySowy";
|
|
case CzachySpeed1: return "CzachySpeed1";
|
|
case CzachySpeed2: return "CzachySpeed2";
|
|
case CzachySpeed3: return "CzachySpeed3";
|
|
case CzachySlowDown1: return "CzachySlowDown1";
|
|
case CzachySlowDown2: return "CzachySlowDown2";
|
|
case CzachySlowDown3: return "CzachySlowDown3";
|
|
case FjordDane: return "FjordDane";
|
|
case GKopany1: return "GKopany1";
|
|
case GKopany2: return "GKopany2";
|
|
case GKopany3: return "GKopany3";
|
|
case GKopany4: return "GKopany4";
|
|
case KnowGodWord: return "KnowGodWord";
|
|
case TALKROUT21: return "TALKROUT21";
|
|
case TALKROUT22: return "TALKROUT22";
|
|
case TALKROUT23: return "TALKROUT23";
|
|
case TALKROUT24: return "TALKROUT24";
|
|
case TalkType2: return "TalkType2";
|
|
case GrabarzTalk: return "GrabarzTalk";
|
|
case LastTalker: return "LastTalker";
|
|
case MapaPustelniaEnabled: return "MapaPustelniaEnabled";
|
|
case MapaTempleEnabled: return "MapaTempleEnabled";
|
|
case MapaFjordEnabled: return "MapaFjordEnabled";
|
|
case MapaSilmanionaEnabled: return "MapaSilmanionaEnabled";
|
|
case MapaKurhanEnabled: return "MapaKurhanEnabled";
|
|
case MapaDragonEnabled: return "MapaDragonEnabled";
|
|
case MapaMillEnabled: return "MapaMillEnabled";
|
|
case DwarfRunning: return "DwarfRunning";
|
|
case DwarfTalk: return "DwarfTalk";
|
|
case CurseLift: return "CurseLift";
|
|
case KosciSwapped: return "KosciSwapped";
|
|
case BookStolen: return "BookStolen";
|
|
case MapaUsable: return "MapaUsable";
|
|
case FjordBoss: return "FjordBoss";
|
|
case FjordHotDog: return "FjordHotDog";
|
|
case FjordLewy: return "FjordLewy";
|
|
case FjordPrawy: return "FjordPrawy";
|
|
case TalkArivald: return "TalkArivald";
|
|
case ShootDone: return "ShootDone";
|
|
case ShootRunning: return "ShootRunning";
|
|
case ShootKnow: return "ShootKnow";
|
|
case MirrorKnow: return "MirrorKnow";
|
|
case Gar1stTime: return "Gar1stTime";
|
|
case KosciTaken: return "KosciTaken";
|
|
case ArivGotSpell: return "ArivGotSpell";
|
|
case BookGiven: return "BookGiven";
|
|
case Wywieszka: return "Wywieszka";
|
|
case TalkSheila: return "TalkSheila";
|
|
case TalkSheila2: return "TalkSheila2";
|
|
case BackHuman: return "BackHuman";
|
|
case SkarbiecOpen: return "SkarbiecOpen";
|
|
case LustroTaken: return "LustroTaken";
|
|
case GargoyleHom: return "GargoyleHom";
|
|
case GargoyleBroken: return "GargoyleBroken";
|
|
case FjordDzien: return "FjordDzien";
|
|
case GargoyleHom2: return "GargoyleHom2";
|
|
case RunMonstersRunning: return "RunMonstersRunning";
|
|
case FoundPaperInCoffin: return "FoundPaperInCoffin";
|
|
case KnowSunlord: return "KnowSunlord";
|
|
case KnowSunlordTalk: return "KnowSunlordTalk";
|
|
case ArivaldCzyta: return "ArivaldCzyta";
|
|
case TelepX: return "TelepX";
|
|
case TelepY: return "TelepY";
|
|
case TelepDir: return "TelepDir";
|
|
case TelepRoom: return "TelepRoom";
|
|
case ListStolen: return "ListStolen";
|
|
case WifeInDoor: return "WifeInDoor";
|
|
case TalkWifeFlag: return "TalkWifeFlag";
|
|
case LetterGiven: return "LetterGiven";
|
|
case LutniaTaken: return "LutniaTaken";
|
|
case BardHomeOpen: return "BardHomeOpen";
|
|
case FjordNoMonsters: return "FjordNoMonsters";
|
|
case ShandriaWallTalking: return "ShandriaWallTalking";
|
|
case ShandriaWallCounter: return "ShandriaWallCounter";
|
|
case ShandriaWallDone: return "ShandriaWallDone";
|
|
case FutureDone: return "FutureDone";
|
|
case TalkButch: return "TalkButch";
|
|
case GotSzalik: return "GotSzalik";
|
|
case GotCzosnek: return "GotCzosnek";
|
|
case BearDone: return "BearDone";
|
|
case NekrVisited: return "NekrVisited";
|
|
case SunRiddle: return "SunRiddle";
|
|
case PtaszekAway: return "PtaszekAway";
|
|
case KotGadanie: return "KotGadanie";
|
|
case SzlafmycaTaken: return "SzlafmycaTaken";
|
|
case BabkaTalk: return "BabkaTalk";
|
|
case SellerTalk: return "SellerTalk";
|
|
case CzosnekDone: return "CzosnekDone";
|
|
case PriestCounter: return "PriestCounter";
|
|
case PriestGest1: return "PriestGest1";
|
|
case PriestGest2: return "PriestGest2";
|
|
case PriestGest3: return "PriestGest3";
|
|
case PriestGest4: return "PriestGest4";
|
|
case PriestAnim: return "PriestAnim";
|
|
case HolyWaterTaken: return "HolyWaterTaken";
|
|
case AxeTaken: return "AxeTaken";
|
|
case BadylTaken1: return "BadylTaken1";
|
|
case BadylTaken2: return "BadylTaken2";
|
|
case BadylSharpened: return "BadylSharpened";
|
|
case PorwanieSmoka: return "PorwanieSmoka";
|
|
case ShopReOpen: return "ShopReOpen";
|
|
case LuskaShown: return "LuskaShown";
|
|
case CudKnow: return "CudKnow";
|
|
case VampireDead: return "VampireDead";
|
|
case MapaVisible1: return "MapaVisible1";
|
|
case MapaVisible2: return "MapaVisible2";
|
|
case MapaVisible3: return "MapaVisible3";
|
|
case MapaVisible4: return "MapaVisible4";
|
|
case MapaVisible5: return "MapaVisible5";
|
|
case MapaVisible6: return "MapaVisible6";
|
|
case MapaVisible7: return "MapaVisible7";
|
|
case MapaVisible8: return "MapaVisible8";
|
|
case MapaVisible9: return "MapaVisible9";
|
|
case MapaX: return "MapaX";
|
|
case MapaY: return "MapaY";
|
|
case MapaD: return "MapaD";
|
|
case OldMapaX: return "OldMapaX";
|
|
case OldMapaY: return "OldMapaY";
|
|
case OldMapaD: return "OldMapaD";
|
|
case MovingBack: return "MovingBack";
|
|
case MapaCount: return "MapaCount";
|
|
case Pustelnia1st: return "Pustelnia1st";
|
|
case CzarnePole1st: return "CzarnePole1st";
|
|
case TalkArivNum: return "TalkArivNum";
|
|
case Pfui: return "Pfui";
|
|
case MapaSunlordEnabled:return "MapaSunlordEnabled";
|
|
case WebDone: return "WebDone";
|
|
case DragonDone: return "DragonDone";
|
|
case KanPlay: return "KanPlay";
|
|
case OldKanPlay: return "OldKanPlay";
|
|
case LapkiWait: return "LapkiWait";
|
|
case WebNoCheck: return "WebNoCheck";
|
|
case Perfumeria: return "Perfumeria";
|
|
case SmokNoCheck: return "SmokNoCheck";
|
|
case IluzjaBroken: return "IluzjaBroken";
|
|
case IluzjaWorking: return "IluzjaWorking";
|
|
case IluzjaCounter: return "IluzjaCounter";
|
|
case KurhanOpen1: return "KurhanOpen1";
|
|
case KastetTaken: return "KastetTaken";
|
|
case KastetDown: return "KastetDown";
|
|
case KurhanDone: return "KurhanDone";
|
|
case SkelCounter: return "SkelCounter";
|
|
case SkelDial1: return "SkelDial1";
|
|
case SkelDial2: return "SkelDial2";
|
|
case SkelDial3: return "SkelDial3";
|
|
case SkelDial4: return "SkelDial4";
|
|
case SameTalker: return "SameTalker";
|
|
case RunMonstersText: return "RunMonstersText";
|
|
case PiwnicaChecked: return "PiwnicaChecked";
|
|
case DragonTalked: return "DragonTalked";
|
|
case ToldAboutBook: return "ToldAboutBook";
|
|
case SilmanionaDone: return "SilmanionaDone";
|
|
case ToldBookCount: return "ToldBookCount";
|
|
case SmrodNoCheck: return "SmrodNoCheck";
|
|
case RopeTaken: return "RopeTaken";
|
|
case RopeTime: return "RopeTime";
|
|
case LaskaFree: return "LaskaFree";
|
|
case ShanSmokTalked: return "ShanSmokTalked";
|
|
case SwordTaken: return "SwordTaken";
|
|
case Mill1st: return "Mill1st";
|
|
case SawRat: return "SawRat";
|
|
case KnowRat: return "KnowRat";
|
|
case DziuraTimer: return "DziuraTimer";
|
|
case LaskaInside: return "LaskaInside";
|
|
case HoleBig: return "HoleBig";
|
|
case EnableWiedzmin: return "EnableWiedzmin";
|
|
case EnableTrucizna: return "EnableTrucizna";
|
|
case KnowPoison: return "KnowPoison";
|
|
case KufelTaken: return "KufelTaken";
|
|
case BojkaEnabled: return "BojkaEnabled";
|
|
case BitwaNot1st: return "BitwaNot1st";
|
|
case BojkaTimer: return "BojkaTimer";
|
|
case BojkaGirl: return "BojkaGirl";
|
|
case Look1st: return "Look1st";
|
|
case RatTaken: return "RatTaken";
|
|
case LaskaTalkedGr: return "LaskaTalkedGr";
|
|
case RatusGivus: return "RatusGivus";
|
|
case MamObole: return "MamObole";
|
|
case Speed1st: return "Speed1st";
|
|
case SpeedTimer: return "SpeedTimer";
|
|
case ProveIt: return "ProveIt";
|
|
case Proven: return "Proven";
|
|
case ShowWoalka: return "ShowWoalka";
|
|
case PoisonTaken: return "PoisonTaken";
|
|
case HellOpened: return "HellOpened";
|
|
case HellNoCheck: return "HellNoCheck";
|
|
case TalAn1: return "TalAn1";
|
|
case TalAn2: return "TalAn2";
|
|
case TalAn3: return "TalAn3";
|
|
case TalkDevilGuard: return "TalkDevilGuard";
|
|
case Sword1st: return "Sword1st";
|
|
case IluzjaNoCheck: return "IluzjaNoCheck";
|
|
case RozdzielniaNumber: return "RozdzielniaNumber";
|
|
case JailChecked: return "JailChecked";
|
|
case JailTalked: return "JailTalked";
|
|
case TrickFailed: return "TrickFailed";
|
|
case WegielVisible: return "WegielVisible";
|
|
case WegielTimer1: return "WegielTimer1";
|
|
case RandomSample: return "RandomSample";
|
|
case RandomSampleTimer: return "RandomSampleTimer";
|
|
case SampleTimer: return "SampleTimer";
|
|
case ZonaSample: return "ZonaSample";
|
|
case HoleTryAgain: return "HoleTryAgain";
|
|
case TeleportTimer: return "TeleportTimer";
|
|
case RozLezy: return "RozLezy";
|
|
case UdkoTimer: return "UdkoTimer";
|
|
case ZaworZatkany: return "ZaworZatkany";
|
|
case ZaworOpened: return "ZaworOpened";
|
|
case DoorExploded: return "DoorExploded";
|
|
case SkoraTaken: return "SkoraTaken";
|
|
case CiezkieByl: return "CiezkieByl";
|
|
case MamWegiel: return "MamWegiel";
|
|
case SwiecaAway: return "SwiecaAway";
|
|
case ITSAVE: return "ITSAVE";
|
|
case RozpadlSie: return "RozpadlSie";
|
|
case WegielFullTimer: return "WegielFullTimer";
|
|
case WegielDown: return "WegielDown";
|
|
case WegielDownTimer: return "WegielDownTimer";
|
|
case PaliSie: return "PaliSie";
|
|
case DiabGuardTalked: return "DiabGuardTalked";
|
|
case GuardsNoCheck: return "GuardsNoCheck";
|
|
case TalkedPowloka: return "TalkedPowloka";
|
|
case JailOpen: return "JailOpen";
|
|
case PrzytulTimer: return "PrzytulTimer";
|
|
case JailDone: return "JailDone";
|
|
case MamMonety: return "MamMonety";
|
|
case LotTimer: return "LotTimer";
|
|
case LotObj: return "LotObj";
|
|
case PtakTimer: return "PtakTimer";
|
|
case BookTimer: return "BookTimer";
|
|
case BookGiba: return "BookGiba";
|
|
case PtakLata: return "PtakLata";
|
|
case Podej: return "Podej";
|
|
case GotHint: return "GotHint";
|
|
case LawaLeci: return "LawaLeci";
|
|
case PowerKlik: return "PowerKlik";
|
|
case LucekBad: return "LucekBad";
|
|
case LucekBad1st: return "LucekBad1st";
|
|
case IntroDial1: return "IntroDial1";
|
|
case IntroDial2: return "IntroDial2";
|
|
case ItsOutro: return "ItsOutro";
|
|
case KamienComment: return "KamienComment";
|
|
case KamienSkip: return "KamienSkip";
|
|
case TesterFlag: return "TesterFlag";
|
|
case RememberLine: return "RememberLine";
|
|
case OpisLapek: return "OpisLapek";
|
|
case TalWait: return "TalWait";
|
|
case OpisKamienia: return "OpisKamienia";
|
|
case JumpBox: return "JumpBox";
|
|
case JumpBox1: return "JumpBox1";
|
|
case JumpBox2: return "JumpBox2";
|
|
case JumpBox3: return "JumpBox3";
|
|
case SpecPiesek: return "SpecPiesek";
|
|
case SpecPiesekCount: return "SpecPiesekCount";
|
|
case SpecPiesekGadanie: return "SpecPiesekGadanie";
|
|
case ZnikaFlag: return "ZnikaFlag";
|
|
case ZnikaTimer: return "ZnikaTimer";
|
|
case SowaTimer: return "SowaTimer";
|
|
case MamrotanieOff: return "MamrotanieOff";
|
|
|
|
case CURRMOB: return "CURRMOB";
|
|
case KOLOR: return "KOLOR";
|
|
case MBFLAG: return "MBFLAG";
|
|
case MXFLAG: return "MXFLAG";
|
|
case MYFLAG: return "MYFLAG";
|
|
case SCROLLTYPE: return "SCROLLTYPE";
|
|
case SCROLLVALUE: return "SCROLLVALUE";
|
|
case SCROLLVALUE2: return "SCROLLVALUE2";
|
|
case TALKEXITCODE: return "TALKEXITCODE";
|
|
case SPECROUTFLAG1: return "SPECROUTFLAG1";
|
|
case SPECROUTFLAG2: return "SPECROUTFLAG2";
|
|
case SPECROUTFLAG3: return "SPECROUTFLAG3";
|
|
case TALKFLAGCODE: return "TALKFLAGCODE";
|
|
case CURRROOM: return "CURRROOM";
|
|
case Talker1Init: return "Talker1Init";
|
|
case Talker2Init: return "Talker2Init";
|
|
case RESTOREROOM: return "RESTOREROOM";
|
|
case INVALLOWED: return "INVALLOWED";
|
|
case BOXSEL: return "BOXSEL";
|
|
case CURSEBLINK: return "CURSEBLINK";
|
|
case EXACTMOVE: return "EXACTMOVE";
|
|
case MOVEDESTX: return "MOVEDESTX";
|
|
case MOVEDESTY: return "MOVEDESTY";
|
|
case NOANTIALIAS: return "NOANTIALIAS";
|
|
case ESCAPED: return "ESCAPED";
|
|
case ALLOW1OPTION: return "ALLOW1OPTION";
|
|
case VOICE_H_LINE: return "VOICE_H_LINE";
|
|
case VOICE_A_LINE: return "VOICE_A_LINE";
|
|
case VOICE_B_LINE: return "VOICE_B_LINE";
|
|
case VOICE_C_LINE: return "VOICE_C_LINE";
|
|
case NOHEROATALL: return "NOHEROATALL";
|
|
case MOUSEENABLED: return "MOUSEENABLED";
|
|
case DIALINES: return "DIALINES";
|
|
|
|
case SHANWALK: return "SHANWALK";
|
|
case SHANDOG: return "SHANDOG";
|
|
case GETACTIONBACK: return "GETACTIONBACK";
|
|
case GETACTIONDATA: return "GETACTIONDATA";
|
|
case GETACTION: return "GETACTION";
|
|
case HEROFAST: return "HEROFAST";
|
|
case SELITEM: return "SELITEM";
|
|
case LMOUSE: return "LMOUSE";
|
|
case MINMX: return "MINMX";
|
|
case MAXMX: return "MAXMX";
|
|
case MINMY: return "MINMY";
|
|
case MAXMY: return "MAXMY";
|
|
case TORX1: return "TORX1";
|
|
case TORY1: return "TORY1";
|
|
case TORX2: return "TORX2";
|
|
case TORY2: return "TORY2";
|
|
case POWER: return "POWER";
|
|
case POWERENABLED: return "POWERENABLED";
|
|
case FLCRESTORE: return "FLCRESTORE";
|
|
case NOCLSTEXT: return "NOCLSTEXT";
|
|
case ESCAPED2: return "ESCAPED2";
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
/* vim: set tabstop=4 noexpandtab: */
|