if (interface == 7) { if (button == 2) // see inventory InventoryScreen(); else if (button == 8) { // use selected inventory if (character[ GetPlayerCharacter() ].activeinv >= 0) SetCursorMode(4); } else if (button == 6) // save game SaveGameDialog(); else if (button == 7) // load game RestoreGameDialog(); else if (button == 5) // quit QuitGame(1); else if (button == 9) { // controls // make sure the mouse cursor changes to the arrow SetMouseCursor(6); // stop the top icon bar popping up InterfaceOff(7); InterfaceOn(6); } } // end if interface 7 if (interface == 4) { // skip intro interface InterfaceOff(4); // remove the window SetDefaultCursor(); // put the cursor back from the arrow if (button == 1) NewRoom(1); if (button == 2) RestoreGameDialog(); } if (interface == 6) { // the controls interface if (button == 0) SetGameSpeed(GetSliderValue(6,0)); else if (button == 1) SetMusicMasterVolume(GetSliderValue(6,1)); else if (button == 2) game.text_speed = GetSliderValue(6,2); else { InterfaceOff(6); // remove the window InterfaceOn(7); if (button == 6) SaveGameDialog(); if (button == 7) RestoreGameDialog(); if (button == 8) RestartGame(); if (button == 9) Display("Adventure Game Studio[[Copyright 1995-2000 Chris Jones"); if (button == 5) QuitGame(1); SetDefaultCursor(); } }