This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu if (interface == ICONBAR) {
if (button == 4) { // show stuff
if (IsGUIOn(1)==0)
GUIOn(1);
}
else if (button == 5) // save game
SaveGameDialog();
else if (button == 6) // load game
RestoreGameDialog();
if (button == 7) { // quit
if (IsGUIOn(2)==0)
GUIOn(2);
}
else if (button == 8) // about
Display("Weed Quest v1.0 by: Demorgon Games http://ashton.b0x.com");
} // end if interface ICONBAR
if (interface == STUFF) {
// They clicked a button on the Inventory GUI
if (button == 1) {
// They pressed SELECT, so switch to the Get cursor
SetCursorMode (MODE_USE);
// But, override the appearance to look like the arrow
SetMouseCursor (6);
}
if (button == 2) {
// They pressed LOOK, so switch to that mode
SetActiveInventory(-1);
SetCursorMode(MODE_LOOK);
}
if (button == 3) {
// They pressed the OK button, close the GUI
GUIOff (STUFF);
SetDefaultCursor();
}
if ((button == 4) && (game.top_inv_item < game.num_inv_items - game.num_inv_displayed)) {
// scroll down
game.top_inv_item = game.top_inv_item + game.items_per_line;
}
if ((button == 5) && (game.top_inv_item > 0)){
// scroll up
game.top_inv_item = game.top_inv_item - game.items_per_line;
} // end if interface STUFF
if (interface == QUIT) {
// They Clicked a button on the QUIT GUI
if (button == 0) {
QuitGame(0);
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.102 seconds with 13 queries.