#!/usr/bin/python # 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. # from tasm.parser import parser from tasm.cpp import cpp p = parser() p.strip_path = 3 context = p.parse('dreamweb/dreamweb.asm') p.link() generator = cpp(context, "DreamGen", blacklist = [ # These functions are not processed 'aboutturn', 'accesslightoff', 'accesslighton', 'actualload', 'actualsave', 'addalong', 'addlength', 'addtopeoplelist', 'addtopresslist', 'adjustlen', 'allocatebuffers', 'allocateload', 'allocatework', 'animpointer', 'autolook', 'autosetwalk', 'backobject', 'barwoman', 'blockget', 'blocknametext', 'bothchannels', 'bresenhams', 'buttoneight', 'buttonenter', 'buttonfive', 'buttonfour', 'buttonnine', 'buttonnought', 'buttonone', 'buttonpress', 'buttonseven', 'buttonsix', 'buttonthree', 'buttontwo', 'calcfrframe', 'calcmapad', 'cancelch0', 'cancelch1', 'channel0only', 'channel0tran', 'channel1only', 'checkbasemem', 'checkcoords', 'checkdest', 'checkforemm', 'checkifex', 'checkiffree', 'checkifpathison', 'checkifperson', 'checkifset', 'checkone', 'checkspeed', 'clearendpal', 'clearsprites', 'clearstartpal', 'clearwork', 'cls', 'commandonly', 'commandwithob', 'compare', 'constant', 'convertkey', 'convicons', 'convnum', 'copyname', 'createpanel', 'createpanel2', 'credits', 'crosshair', 'dealwithspecial', 'delcurs', 'deletetaken', 'delpointer', 'delsprite', 'deltextline', 'delthisone', 'disablepath', 'dmaend', 'doblocks', 'dochange', 'dodoor', 'doload', 'dolook', 'domix', 'doorway', 'drawflags', 'drawfloor', 'dumpblink', 'dumpeverything', 'dumpmap', 'dumpmenu', 'dumppointer', 'dumptextline', 'dumptimedtext', 'dumpwatch', 'eden', 'endpaltostart', 'entercode', 'eraseoldobs', 'examineob', 'examineobtext', 'facerightway', 'fadecalculation', 'fadeupmonfirst', 'fadeupyellows', 'femalefan', 'fillryan', 'fillspace', 'finalframe', 'findallryan', 'findlen', 'findnextcolon', 'findobname', 'findormake', 'findroominloc', 'findsource', 'findxyfrompath', 'finishedwalking', 'folderexit', 'folderhints', 'frameoutbh', 'frameoutfx', 'frameoutnm', 'frameoutv', 'gamer', 'getbackfromob', 'getblockofpixel', 'getdimension', 'getexpos', 'getflagunderp', 'getlocation', 'getmapad', 'getnextword', 'getnumber', 'getpersframe', 'getreelframeax', 'getreelstart', 'getridofpit', 'getridoftemp', 'getridoftemp2', 'getridoftemp3', 'getridoftempcharset', 'getridoftempsp', 'getridoftemptext', 'getroomdata', 'getroomspaths', 'getundermenu', 'getundertimed', 'getxad', 'getyad', 'hangon', 'hangoncurs', 'hangonp', 'hangonw', 'initman', 'initrain', 'input', 'inventory', 'isitdescribed', 'isitright', 'isitworn', 'kernchars', 'lastfolder', 'liftsprite', 'loadfolder', 'loadgame', 'loadintotemp', 'loadintotemp2', 'loadintotemp3', 'loadmenu', 'loadold', 'loadpalfromiff', 'loadposition', 'loadroom', 'loadroomssample', 'loadtempcharset', 'loadtemptext', 'loadtraveltext', 'lockeddoorway', 'lockmon', 'look', 'loopchannel0', 'madman', 'madmantext', 'madmode', 'mainman', 'mainscreen', 'makebackob', 'makeheader', 'makename', 'makenextblock', 'makesprite', 'makeworn', 'malefan', 'maptopanel', 'modifychar', 'monmessage', 'monprint', 'movemap', 'multidump', 'multiget', 'multiput', 'namestoold', 'neterror', 'nextfolder', 'obicons', 'obname', 'obpicture', 'obtoinv', 'oldtonames', 'onedigit', 'openforsave', 'othersmoker', 'out22c', 'paltoendpal', 'paltostartpal', 'paneltomap', 'parseblaster', 'personnametext', 'pitinterupt', 'pixelcheckset', 'placesetobject', 'playchannel0', 'playchannel1', 'plotreel', 'powerlightoff', 'powerlighton', 'printasprite', 'printboth', 'printchar', 'printcurs', 'printdirect', 'printlogo', 'printmessage', 'printslow', 'printsprites', 'printundermon', 'putundermenu', 'putundertimed', 'quickquit', 'quickquit2', 'random', 'randomaccess', 'randomnumber', 'readabyte', 'readheader', 'readmouse', 'readmouse1', 'readmouse2', 'readmouse3', 'readmouse4', 'readoneblock', 'readsetdata', 'reconstruct', 'reelsonscreen', 'removeemm', 'removesetobject', 'restoreall', 'restoreems', 'restorereels', 'rockstar', 'roomname', 'saveems', 'savefilewrite', 'savegame', 'saveload', 'saveposition', 'saveseg', 'scanfornames', 'screenupdate', 'scrollmonitor', 'seecommandtail', 'setallchanges', 'setlocation', 'setupemm', 'setuppit', 'setuptimedtemp', 'showallex', 'showallfree', 'showallobs', 'showblink', 'showbyte', 'showcity', 'showcurrentfile', 'showdiscops', 'showfirstuse', 'showfolder', 'showframe', 'showgamereel', 'showicon', 'showkeypad', 'showleftpage', 'showmainops', 'showmenu', 'showoutermenu', 'showouterpad', 'showpanel', 'showpointer', 'showrain', 'showreelframe', 'showrightpage', 'showryanpage', 'showseconduse', 'showtime', 'showwatch', 'showword', 'singlekey', 'sortoutmap', 'sparky', 'sparkydrip', 'splitintolines', 'spriteupdate', 'standardload', 'startdmablock', 'startloading', 'startpaltoend', 'startup', 'startup1', 'steady', 'storeit', 'switchryanoff', 'switchryanon', 'textforend', 'textformonk', 'transferinv', 'transfertext', 'trysoundalloc', 'turnanypathoff', 'turnanypathon', 'turnonpower', 'turnpathoff', 'turnpathon', 'twodigitnum', 'updatepeople', 'usecharset1', 'usemenu', 'usemon', 'useroutine', 'usetempcharset', 'usetext', 'usetimedtext', 'viewfolder', 'waitframes', 'walkandexamine', 'walking', 'walktotext', 'watchcount', 'widedoor', 'width160', 'worktoscreen', 'worktoscreenm', 'wornerror', 'zoom', 'zoomicon', 'zoomonoff', ], skip_output = [ 'dreamweb', # These functions are processed but not output ], skip_dispatch_call = True, skip_addr_constants = True, header_omit_blacklisted = True, function_name_remapping = { # This remaps the function naming at output for readability 'bothchannels' : 'bothChannels', 'usewire' : 'useWire', 'getnamepos' : 'getNamePos', 'loadtemptext' : 'loadTempText', 'femalefan' : 'femaleFan', 'identifyob' : 'identifyOb', 'trysoundalloc' : 'trySoundAlloc', 'uselighter' : 'useLighter', 'showmenu' : 'showMenu', 'usepoolreader' : 'usePoolReader', 'startdmablock' : 'startDMABlock', 'useopenbox' : 'useOpenBox', 'clearbuffers' : 'clearBuffers', 'channel0only' : 'channel0only', 'worktoscreenm' : 'workToScreenM', 'removeemm' : 'removeEMM', 'getobtextstart' : 'getObTextStart', 'dumpdiarykeys' : 'dumpDiaryKeys', 'getridofreels' : 'getRidOfReels', 'readkey' : 'readKey', 'louis' : 'louis', 'entrytexts' : 'entryTexts', 'buttonenter' : 'buttonEnter', 'checkinput' : 'checkInput', 'setmode' : 'setMode', 'getbackfromops' : 'getBackFromOps', 'opensarters' : 'openSarters', 'putundercentre' : 'putUnderCentre', 'checkobjectsize' : 'checkObjectSize', 'titles' : 'titles', 'deallocatemem' : 'deallocateMem', 'mainscreen' : 'mainScreen', 'watchreel' : 'watchReel', 'showslots' : 'showSlots', 'openfilefromc' : 'openFileFromC', 'gettime' : 'getTime', 'loadtraveltext' : 'loadTravelText', 'fadedos' : 'fadeDOS', 'drawfloor' : 'drawFloor', 'loadkeypad' : 'loadKeypad', 'findtext1' : 'findText1', 'isryanholding' : 'isRyanHolding', 'interupttest' : 'interruptTest', 'usecashcard' : 'useCashCard', 'usewall' : 'useWall', 'opentomb' : 'openTomb', 'buttonfour' : 'buttonFour', 'dosometalk' : 'doSomeTalk', 'getanyaddir' : 'getAnyAdDir', 'showsaveops' : 'showSaveOps', 'intromonks1' : 'introMonks1', 'resetlocation' : 'resetLocation', 'intromonks2' : 'introMonks2', 'advisor' : 'advisor', 'additionaltext' : 'additionalText', 'othersmoker' : 'otherSmoker', 'dofade' : 'doFade', 'useelevator5' : 'useElevator5', 'useelevator4' : 'useElevator4', 'useelevator1' : 'useElevator1', 'useelevator3' : 'useElevator3', 'useelevator2' : 'useElevator2', 'buttonone' : 'buttonOne', 'keyboardread' : 'keyboardRead', 'entercode' : 'enterCode', 'getopenedsize' : 'getOpenedSize', 'doshake' : 'doShake', 'resetkeyboard' : 'resetKeyboard', 'soundstartup' : 'soundStartup', 'slabdoora' : 'sLabDoorA', 'slabdoorc' : 'sLabDoorC', 'slabdoorb' : 'sLabDoorB', 'slabdoore' : 'sLabDoorE', 'slabdoord' : 'sLabDoorD', 'adjustup' : 'adjustUp', 'slabdoorf' : 'sLabDoorF', 'loadintroroom' : 'loadIntroRoom', 'mousecall' : 'mouseCall', 'train' : 'train', 'fadedownmon' : 'fadeDownMon', 'loadcart' : 'loadCart', 'bartender' : 'bartender', 'eden' : 'eden', 'showdiary' : 'showDiary', 'outofopen' : 'outOfOpen', 'dircom' : 'dirCom', 'dumpkeypad' : 'dumpKeypad', 'showsymbol' : 'showSymbol', 'endgameseq' : 'endGameSeq', 'setbotleft' : 'setBotLeft', 'findfirstpath' : 'findFirstPath', 'loadold' : 'loadOld', 'useslab' : 'useSLab', 'dumpzoom' : 'dumpZoom', 'usealtar' : 'useAltar', 'manasleep2' : 'manAsleep2', 'moretalk' : 'moreTalk', 'starttalk' : 'startTalk', 'delchar' : 'delChar', 'getanyad' : 'getAnyAd', 'endgame' : 'endGame', 'usepipe' : 'usePipe', 'getunderzoom' : 'getUnderZoom', 'candles' : 'candles', 'backobject' : 'backObject', 'rollendcredits2' : 'rollEndCredits2', 'reminders' : 'reminders', 'selectslot2' : 'selectSlot2', 'runtap' : 'runTap', 'talk' : 'talk', 'getridoftemp2' : 'getRidOfTemp2', 'usebalcony' : 'useBalcony', 'runendseq' : 'runEndSeq', 'decide' : 'decide', 'disablesoundint' : 'disableSoundInt', 'priesttext' : 'priestText', 'openpoolboss' : 'openPoolBoss', 'buttontwo' : 'buttonTwo', 'fadescreendownhalf' : 'fadeScreenDownHalf', 'useplate' : 'usePlate', 'candles1' : 'candles1', 'lookininterface' : 'lookInInterface', 'manasleep' : 'manAsleep', 'hotelbell' : 'hotelBell', 'loadspeech' : 'loadSpeech', 'adjustleft' : 'adjustLeft', 'calledenslift' : 'callEdensLift', 'useclearbox' : 'useClearBox', 'entryanims' : 'entryAnims', 'getfreead' : 'getFreeAd', 'showarrows' : 'showArrows', 'walkintoroom' : 'walkIntoRoom', 'usehatch' : 'useHatch', 'printoutermon' : 'printOuterMon', 'setuppit' : 'setupPit', 'showpcx' : 'showPCX', 'showdecisions' : 'showDecisions', 'checkspeed' : 'checkSpeed', 'showkeypad' : 'showKeypad', 'removeobfrominv' : 'removeObFromInv', 'usecoveredbox' : 'useCoveredBox', 'openyourneighbour' : 'openYourNeighbour', 'fadescreenuphalf' : 'fadeScreenUpHalf', 'getridoftempcharset' : 'getRidOfTempCharset', 'heavy' : 'heavy', 'usekey' : 'useKey', 'locklighton' : 'lockLightOn', 'useladderb' : 'useLadderB', 'discops' : 'discOps', 'middlepanel' : 'middlePanel', 'monitorlogo' : 'monitorLogo', 'entersymbol' : 'enterSymbol', 'dirfile' : 'dirFile', 'pickupconts' : 'pickupConts', 'locklightoff' : 'lockLightOff', 'wearwatch' : 'wearWatch', 'runintroseq' : 'runIntroSeq', 'nextcolon' : 'nextColon', 'attendant' : 'attendant', 'nextsymbol' : 'nextSymbol', 'monks2text' : 'monks2text', 'clearpalette' : 'clearPalette', 'cantdrop' : 'cantDrop', 'getridofall' : 'getRidOfAll', 'copper' : 'copper', 'openhoteldoor' : 'openHotelDoor', 'blank' : 'blank', 'drinker' : 'drinker', 'placefreeobject' : 'placeFreeObject', 'allpalette' : 'allPalette', 'rockstar' : 'rockstar', 'adjustright' : 'adjustRight', 'putunderzoom' : 'putUnderZoom', 'vsync' : 'vSync', 'findinvpos' : 'findInvPos', 'dumpmenu' : 'dumpMenu', 'liftnoise' : 'liftNoise', 'workoutframes' : 'workoutFrames', 'dumpsymbox' : 'dumpSymBox', 'loadgame' : 'loadGame', 'getridoftemp' : 'getRidOfTemp', 'dumpsymbol' : 'dumpSymbol', 'buttonsix' : 'buttonSix', 'intro2text' : 'intro2Text', 'showouterpad' : 'showOuterPad', 'getkeyandlogo' : 'getKeyAndLogo', 'selectob' : 'selectOb', 'useplinth' : 'usePlinth', 'usecooker' : 'useCooker', 'loadmenu' : 'loadMenu', 'checkforemm' : 'checkForEMM', 'receptionist' : 'receptionist', 'selectslot' : 'selectSlot', 'openfilenocheck' : 'openFileNoCheck', 'fadeupmon' : 'fadeUpMon', 'fadetowhite' : 'fadeToWhite', 'loadsavebox' : 'loadSaveBox', 'soundend' : 'soundEnd', 'redes' : 'redes', 'errormessage1' : 'errorMessage1', 'errormessage2' : 'errorMessage2', 'errormessage3' : 'errorMessage3', 'intromagic2' : 'introMagic2', 'intromagic3' : 'introMagic3', 'edeninbath' : 'edenInBath', 'intromagic1' : 'introMagic1', 'showdiarypage' : 'showDiaryPage', 'useshield' : 'useShield', 'getbacktoops' : 'getBackToOps', 'rollendcredits' : 'rollEndCredits', 'intro1text' : 'intro1Text', 'transfertoex' : 'transferToEx', 'steady' : 'steady', 'reexfrominv' : 'reExFromInv', 'examinventory' : 'examineInventory', 'getridoftemp3' : 'getRidOfTemp3', 'usedryer' : 'useDryer', 'outofinv' : 'outOfInv', 'diarykeyp' : 'diaryKeyP', 'random' : 'random', 'mainman' : 'mainMan', 'mansatstill' : 'manSatStill', 'channel1only' : 'channel1only', 'transfermap' : 'transferMap', 'showmonk' : 'showMonk', 'diarykeyn' : 'diaryKeyN', 'set16colpalette' : 'set16ColPalette', 'sparky' : 'sparky', 'interviewer' : 'interviewer', 'purgeanitem' : 'purgeAnItem', 'madman' : 'madman', 'chewy' : 'chewy', 'madmanstelly' : 'madmansTelly', 'constant' : 'constant', 'purgealocation' : 'purgeALocation', 'sparkydrip' : 'sparkyDrip', 'getridofpit' : 'getRidOfPit', 'nothelderror' : 'notHeldError', 'getsetad' : 'getSetAd', 'soldier1' : 'soldier1', 'getundercentre' : 'getUnderCentre', 'checkforexit' : 'checkForExit', 'loadseg' : 'loadSeg', 'showkeys' : 'showKeys', 'setkeyboardint' : 'setKeyboardInt', 'priest' : 'priest', 'printmessage2' : 'printmessage2', 'loadnews' : 'loadNews', 'rollem' : 'rollEm', 'hangonpq' : 'hangOnPQ', 'savegame' : 'saveGame', 'findopenpos' : 'findOpenPos', 'describeob' : 'describeOb', 'deleteexframe' : 'deleteExFrame', 'bossman' : 'bossMan', 'dosreturn' : 'DOSReturn', 'wheelsound' : 'wheelSound', 'playguitar' : 'playGuitar', 'searchforsame' : 'searchForSame', 'enablesoundint' : 'enableSoundInt', 'getback1' : 'getBack1', 'fadefromwhite' : 'fadeFromWhite', 'usewindow' : 'useWindow', 'wearshades' : 'wearShades', 'pitinterupt' : 'pitInterrupt', 'deleverything' : 'delEverything', 'fadescreendown' : 'fadeScreenDown', 'poolguard' : 'poolGuard', 'openinv' : 'openInv', 'lookatplace' : 'lookAtPlace', 'useaxe' : 'useAxe', 'buttonnought' : 'buttonNought', 'useelvdoor' : 'useElvDoor', 'putbackobstuff' : 'putBackObStuff', 'useladder' : 'useLadder', 'realcredits' : 'realCredits', 'handclap' : 'handClap', 'smokebloke' : 'smokeBloke', 'afterintroroom' : 'afterIntroRoom', 'buttonnine' : 'buttonNine', 'findallopen' : 'findAllOpen', 'gamer' : 'gamer', 'readfromfile' : 'readFromFile', 'initialinv' : 'initialInv', 'quitsymbol' : 'quitSymbol', 'settopright' : 'setTopRight', 'findsetobject' : 'findSetObject', 'singlekey' : 'singleKey', 'hangone' : 'hangOne', 'carparkdrip' : 'carParkDrip', 'usediary' : 'useDiary', 'deleteexobject' : 'deleteExObject', 'moneypoke' : 'moneyPoke', 'destselect' : 'destSelect', 'restoreems' : 'restoreEMS', 'lastdest' : 'lastDest', 'removefreeobject' : 'removeFreeObject', 'trapdoor' : 'trapDoor', 'openlouis' : 'openLouis', 'buttonthree' : 'buttonThree', 'lookatcard' : 'lookAtCard', 'helicopter' : 'helicopter', 'setsoundoff' : 'setSoundOff', 'setpickup' : 'setPickup', 'dropobject' : 'dropObject', 'isitright' : 'isItRight', 'reexfromopen' : 'reExFromOpen', 'drawitall' : 'drawItAll', 'usestereo' : 'useStereo', 'candles2' : 'candles2', 'pickupob' : 'pickupOb', 'error' : 'error', 'showopbox' : 'showOpBox', 'clearbeforeload' : 'clearBeforeLoad', 'biblequote' : 'bibleQuote', 'doload' : 'doLoad', 'showexit' : 'showExit', 'usetrainer' : 'useTrainer', 'addtopresslist' : 'addToPressList', 'dmaend' : 'DMAEnd', 'dumpcurrent' : 'dumpCurrent', 'showdiarykeys' : 'showDiaryKeys', 'dontloadseg' : 'dontLoadSeg', 'intro3text' : 'intro3Text', 'allocatemem' : 'allocateMem', 'useopened' : 'useOpened', 'inventory' : 'inventory', 'fillopen' : 'fillOpen', 'signon' : 'signOn', 'deleteextext' : 'deleteExText', 'foghornsound' : 'foghornSound', 'showloadops' : 'showLoadOps', 'examicon' : 'examIcon', 'showgun' : 'showGun', 'louischair' : 'louisChair', 'saveems' : 'saveEMS', 'locationpic' : 'locationPic', 'opentvdoor' : 'openTVDoor', 'triggermessage' : 'triggerMessage', 'smallcandle' : 'smallCandle', 'swapwithopen' : 'swapWithOpen', 'dreamweb' : 'dreamweb', 'droperror' : 'dropError', 'edenscdplayer' : 'edensCDPlayer', 'calledensdlift' : 'callEdensDLift', 'checkinside' : 'checkInside', 'gates' : 'gates', 'newgame' : 'newGame', 'setwalk' : 'setWalk', 'findpathofpoint' : 'findPathOfPoint', 'issetobonmap' : 'isSetObOnMap', 'getdestinfo' : 'getDestInfo', 'drunk' : 'drunk', 'getridoftemptext' : 'getRidOfTempText', 'setuptimeduse' : 'setupTimedUse', 'grafittidoor' : 'grafittiDoor', 'nextdest' : 'nextDest', 'makecaps' : 'makeCaps', 'read' : 'read', 'fadescreenups' : 'fadeScreenUps', 'hotelcontrol' : 'hotelControl', 'mugger' : 'mugger', 'atmospheres' : 'atmospheres', 'out22c' : 'out22c', 'loadpersonal' : 'loadPersonal', 'gettingshot' : 'gettingShot', 'settopleft' : 'setTopLeft', 'searchforstring' : 'searchForString', 'selectopenob' : 'selectOpenOb', 'security' : 'security', 'buttonfive' : 'buttonFive', 'soundonreels' : 'soundOnReels', 'usegun' : 'useGun', 'autoappear' : 'autoAppear', 'openryan' : 'openRyan', 'callhotellift' : 'callHotelLift', 'showman' : 'showMan', 'usefullcart' : 'useFullCart', 'newplace' : 'newPlace', 'loadsample' : 'loadSample', 'usecardreader1' : 'useCardReader1', 'usecardreader2' : 'useCardReader2', 'usecardreader3' : 'useCardReader3', 'tattooman' : 'tattooMan', 'usehandle' : 'useHandle', 'openfile' : 'openFile', 'showpuztext' : 'showPuzText', 'incryanpage' : 'incRyanPage', 'greyscalesum' : 'greyscaleSum', 'buttoneight' : 'buttonEight', 'findexobject' : 'findExObject', 'clearchanges' : 'clearChanges', 'usechurchhole' : 'useChurchHole', 'searchforfiles' : 'searchForFiles', 'monkspeaking' : 'monkSpeaking', 'clearrest' : 'clearRest', 'barwoman' : 'barWoman', 'credits' : 'credits', 'madmanrun' : 'madmanRun', 'randomnum1' : 'randomNum1', 'keeper' : 'keeper', 'afternewroom' : 'afterNewRoom', 'getexad' : 'getExAd', 'closefile' : 'closeFile', 'initialmoncols' : 'initialMonCols', 'checkforshake' : 'checkForShake', 'usebuttona' : 'useButtonA', 'fadescreenup' : 'fadeScreenUp', 'generalerror' : 'generalError', 'mode640x480' : 'mode640x480', 'openeden' : 'openEden', 'execcommand' : 'execCommand', 'obsthatdothings' : 'obsThatDoThings', 'updatesymbolbot' : 'updateSymbolBot', 'findpuztext' : 'findPuzText', 'usechurchgate' : 'useChurchGate', 'monkandryan' : 'monkAndRyan', 'allocatebuffers' : 'allocateBuffers', 'swapwithinv' : 'swapWithInv', 'usecontrol' : 'useControl', 'buttonseven' : 'buttonSeven', 'redrawmainscrn' : 'redrawMainScrn', 'showgroup' : 'showGroup', 'buttonpress' : 'buttonPress', 'makemainscreen' : 'makeMainScreen', 'usewinch' : 'useWinch', 'setbotright' : 'setBotRight', 'setupemm' : 'setupEMM', 'aide' : 'aide', 'geteitherad' : 'getEitherAd', 'zoomonoff' : 'zoomOnOff', 'updatesymboltop' : 'updateSymbolTop', 'allpointer' : 'allPointer', 'checksoundint' : 'checkSoundInt', 'clearreels' : 'clearReels', 'malefan' : 'maleFan', 'dosaveload' : 'doSaveLoad', 'createname' : 'createName', 'readcitypic' : 'readCityPic', 'getpersontext' : 'getPersonText', 'intoinv' : 'inToInv', 'parser' : 'parser', 'setmouse' : 'setMouse', 'intro' : 'intro', 'fadescreendowns' : 'fadeScreenDowns', 'openhoteldoor2' : 'openHotelDoor2', 'getridoftempsp' : 'getRidOfTempsP', 'scanfornames' : 'scanForNames', 'selectlocation' : 'selectLocation', 'undertextline' : 'underTextLine', 'sitdowninbar' : 'sitDownInBar', 'shownames' : 'showNames', 'savefileread' : 'saveFileRead', 'emergencypurge' : 'emergencyPurge', 'usemenu' : 'useMenu', 'alleybarksound' : 'alleyBarkSound', 'usecart' : 'useCart', 'intromusic' : 'introMusic', 'quitkey' : 'quitKey', 'processtrigger' : 'processTrigger', 'volumeadjust' : 'volumeAdjust', 'randomnum2' : 'randomNum2', 'loadsecondsample' : 'loadSecondSample', 'transfercontoex' : 'transferConToEx', 'businessman' : 'businessMan', 'panelicons1' : 'panelIcons1', 'adjustdown' : 'adjustDown', 'withwhat' : 'withWhat', 'openob' : 'openOb', 'createfile' : 'createFile', 'userailing' : 'useRailing', 'usehole' : 'useHole', 'useobject' : 'useObject', 'readdesticon' : 'readDestIcon', 'randomnumber' : 'randomNumber', 'screenupdate' : 'screenUpdate', 'saveload' : 'saveLoad', 'switchryanon' : 'switchRyanOn', 'switchryanoff' : 'switchRyanOff', 'quickquit' : 'quickQuit', 'quickquit2' : 'quickQuit2', 'seecommandtail' : 'seeCommandTail', 'multiget' : 'multiGet', 'multiput' : 'multiPut', 'multidump' : 'multiDump', 'frameoutnm' : 'frameOutnm', 'frameoutbh' : 'frameOutbh', 'frameoutfx' : 'frameOutfx', 'clearwork' : 'clearWork', 'printundermon' : 'printUnderMon', 'kernchars' : 'kernChars', 'getnextword' : 'getNextWord', 'getnumber' : 'getNumber', 'dumptextline' : 'dumpTextLine', 'printboth' : 'printBoth', 'printchar' : 'printChar', 'printdirect' : 'printDirect', 'printslow' : 'printSlow', 'printmessage' : 'printMessage', 'usetimedtext' : 'useTimedText', 'dumptimedtext' : 'dumpTimedText', 'setuptimedtemp' : 'setupTimedTemp', 'putundertimed' : 'putUnderTimed', 'getundertimed' : 'getUnderTimed', 'worktoscreen' : 'workToScreen', 'convertkey' : 'convertKey', 'readabyte' : 'readAByte', 'readoneblock' : 'readOneBlock', 'printsprites' : 'printSprites', 'printasprite' : 'printASprite', 'eraseoldobs' : 'eraseOldObs', 'oldtonames' : 'oldToNames', 'namestoold' : 'namesToOld', 'loadpalfromiff' : 'loadPalFromIFF', 'clearsprites' : 'clearSprites', 'makesprite' : 'makeSprite', 'showframe' : 'showFrame', 'initman' : 'initMan', 'aboutturn' : 'aboutTurn', 'readheader' : 'readHeader', 'fillspace' : 'fillSpace', 'getroomdata' : 'getRoomData', 'startloading' : 'startLoading', 'showreelframe' : 'showReelFrame', 'showgamereel' : 'showGameReel', 'getreelframeax' : 'getReelFrameAX', 'findsource' : 'findSource', 'autosetwalk' : 'autoSetWalk', 'checkdest' : 'checkDest', 'spriteupdate' : 'spriteUpdate', 'dodoor' : 'doDoor', 'lockeddoorway' : 'lockedDoorway', 'liftsprite' : 'liftSprite', 'frameoutv' : 'frameOutV', 'modifychar' : 'modifyChar', 'allocatework' : 'allocateWork', 'lockmon' : 'lockMon', 'cancelch0' : 'cancelCh0', 'cancelch1' : 'cancelCh1', 'getroomspaths' : 'getRoomsPaths', 'makebackob' : 'makeBackOb', 'dealwithspecial' : 'dealWithSpecial', 'plotreel' : 'plotReel', 'facerightway' : 'faceRightWay', 'crosshair' : 'crossHair', 'showrain' : 'showRain', 'domix' : 'doMix', 'channel0tran' : 'channel0Tran', 'makenextblock' : 'makeNextBlock', 'loopchannel0' : 'loopChannel0', 'parseblaster' : 'parseBlaster', 'deltextline' : 'delTextLine', 'doblocks' : 'doBlocks', 'checkifperson' : 'checkIfPerson', 'checkiffree' : 'checkIfFree', 'checkifex' : 'checkIfEx', 'getreelstart' : 'getReelStart', 'findobname' : 'findObName', 'copyname' : 'copyName', 'commandwithob' : 'commandWithOb', 'showpanel' : 'showPanel', 'updatepeople' : 'updatePeople', 'madmantext' : 'madmanText', 'madmode' : 'madMode', 'movemap' : 'moveMap', 'widedoor' : 'wideDoor', 'showallobs' : 'showAllObs', 'addalong' : 'addAlong', 'addlength' : 'addLength', 'getdimension' : 'getDimension', 'getxad' : 'getXAd', 'getyad' : 'getYAd', 'getmapad' : 'getMapAd', 'calcmapad' : 'calcMapAd', 'calcfrframe' : 'calcFrFrame', 'finalframe' : 'finalFrame', 'commandonly' : 'commandOnly', 'makename' : 'makeName', 'findlen' : 'findLen', 'blocknametext' : 'blockNameText', 'walktotext' : 'walkToText', 'personnametext' : 'personNameText', 'findxyfrompath' : 'findXYFromPath', 'findormake' : 'findOrMake', 'setallchanges' : 'setAllChanges', 'dochange' : 'doChange', 'deletetaken' : 'deleteTaken', 'placesetobject' : 'placeSetObject', 'removesetobject' : 'removeSetObject', 'showallfree' : 'showAllFree', 'showallex' : 'showAllEx', 'adjustlen' : 'adjustLen', 'finishedwalking' : 'finishedWalking', 'checkone' : 'checkOne', 'getblockofpixel' : 'getBlockOfPixel', 'getflagunderp' : 'getFlagUnderP', 'walkandexamine' : 'walkAndExamine', 'obname' : 'obName', 'delpointer' : 'delPointer', 'showblink' : 'showBlink', 'dumpblink' : 'dumpBlink', 'dumppointer' : 'dumpPointer', 'showpointer' : 'showPointer', 'animpointer' : 'animPointer', 'showicon' : 'showIcon', 'checkcoords' : 'checkCoords', 'readmouse' : 'readMouse', 'readmouse1' : 'readMouse1', 'readmouse2' : 'readMouse2', 'readmouse3' : 'readMouse3', 'readmouse4' : 'readMouse4', 'waitframes' : 'waitFrames', 'drawflags' : 'drawFlags', 'blockget' : 'blockGet', 'addtopeoplelist' : 'addToPeopleList', 'getexpos' : 'getExPos', 'paneltomap' : 'panelToMap', 'maptopanel' : 'mapToPanel', 'dumpmap' : 'dumpMap', 'obpicture' : 'obPicture', 'delthisone' : 'delThisOne', 'transferinv' : 'transferInv', 'obicons' : 'obIcons', 'pixelcheckset' : 'pixelCheckSet', 'turnpathon' : 'turnPathOn', 'turnpathoff' : 'turnPathOff', 'turnanypathon' : 'turnAnyPathOn', 'turnanypathoff' : 'turnAnyPathOff', 'isitdescribed' : 'isItDescribed', 'checkifset' : 'checkIfSet', 'checkifpathison' : 'checkIfPathIsOn', 'delsprite' : 'delSprite', 'dumpeverything' : 'dumpEverything', 'isitworn' : 'isItWorn', 'makeworn' : 'makeWorn', 'obtoinv' : 'obToInv', 'showryanpage' : 'showRyanPage', 'findallryan' : 'findAllRyan', 'fillryan' : 'fillRyan', 'useroutine' : 'useRoutine', 'hangon' : 'hangOn', 'hangonp' : 'hangOnP', 'hangonw' : 'hangOnW', 'findnextcolon' : 'findNextColon', 'usetext' : 'useText', 'sortoutmap' : 'sortOutMap', 'showcity' : 'showCity', 'examineobtext' : 'examineObText', 'wornerror' : 'wornError', 'getpersframe' : 'getPersFrame', 'convicons' : 'convIcons', 'examineob' : 'examineOb', 'showwatch' : 'showWatch', 'dumpwatch' : 'dumpWatch', 'showtime' : 'showTime', 'roomname' : 'roomName', 'transfertext' : 'transferText', 'splitintolines' : 'splitIntoLines', 'initrain' : 'initRain', 'checkbasemem' : 'checkBaseMem', 'clearstartpal' : 'clearStartPal', 'clearendpal' : 'clearEndPal', 'paltostartpal' : 'palToStartPal', 'endpaltostart' : 'endPalToStart', 'startpaltoend' : 'startPalToEnd', 'paltoendpal' : 'palToEndPal', 'fadecalculation' : 'fadeCalculation', 'watchcount' : 'watchCount', 'zoomicon' : 'zoomIcon', 'loadroom' : 'loadRoom', 'getundermenu' : 'getUnderMenu', 'putundermenu' : 'putUnderMenu', 'showoutermenu' : 'showOuterMenu', 'textforend' : 'textForEnd', 'textformonk' : 'textForMonk', 'standardload' : 'standardLoad', 'twodigitnum' : 'twoDigitNum', 'readsetdata' : 'readSetData', 'loadintotemp' : 'loadIntoTemp', 'loadintotemp2' : 'loadIntoTemp2', 'loadintotemp3' : 'loadIntoTemp3', 'loadtempcharset' : 'loadTempCharset', 'printcurs' : 'printCurs', 'delcurs' : 'delCurs', 'hangoncurs' : 'hangOnCurs', 'fadeupyellows' : 'fadeUpYellows', 'fadeupmonfirst' : 'fadeUpMonFirst', 'loadroomssample' : 'loadRoomsSample', 'printlogo' : 'printLogo', 'usemon' : 'useMon', 'scrollmonitor' : 'scrollMonitor', 'showcurrentfile' : 'showCurrentFile', 'monprint' : 'monPrint', 'monmessage' : 'monMessage', 'neterror' : 'netError', 'randomaccess' : 'randomAccess', 'turnonpower' : 'turnOnPower', 'showmainops' : 'showMainOps', 'showdiscops' : 'showDiscOps', 'powerlighton' : 'powerLightOn', 'powerlightoff' : 'powerLightOff', 'accesslighton' : 'accessLightOn', 'accesslightoff' : 'accessLightOff', 'playchannel0' : 'playChannel0', 'playchannel1' : 'playChannel1', 'createpanel' : 'createPanel', 'createpanel2' : 'createPanel2', 'findroominloc' : 'findRoomInLoc', 'autolook' : 'autoLook', 'dolook' : 'doLook', 'reelsonscreen' : 'reelsOnScreen', 'showbyte' : 'showByte', 'onedigit' : 'oneDigit', 'showword' : 'showWord', 'convnum' : 'convNum', 'usecharset1' : 'useCharset1', 'usetempcharset' : 'useTempCharset', 'disablepath' : 'disablePath', 'getbackfromob' : 'getBackFromOb', 'showfirstuse' : 'showFirstUse', 'showseconduse' : 'showSecondUse', 'actualload' : 'actualLoad', 'actualsave' : 'actualSave', 'loadposition' : 'loadPosition', 'saveposition' : 'savePosition', 'saveseg' : 'saveSeg', 'openforsave' : 'openForSave', 'makeheader' : 'makeHeader', 'savefilewrite' : 'savefileWrite', 'storeit' : 'storeIt', 'restoreall' : 'restoreAll', 'restorereels' : 'restoreReels', 'allocateload' : 'allocateLoad', 'viewfolder' : 'viewFolder', 'loadfolder' : 'loadFolder', 'showfolder' : 'showFolder', 'showleftpage' : 'showLeftPage', 'showrightpage' : 'showRightPage', 'nextfolder' : 'nextFolder', 'lastfolder' : 'lastFolder', 'folderhints' : 'folderHints', 'folderexit' : 'folderExit', 'getlocation' : 'getLocation', 'setlocation' : 'setLocation', 'getridofpitsetuppit' : 'getRidOfPitSetupPit', }) generator.generate('dreamweb') #start routine