mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
dummy o8_startVideo implementation
svn-id: r6166
This commit is contained in:
parent
2046fc8217
commit
0965c929bc
@ -406,11 +406,6 @@ protected:
|
||||
|
||||
void decodeParseString(int m, int n);
|
||||
|
||||
/* Version 8 Font Stuff */
|
||||
/*
|
||||
void loadCharset(int charset);
|
||||
NutRenderer *_fr[4];
|
||||
*/
|
||||
/* Version 8 script opcodes */
|
||||
void o8_mod();
|
||||
void o8_wait();
|
||||
@ -433,6 +428,7 @@ protected:
|
||||
|
||||
void o8_soundKludge();
|
||||
void o8_system();
|
||||
void o8_startVideo();
|
||||
void o6_kernelSetFunctions();
|
||||
void o6_kernelGetFunctions();
|
||||
|
||||
|
@ -37,23 +37,6 @@
|
||||
|
||||
#define OPCODE(x) { &Scumm_v8::x, #x }
|
||||
|
||||
/*
|
||||
// FIXME: Move this somewhere better :)
|
||||
void Scumm_v8::loadCharset(int charset) {
|
||||
char fontname[256];
|
||||
sprintf(fontname, "resource/font%d.nut", charset);
|
||||
warning("Loading charset %s\n", fontname);
|
||||
_fr[charset] = new NutRenderer(this);
|
||||
if (!(_fr[charset]->loadFont(fontname, getGameDataPath()))) {
|
||||
delete _fr[charset];
|
||||
_fr[charset] = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
_fr[charset]->bindDisplay(virtscr[0].screenPtr, _realWidth, _realHeight, _realWidth);
|
||||
}
|
||||
*/
|
||||
|
||||
void Scumm_v8::setupOpcodes()
|
||||
{
|
||||
// TODO: any of the o6_ entries are potentially wrong and pure guesses :-)
|
||||
@ -290,7 +273,7 @@ void Scumm_v8::setupOpcodes()
|
||||
OPCODE(o6_drawBox),
|
||||
/* B8 */
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o8_startVideo),
|
||||
OPCODE(o6_kernelSetFunctions),
|
||||
OPCODE(o6_invalid),
|
||||
/* BC */
|
||||
@ -1251,6 +1234,13 @@ void Scumm_v8::o8_system()
|
||||
// }
|
||||
}
|
||||
|
||||
void Scumm_v8::o8_startVideo()
|
||||
{
|
||||
int len = resStrLen((char*)_scriptPointer);
|
||||
warning("o8_startVideo(%s)", (char*)_scriptPointer);
|
||||
_scriptPointer += len + 1;
|
||||
}
|
||||
|
||||
void Scumm_v8::o6_kernelSetFunctions()
|
||||
{
|
||||
// TODO
|
||||
|
Loading…
Reference in New Issue
Block a user