private int fnQuitGame(SwordObject cpt, int id, int a, int b, int c, int d, int z, int x)
{
if (SystemVars.IsDemo)
{
// TODO:GUI::MessageDialog dialog(_("This is the end of the Broken Sword 1 Demo"), _("OK"), NULL);
//dialog.runModal();
SwordEngine.ShouldQuit = true;
}
else
throw new InvalidOperationException("fnQuitGame() called");
return fnQuit(cpt, id, 0, 0, 0, 0, 0, 0);
}