Another PP opcode stub.

svn-id: r24040
This commit is contained in:
Torbjörn Andersson 2006-09-30 12:39:34 +00:00
parent 16dec6dce6
commit 23c1ba8cd6
2 changed files with 12 additions and 0 deletions

View File

@ -1060,6 +1060,7 @@ public:
void o4_restoreOopsPosition();
void o4_checkTiles();
void o4_loadMouseImage();
void o4_message();
void o4_setShortText();
void o4_animate();
void o4_loadHiScores();

View File

@ -634,6 +634,7 @@ void AGOSEngine::setupOpcodes() {
opcode_table[32] = &AGOSEngine::o4_restoreOopsPosition;
opcode_table[37] = &AGOSEngine::o4_checkTiles;
opcode_table[38] = &AGOSEngine::o4_loadMouseImage;
opcode_table[63] = &AGOSEngine::o4_message;
opcode_table[65] = &AGOSEngine::o3_addTextBox;
opcode_table[66] = &AGOSEngine::o4_setShortText;
opcode_table[70] = &AGOSEngine::o3_printLongText;
@ -2601,6 +2602,16 @@ void AGOSEngine::o4_loadMouseImage() {
loadMouseImage();
}
void AGOSEngine::o4_message() {
// 63: show string nl
if (getBitFlag(105)) {
// Swampy adventures
// printInfoText(getStringPtrByID(getNextStringID()));
} else {
o_message();
}
}
void AGOSEngine::o4_setShortText() {
// 66: set item name
uint var = getVarOrByte();