comparison GUI/UI/UIShops.cpp @ 2544:c674d547cc7c

GUIWindow switch logic refactored into behaviour classes
author a.parshin
date Mon, 11 May 2015 09:51:04 +0200
parents a902abdfc7f2
children 0c67be4ec900
comparison
equal deleted inserted replaced
2543:b6140dfeac27 2544:c674d547cc7c
1506 1506
1507 switch(dialog_menu_id) 1507 switch(dialog_menu_id)
1508 { 1508 {
1509 case HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT: 1509 case HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT:
1510 { 1510 {
1511 pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103; 1511 current_character_screen_window = WINDOW_CharacterWindow_Inventory;
1512 pPlayers[uActiveCharacter]->OnInventoryLeftClick(); 1512 pPlayers[uActiveCharacter]->OnInventoryLeftClick();
1513 break; 1513 break;
1514 } 1514 }
1515 case HOUSE_DIALOGUE_GUILD_BUY_BOOKS: 1515 case HOUSE_DIALOGUE_GUILD_BUY_BOOKS:
1516 { 1516 {