Lines Matching refs:Interpreter

435 Interpreter::Interpreter(PrinceEngine *vm, Script *script, InterpreterFlags *flags) :  in Interpreter()  function in Prince::Interpreter
459 void Interpreter::debugInterpreter(const char *s, ...) { in debugInterpreter()
473 void Interpreter::stepBg() { in stepBg()
480 void Interpreter::stepFg() { in stepFg()
487 uint32 Interpreter::step(uint32 opcodePC) { in step()
518 void Interpreter::storeNewPC(int opcodePC) { in storeNewPC()
526 int Interpreter::getLastOPCode() { in getLastOPCode()
530 int Interpreter::getFgOpcodePC() { in getFgOpcodePC()
534 uint32 Interpreter::getCurrentString() { in getCurrentString()
538 void Interpreter::setCurrentString(uint32 value) { in setCurrentString()
542 byte *Interpreter::getString() { in getString()
546 void Interpreter::setString(byte *newString) { in setString()
550 void Interpreter::increaseString() { in increaseString()
557 void Interpreter::setResult(byte value) { in setResult()
561 void Interpreter::setBgOpcodePC(uint32 value) { in setBgOpcodePC()
565 void Interpreter::setFgOpcodePC(uint32 value) { in setFgOpcodePC()
569 uint16 Interpreter::readScript16() { in readScript16()
575 uint32 Interpreter::readScript32() { in readScript32()
581 int32 Interpreter::readScriptFlagValue() { in readScriptFlagValue()
589 Flags::Id Interpreter::readScriptFlagId() { in readScriptFlagId()
593 void Interpreter::O_WAITFOREVER() { in O_WAITFOREVER()
600 void Interpreter::O_BLACKPALETTE() { in O_BLACKPALETTE()
605 void Interpreter::O_SETUPPALETTE() { in O_SETUPPALETTE()
610 void Interpreter::O_INITROOM() { in O_INITROOM()
617 void Interpreter::O_SETSAMPLE() { in O_SETSAMPLE()
625 void Interpreter::O_FREESAMPLE() { in O_FREESAMPLE()
631 void Interpreter::O_PLAYSAMPLE() { in O_PLAYSAMPLE()
638 void Interpreter::O_PUTOBJECT() { in O_PUTOBJECT()
652 void Interpreter::O_REMOBJECT() { in O_REMOBJECT()
665 void Interpreter::O_SHOWANIM() { in O_SHOWANIM()
704 void Interpreter::O_CHECKANIMEND() { in O_CHECKANIMEND()
713 void Interpreter::O_FREEANIM() { in O_FREEANIM()
719 void Interpreter::O_CHECKANIMFRAME() { in O_CHECKANIMFRAME()
729 void Interpreter::O_PUTBACKANIM() { in O_PUTBACKANIM()
753 void Interpreter::O_REMBACKANIM() { in O_REMBACKANIM()
766 void Interpreter::O_CHECKBACKANIMFRAME() { in O_CHECKBACKANIMFRAME()
778 void Interpreter::O_FREEALLSAMPLES() { in O_FREEALLSAMPLES()
782 void Interpreter::O_SETMUSIC() { in O_SETMUSIC()
788 void Interpreter::O_STOPMUSIC() { in O_STOPMUSIC()
793 void Interpreter::O__WAIT() { in O__WAIT()
812 void Interpreter::O_UPDATEOFF() { in O_UPDATEOFF()
817 void Interpreter::O_UPDATEON() { in O_UPDATEON()
822 void Interpreter::O_UPDATE () { in O_UPDATE()
827 void Interpreter::O_CLS() { in O_CLS()
831 void Interpreter::O__CALL() { in O__CALL()
839 void Interpreter::O_RETURN() { in O_RETURN()
849 void Interpreter::O_GO() { in O_GO()
855 void Interpreter::O_BACKANIMUPDATEOFF() { in O_BACKANIMUPDATEOFF()
864 void Interpreter::O_BACKANIMUPDATEON() { in O_BACKANIMUPDATEON()
873 void Interpreter::O_CHANGECURSOR() { in O_CHANGECURSOR()
880 void Interpreter::O_CHANGEANIMTYPE() { in O_CHANGEANIMTYPE()
884 void Interpreter::O__SETFLAG() { in O__SETFLAG()
891 void Interpreter::O_COMPARE() { in O_COMPARE()
898 void Interpreter::O_JUMPZ() { in O_JUMPZ()
906 void Interpreter::O_JUMPNZ() { in O_JUMPNZ()
914 void Interpreter::O_EXIT() { in O_EXIT()
924 void Interpreter::O_ADDFLAG() { in O_ADDFLAG()
936 void Interpreter::O_TALKANIM() { in O_TALKANIM()
943 void Interpreter::O_SUBFLAG() { in O_SUBFLAG()
955 void Interpreter::O_SETSTRING() { in O_SETSTRING()
971 void Interpreter::O_ANDFLAG() { in O_ANDFLAG()
983 void Interpreter::O_GETMOBDATA() { in O_GETMOBDATA()
992 void Interpreter::O_ORFLAG() { in O_ORFLAG()
1004 void Interpreter::O_SETMOBDATA() { in O_SETMOBDATA()
1012 void Interpreter::O_XORFLAG() { in O_XORFLAG()
1024 void Interpreter::O_GETMOBTEXT() { in O_GETMOBTEXT()
1036 void Interpreter::O_MOVEHERO() { in O_MOVEHERO()
1045 void Interpreter::O_WALKHERO() { in O_WALKHERO()
1062 void Interpreter::O_SETHERO() { in O_SETHERO()
1082 void Interpreter::O_HEROOFF() { in O_HEROOFF()
1096 void Interpreter::O_HEROON() { in O_HEROON()
1110 void Interpreter::O_CLSTEXT() { in O_CLSTEXT()
1117 void Interpreter::O_CALLTABLE() { in O_CALLTABLE()
1130 void Interpreter::O_CHANGEMOB() { in O_CHANGEMOB()
1139 void Interpreter::O_ADDINV() { in O_ADDINV()
1146 void Interpreter::O_REMINV() { in O_REMINV()
1154 void Interpreter::O_REPINV() { in O_REPINV()
1159 void Interpreter::O_OBSOLETE_GETACTION() { in O_OBSOLETE_GETACTION()
1164 void Interpreter::O_ADDWALKAREA() { in O_ADDWALKAREA()
1169 void Interpreter::O_REMWALKAREA() { in O_REMWALKAREA()
1174 void Interpreter::O_RESTOREWALKAREA() { in O_RESTOREWALKAREA()
1178 void Interpreter::O_WAITFRAME() { in O_WAITFRAME()
1183 void Interpreter::O_SETFRAME() { in O_SETFRAME()
1191 void Interpreter::O_RUNACTION() { in O_RUNACTION()
1195 void Interpreter::O_COMPAREHI() { in O_COMPAREHI()
1207 void Interpreter::O_COMPARELO() { in O_COMPARELO()
1220 void Interpreter::O_PRELOADSET() { in O_PRELOADSET()
1225 void Interpreter::O_FREEPRELOAD() { in O_FREEPRELOAD()
1230 void Interpreter::O_CHECKINV() { in O_CHECKINV()
1234 void Interpreter::O_TALKHERO() { in O_TALKHERO()
1240 void Interpreter::O_WAITTEXT() { in O_WAITTEXT()
1259 void Interpreter::O_SETHEROANIM() { in O_SETHEROANIM()
1287 void Interpreter::O_WAITHEROANIM() { in O_WAITHEROANIM()
1304 void Interpreter::O_GETHERODATA() { in O_GETHERODATA()
1321 void Interpreter::O_GETMOUSEBUTTON() { in O_GETMOUSEBUTTON()
1325 void Interpreter::O_CHANGEFRAMES() { in O_CHANGEFRAMES()
1336 void Interpreter::O_CHANGEBACKFRAMES() { in O_CHANGEBACKFRAMES()
1349 void Interpreter::O_GETBACKANIMDATA() { in O_GETBACKANIMDATA()
1359 void Interpreter::O_GETANIMDATA() { in O_GETANIMDATA()
1369 void Interpreter::O_SETBGCODE() { in O_SETBGCODE()
1375 void Interpreter::O_SETBACKFRAME() { in O_SETBACKFRAME()
1385 void Interpreter::O_GETRND() { in O_GETRND()
1393 void Interpreter::O_TALKBACKANIM() { in O_TALKBACKANIM()
1401 void Interpreter::O_LOADPATH() { in O_LOADPATH()
1407 void Interpreter::O_GETCHAR() { in O_GETCHAR()
1419 void Interpreter::O_SETDFLAG() { in O_SETDFLAG()
1426 void Interpreter::O_CALLDFLAG() { in O_CALLDFLAG()
1434 void Interpreter::O_PRINTAT() { in O_PRINTAT()
1444 void Interpreter::O_ZOOMIN() { in O_ZOOMIN()
1450 void Interpreter::O_ZOOMOUT() { in O_ZOOMOUT()
1457 void Interpreter::O_SETSTRINGOFFSET() { in O_SETSTRINGOFFSET()
1461 void Interpreter::O_GETOBJDATA() { in O_GETOBJDATA()
1473 void Interpreter::O_SETOBJDATA() { in O_SETOBJDATA()
1485 void Interpreter::O_SWAPOBJECTS() { in O_SWAPOBJECTS()
1489 void Interpreter::O_CHANGEHEROSET() { in O_CHANGEHEROSET()
1501 void Interpreter::O_ADDSTRING() { in O_ADDSTRING()
1505 void Interpreter::O_SUBSTRING() { in O_SUBSTRING()
1511 int Interpreter::checkSeq(byte *string) { in checkSeq()
1529 void Interpreter::O_INITDIALOG() { in O_INITDIALOG()
1598 void Interpreter::O_ENABLEDIALOGOPT() { in O_ENABLEDIALOGOPT()
1606 void Interpreter::O_DISABLEDIALOGOPT() { in O_DISABLEDIALOGOPT()
1614 void Interpreter::O_SHOWDIALOGBOX() { in O_SHOWDIALOGBOX()
1628 void Interpreter::O_STOPSAMPLE() { in O_STOPSAMPLE()
1634 void Interpreter::O_BACKANIMRANGE() { in O_BACKANIMRANGE()
1663 void Interpreter::O_CLEARPATH() { in O_CLEARPATH()
1670 void Interpreter::O_SETPATH() { in O_SETPATH()
1675 void Interpreter::O_GETHEROX() { in O_GETHEROX()
1686 void Interpreter::O_GETHEROY() { in O_GETHEROY()
1697 void Interpreter::O_GETHEROD() { in O_GETHEROD()
1708 void Interpreter::O_PUSHSTRING() { in O_PUSHSTRING()
1715 void Interpreter::O_POPSTRING() { in O_POPSTRING()
1722 void Interpreter::O_SETFGCODE() { in O_SETFGCODE()
1728 void Interpreter::O_STOPHERO() { in O_STOPHERO()
1738 void Interpreter::O_ANIMUPDATEOFF() { in O_ANIMUPDATEOFF()
1744 void Interpreter::O_ANIMUPDATEON() { in O_ANIMUPDATEON()
1750 void Interpreter::O_FREECURSOR() { in O_FREECURSOR()
1757 void Interpreter::O_ADDINVQUIET() { in O_ADDINVQUIET()
1764 void Interpreter::O_RUNHERO() { in O_RUNHERO()
1773 void Interpreter::O_SETBACKANIMDATA() { in O_SETBACKANIMDATA()
1783 void Interpreter::O_VIEWFLC() { in O_VIEWFLC()
1790 void Interpreter::O_CHECKFLCFRAME() { in O_CHECKFLCFRAME()
1799 void Interpreter::O_CHECKFLCEND() { in O_CHECKFLCEND()
1808 void Interpreter::O_FREEFLC() { in O_FREEFLC()
1813 void Interpreter::O_TALKHEROSTOP() { in O_TALKHEROSTOP()
1823 void Interpreter::O_HEROCOLOR() { in O_HEROCOLOR()
1834 void Interpreter::O_GRABMAPA() { in O_GRABMAPA()
1839 void Interpreter::O_ENABLENAK() { in O_ENABLENAK()
1845 void Interpreter::O_DISABLENAK() { in O_DISABLENAK()
1851 void Interpreter::O_GETMOBNAME() { in O_GETMOBNAME()
1858 void Interpreter::O_SWAPINVENTORY() { in O_SWAPINVENTORY()
1864 void Interpreter::O_CLEARINVENTORY() { in O_CLEARINVENTORY()
1870 void Interpreter::O_SKIPTEXT() { in O_SKIPTEXT()
1875 void Interpreter::O_SETVOICEH() { in O_SETVOICEH()
1883 void Interpreter::O_SETVOICEA() { in O_SETVOICEA()
1891 void Interpreter::O_SETVOICEB() { in O_SETVOICEB()
1899 void Interpreter::O_SETVOICEC() { in O_SETVOICEC()
1907 void Interpreter::O_SETVOICED() { in O_SETVOICED()
1915 void Interpreter::O_VIEWFLCLOOP() { in O_VIEWFLCLOOP()
1922 void Interpreter::O_FLCSPEED() { in O_FLCSPEED()
1927 void Interpreter::O_OPENINVENTORY() { in O_OPENINVENTORY()
1933 void Interpreter::O_KRZYWA() { in O_KRZYWA()
1938 void Interpreter::O_GETKRZYWA() { in O_GETKRZYWA()
1943 void Interpreter::O_GETMOB() { in O_GETMOB()
1953 void Interpreter::O_INPUTLINE() { in O_INPUTLINE()
1958 void Interpreter::O_BREAK_POINT() { in O_BREAK_POINT()
1962 Interpreter::OpcodeFunc Interpreter::_opcodes[kNumOpcodes] = {
1963 &Interpreter::O_WAITFOREVER,
1964 &Interpreter::O_BLACKPALETTE,
1965 &Interpreter::O_SETUPPALETTE,
1966 &Interpreter::O_INITROOM,
1967 &Interpreter::O_SETSAMPLE,
1968 &Interpreter::O_FREESAMPLE,
1969 &Interpreter::O_PLAYSAMPLE,
1970 &Interpreter::O_PUTOBJECT,
1971 &Interpreter::O_REMOBJECT,
1972 &Interpreter::O_SHOWANIM,
1973 &Interpreter::O_CHECKANIMEND,
1974 &Interpreter::O_FREEANIM,
1975 &Interpreter::O_CHECKANIMFRAME,
1976 &Interpreter::O_PUTBACKANIM,
1977 &Interpreter::O_REMBACKANIM,
1978 &Interpreter::O_CHECKBACKANIMFRAME,
1979 &Interpreter::O_FREEALLSAMPLES,
1980 &Interpreter::O_SETMUSIC,
1981 &Interpreter::O_STOPMUSIC,
1982 &Interpreter::O__WAIT,
1983 &Interpreter::O_UPDATEOFF,
1984 &Interpreter::O_UPDATEON,
1985 &Interpreter::O_UPDATE ,
1986 &Interpreter::O_CLS,
1987 &Interpreter::O__CALL,
1988 &Interpreter::O_RETURN,
1989 &Interpreter::O_GO,
1990 &Interpreter::O_BACKANIMUPDATEOFF,
1991 &Interpreter::O_BACKANIMUPDATEON,
1992 &Interpreter::O_CHANGECURSOR,
1993 &Interpreter::O_CHANGEANIMTYPE,
1994 &Interpreter::O__SETFLAG,
1995 &Interpreter::O_COMPARE,
1996 &Interpreter::O_JUMPZ,
1997 &Interpreter::O_JUMPNZ,
1998 &Interpreter::O_EXIT,
1999 &Interpreter::O_ADDFLAG,
2000 &Interpreter::O_TALKANIM,
2001 &Interpreter::O_SUBFLAG,
2002 &Interpreter::O_SETSTRING,
2003 &Interpreter::O_ANDFLAG,
2004 &Interpreter::O_GETMOBDATA,
2005 &Interpreter::O_ORFLAG,
2006 &Interpreter::O_SETMOBDATA,
2007 &Interpreter::O_XORFLAG,
2008 &Interpreter::O_GETMOBTEXT,
2009 &Interpreter::O_MOVEHERO,
2010 &Interpreter::O_WALKHERO,
2011 &Interpreter::O_SETHERO,
2012 &Interpreter::O_HEROOFF,
2013 &Interpreter::O_HEROON,
2014 &Interpreter::O_CLSTEXT,
2015 &Interpreter::O_CALLTABLE,
2016 &Interpreter::O_CHANGEMOB,
2017 &Interpreter::O_ADDINV,
2018 &Interpreter::O_REMINV,
2019 &Interpreter::O_REPINV,
2020 &Interpreter::O_OBSOLETE_GETACTION,
2021 &Interpreter::O_ADDWALKAREA,
2022 &Interpreter::O_REMWALKAREA,
2023 &Interpreter::O_RESTOREWALKAREA,
2024 &Interpreter::O_WAITFRAME,
2025 &Interpreter::O_SETFRAME,
2026 &Interpreter::O_RUNACTION,
2027 &Interpreter::O_COMPAREHI,
2028 &Interpreter::O_COMPARELO,
2029 &Interpreter::O_PRELOADSET,
2030 &Interpreter::O_FREEPRELOAD,
2031 &Interpreter::O_CHECKINV,
2032 &Interpreter::O_TALKHERO,
2033 &Interpreter::O_WAITTEXT,
2034 &Interpreter::O_SETHEROANIM,
2035 &Interpreter::O_WAITHEROANIM,
2036 &Interpreter::O_GETHERODATA,
2037 &Interpreter::O_GETMOUSEBUTTON,
2038 &Interpreter::O_CHANGEFRAMES,
2039 &Interpreter::O_CHANGEBACKFRAMES,
2040 &Interpreter::O_GETBACKANIMDATA,
2041 &Interpreter::O_GETANIMDATA,
2042 &Interpreter::O_SETBGCODE,
2043 &Interpreter::O_SETBACKFRAME,
2044 &Interpreter::O_GETRND,
2045 &Interpreter::O_TALKBACKANIM,
2046 &Interpreter::O_LOADPATH,
2047 &Interpreter::O_GETCHAR,
2048 &Interpreter::O_SETDFLAG,
2049 &Interpreter::O_CALLDFLAG,
2050 &Interpreter::O_PRINTAT,
2051 &Interpreter::O_ZOOMIN,
2052 &Interpreter::O_ZOOMOUT,
2053 &Interpreter::O_SETSTRINGOFFSET,
2054 &Interpreter::O_GETOBJDATA,
2055 &Interpreter::O_SETOBJDATA,
2056 &Interpreter::O_SWAPOBJECTS,
2057 &Interpreter::O_CHANGEHEROSET,
2058 &Interpreter::O_ADDSTRING,
2059 &Interpreter::O_SUBSTRING,
2060 &Interpreter::O_INITDIALOG,
2061 &Interpreter::O_ENABLEDIALOGOPT,
2062 &Interpreter::O_DISABLEDIALOGOPT,
2063 &Interpreter::O_SHOWDIALOGBOX,
2064 &Interpreter::O_STOPSAMPLE,
2065 &Interpreter::O_BACKANIMRANGE,
2066 &Interpreter::O_CLEARPATH,
2067 &Interpreter::O_SETPATH,
2068 &Interpreter::O_GETHEROX,
2069 &Interpreter::O_GETHEROY,
2070 &Interpreter::O_GETHEROD,
2071 &Interpreter::O_PUSHSTRING,
2072 &Interpreter::O_POPSTRING,
2073 &Interpreter::O_SETFGCODE,
2074 &Interpreter::O_STOPHERO,
2075 &Interpreter::O_ANIMUPDATEOFF,
2076 &Interpreter::O_ANIMUPDATEON,
2077 &Interpreter::O_FREECURSOR,
2078 &Interpreter::O_ADDINVQUIET,
2079 &Interpreter::O_RUNHERO,
2080 &Interpreter::O_SETBACKANIMDATA,
2081 &Interpreter::O_VIEWFLC,
2082 &Interpreter::O_CHECKFLCFRAME,
2083 &Interpreter::O_CHECKFLCEND,
2084 &Interpreter::O_FREEFLC,
2085 &Interpreter::O_TALKHEROSTOP,
2086 &Interpreter::O_HEROCOLOR,
2087 &Interpreter::O_GRABMAPA,
2088 &Interpreter::O_ENABLENAK,
2089 &Interpreter::O_DISABLENAK,
2090 &Interpreter::O_GETMOBNAME,
2091 &Interpreter::O_SWAPINVENTORY,
2092 &Interpreter::O_CLEARINVENTORY,
2093 &Interpreter::O_SKIPTEXT,
2094 &Interpreter::O_SETVOICEH,
2095 &Interpreter::O_SETVOICEA,
2096 &Interpreter::O_SETVOICEB,
2097 &Interpreter::O_SETVOICEC,
2098 &Interpreter::O_VIEWFLCLOOP,
2099 &Interpreter::O_FLCSPEED,
2100 &Interpreter::O_OPENINVENTORY,
2101 &Interpreter::O_KRZYWA,
2102 &Interpreter::O_GETKRZYWA,
2103 &Interpreter::O_GETMOB,
2104 &Interpreter::O_INPUTLINE,
2105 &Interpreter::O_SETVOICED,
2106 &Interpreter::O_BREAK_POINT,