mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
PINK: Dispatch webpage menu items to a stub function
This commit is contained in:
parent
6218028f02
commit
3133cf1c73
@ -338,10 +338,30 @@ void PinkEngine::executeMenuCommand(uint id) {
|
||||
_actor->loadPDA("SIBOVER");
|
||||
break;
|
||||
|
||||
case kShowGameWebPage:
|
||||
openLocalWebPage("PINK.HTM");
|
||||
break;
|
||||
case kShowTechSupport:
|
||||
openLocalWebPage("SUPPORT.HTM");
|
||||
break;
|
||||
case kShowWinnnerPage:
|
||||
openLocalWebPage("WINNER.HTM");
|
||||
break;
|
||||
case kShowWanderLustWebPage:
|
||||
openLocalWebPage("LUST.HTM");
|
||||
break;
|
||||
case kShowOnlineHints:
|
||||
openLocalWebPage("HINTS.HTM");
|
||||
break;
|
||||
|
||||
default:
|
||||
warning("Unprocessed command id %d", id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void PinkEngine::openLocalWebPage(const Common::String &pageName) {
|
||||
warning("Trying to open local webpage \"%s\", but webpage opening isn't implemented yet",pageName.c_str());
|
||||
}
|
||||
|
||||
} // End of namespace Pink
|
||||
|
@ -143,6 +143,8 @@ private:
|
||||
void addModule(const Common::String &moduleName);
|
||||
void removeModule();
|
||||
|
||||
void openLocalWebPage(const Common::String &pageName);
|
||||
|
||||
private:
|
||||
Console *_console;
|
||||
Common::RandomSource _rnd;
|
||||
|
Loading…
x
Reference in New Issue
Block a user