diff options
author | Max Horn | 2002-12-23 12:50:38 +0000 |
---|---|---|
committer | Max Horn | 2002-12-23 12:50:38 +0000 |
commit | e192142dac67b313f8dceb97417ad547e2ad68a3 (patch) | |
tree | b22675653a5bf9be76f013020035051dc8646402 /scumm/intern.h | |
parent | 034bfddd7e0da20dfe0bcc11a08af97fef9c8f7b (diff) | |
download | scummvm-rg350-e192142dac67b313f8dceb97417ad547e2ad68a3.tar.gz scummvm-rg350-e192142dac67b313f8dceb97417ad547e2ad68a3.tar.bz2 scummvm-rg350-e192142dac67b313f8dceb97417ad547e2ad68a3.zip |
resolved some arguments with aquadran about how to go on about this :-). Renamed three v6 opcodes
svn-id: r6068
Diffstat (limited to 'scumm/intern.h')
-rw-r--r-- | scumm/intern.h | 164 |
1 files changed, 12 insertions, 152 deletions
diff --git a/scumm/intern.h b/scumm/intern.h index 3845efa993..27c0fa78f7 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -224,6 +224,7 @@ protected: void o6_byteArrayIndexedRead(); void o6_wordArrayIndexedRead(); void o6_dup(); + void o6_pop(); void o6_not(); void o6_eq(); void o6_neq(); @@ -237,7 +238,6 @@ protected: void o6_div(); void o6_land(); void o6_lor(); - void o6_kill(); void o6_writeByteVar(); void o6_writeWordVar(); void o6_byteArrayWrite(); @@ -345,8 +345,8 @@ protected: void o6_talkEgo(); void o6_dim(); void o6_dummy(); - void o6_runVerbCodeQuick(); - void o6_runScriptQuick(); + void o6_startObjectQuick(); + void o6_startScriptQuick(); void o6_dim2(); void o6_abs(); void o6_distObjectObject(); @@ -396,162 +396,22 @@ protected: virtual void executeOpcode(int i); virtual const char *getOpcodeDesc(int i); - virtual uint32 fetchScriptUint32(); - virtual int fetchScriptInt32(); + virtual uint fetchScriptWord(); + virtual int fetchScriptWordSigned(); /* Version 8 script opcodes */ void o8_unknown(); void o8_invalid(); - void o8_pushNumber(); - void o8_pushVariable(); - void o8_pushArrayValue(); - void o8_pushArrayValueIndexed(); - void o8_dup(); - void o8_pop(); - void o8_not(); - void o8_eq(); - void o8_neq(); - void o8_gt(); - void o8_lt(); - void o8_leq(); - void o8_geq(); - void o8_add(); - void o8_sub(); - void o8_mul(); - void o8_div(); - void o8_land(); - void o8_lor(); - void o8_band(); - void o8_bor(); void o8_mod(); - void o8_if(); - void o8_ifNot(); - void o8_jump(); - void o8_breakHere(); - void o8_breakHereVar(); - void o8_waitForStuff(); - void o8_sleepJiffies(); - void o8_sleepSeconds(); - void o8_sleepMinutes(); - void o8_storeVariable(); - void o8_incVariable(); - void o8_decVariable(); - void o8_arrayDim(); - void o8_storeArray(); - void o8_incArray(); - void o8_decArray(); - void o8_arrayDim2(); - void o8_storeArrayIndexed(); - void o8_assignArray(); - void o8_arrayShuffle(); - void o8_arrayLocalize(); - void o8_startScript(); - void o8_startScriptQuick(); - void o8_endScript(); - void o8_stopScript(); - void o8_chainScript(); - void o8_return(); - void o8_startObject(); - void o8_stopObject(); - void o8_cutscene(); - void o8_endCutscene(); - void o8_freezeScripts(); - void o8_beginOverride(); - void o8_endOverride(); - void o8_stopSentence(); - void o8_debug(); - void o8_debugWin(); - void o8_cameraPanTo(); - void o8_cameraFollow(); - void o8_cameraAt(); - void o8_sayLine(); - void o8_sayLineDefault(); - void o8_sayLineSimple(); - void o8_sayLineSimpleDefault(); - void o8_printLine(); - void o8_printCursor(); - void o8_printDebug(); - void o8_printSystem(); - void o8_blastText(); - void o8_drawObject(); - void o8_blastObject(); - void o8_userFace(); - void o8_currentRoom(); - void o8_comeOutDoor(); - void o8_walkActorToObject(); - void o8_walkActorToXY(); - void o8_putActorAtXY(); - void o8_putActorAtObject(); - void o8_faceTowards(); - void o8_doAnimation(); - void o8_doSentence(); - void o8_pickUpObject(); - void o8_setBox(); - void o8_setBoxPath(); - void o8_setBoxSet(); - void o8_heapStuff(); - void o8_roomStuff(); - void o8_actorStuff(); + void o8_wait(); + void o8_cursorCommand(); + void o8_resourceRoutines(); + void o8_roomOps(); + void o8_actorSet(); void o8_cameraStuff(); - void o8_verbStuff(); - void o8_startSfx(); - void o8_startMusic(); - void o8_stopSound(); - void o8_soundKludge(); - void o8_system(); - void o8_verbSets(); - void o8_newNameOf(); - void o8_getTimeDate(); - void o8_drawBox(); - void o8_actObjStamp(); - void o8_startVideo(); - void o8_kludge(); - void o8_pick(); - void o8_pickDefault(); - void o8_pickRandom(); - void o8_inSet(); - void o8_getRandomNumber(); - void o8_getRandomNumberRange(); - void o8_classOf(); - void o8_stateOf(); - void o8_ownerOf(); - void o8_scriptRunning(); - void o8_objectRunning(); - void o8_soundRunning(); - void o8_abs(); - void o8_pixel(); - void o8_inBox(); - void o8_validVerb(); - void o8_findActor(); - void o8_findObject(); - void o8_findVerb(); - void o8_findAllObjects(); - void o8_actorInvertory(); - void o8_actorInvertoryCount(); - void o8_actorVariable(); - void o8_actorRoom(); - void o8_actorBox(); - void o8_actorMoving(); - void o8_actorCostume(); - void o8_actorScale(); - void o8_actorDepth(); - void o8_actorElevation(); - void o8_actorWidth(); - void o8_actObjFacing(); - void o8_actObjX(); - void o8_actObjY(); - void o8_actorChore(); - void o8_proximity2ActObjs(); - void o8_proximity2Points(); - void o8_objectImageX(); - void o8_objectImageY(); - void o8_objectImageWidth(); - void o8_objectImageHeight(); - void o8_verbX(); - void o8_verbY(); - void o8_stringWidth(); - void o8_actorZPlane(); + void o8_verbOps(); }; + #endif |