annotate GUI/UI/Books/JournalBook.cpp @ 2562:b8a56afc6ba1

new var no_actors, lights_flag, debug_lights, StationaryLights and MobileLights
author Ritor1
date Sun, 17 May 2015 22:42:13 +0600
parents 87e5590d034b
children 0c67be4ec900
rev   line source
2548
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
1 #include "Engine/Engine.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
2 #include "Engine/LOD.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
3 #include "Engine/Party.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
4 #include "Engine/Timer.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
5 #include "Engine/Awards.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
6 #include "Engine/texts.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
7 #include "Engine/Graphics/IRender.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
8 #include "Engine/Graphics/Viewport.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
9 #include "Engine/Tables/StorylineTextTable.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
10
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
11 #include "GUI/GUIFont.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
12 #include "GUI/UI/Books/JournalBook.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
13
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
14 #include "Media/Audio/AudioPlayer.h"
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
15
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
16
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
17
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
18 GUIWindow_JournalBook::GUIWindow_JournalBook() :
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
19 GUIWindow_Book()
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
20 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
21 this->ptr_1C = (void *)WINDOW_JournalBook; // inherited from GUIWindow::GUIWindow
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
22 BasicBookInitialization();
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
23
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
24 // --------------------------------
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
25 // 004304E7 Game_EventLoop --- part
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
26 pEventTimer->Pause();
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
27 pAudioPlayer->StopChannels(-1, -1);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
28 pBooksButtonOverlay = new GUIWindow_BooksButtonOverlay(0x258u, 0x169u, 0, 0, (int)pBtn_History, 0);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
29 bFlashHistoryBook = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
30
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
31 // ----------------------------------------------
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
32 // 00411BFC GUIWindow::InitializeBookView -- part
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
33 char *pString; // eax@12
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
34 int pTextHeight; // eax@12
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
35 unsigned int page_count; // esi@12
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
36 GUIWindow journal_window; // [sp+18h] [bp-54h]@8
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
37
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
38 pSpellBookPagesTextr_11 = pIcons_LOD->LoadTexturePtr("sbplayrnot", TEXTURE_16BIT_PALETTE);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
39 pTex_book_button1_on = pIcons_LOD->LoadTexturePtr("tab-an-6b", TEXTURE_16BIT_PALETTE);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
40 pTex_book_button2_on = pIcons_LOD->LoadTexturePtr("tab-an-7b", TEXTURE_16BIT_PALETTE);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
41 pTex_book_button1_off = pIcons_LOD->LoadTexturePtr("tab-an-6a", TEXTURE_16BIT_PALETTE);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
42 pTex_book_button2_off = pIcons_LOD->LoadTexturePtr("tab-an-7a", TEXTURE_16BIT_PALETTE);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
43
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
44 pBtn_Book_1 = this->CreateButton(pViewport->uViewportTL_X + 398, pViewport->uViewportTL_Y + 1,
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
45 pTex_book_button1_on->uTextureWidth, pTex_book_button1_on->uTextureHeight, 1, 0,
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
46 UIMSG_ClickBooksBtn, 11, 0, pGlobalTXT_LocalizationStrings[192], pTex_book_button1_on, 0);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
47 pBtn_Book_2 = this->CreateButton(pViewport->uViewportTL_X + 398, pViewport->uViewportTL_Y + 38, pTex_book_button2_on->uTextureHeight,
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
48 pTex_book_button2_on->uTextureHeight, 1, 0, UIMSG_ClickBooksBtn, 10, 0,
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
49 pGlobalTXT_LocalizationStrings[193], pTex_book_button2_on, 0);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
50
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
51 num_achieved_awards = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
52 journal_window.uFrameX = 48;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
53 journal_window.uFrameY = 70;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
54 journal_window.uFrameWidth = 360;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
55 journal_window.uFrameHeight = 264;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
56 journal_window.uFrameZ = 407;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
57 journal_window.uFrameHeight = (LOBYTE(pAutonoteFont->uFontHeight) - 3) * 264 / LOBYTE(pAutonoteFont->uFontHeight) - 3;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
58 journal_window.uFrameW = journal_window.uFrameHeight + 69;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
59 memset(&achieved_awards, 0, 4000);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
60 memset(Journal_limitation_factor.data(), 0, 100);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
61 if (books_primary_item_per_page < 29)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
62 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
63 for (int i = books_primary_item_per_page; i < books_primary_item_per_page + 29; i++)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
64 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
65 if (pParty->PartyTimes.HistoryEventTimes[i] > 0)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
66 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
67 if (pStorylineText->StoreLine[i + 1].pText)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
68 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
69 pString = BuildDialogueString(pStorylineText->StoreLine[i + 1].pText, uActiveCharacter - 1, 0, 0, 0, &pParty->PartyTimes.HistoryEventTimes[i]);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
70 pTextHeight = pAutonoteFont->CalcTextHeight(pString, &journal_window, 1, 0);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
71 page_count = ((pTextHeight - (pAutonoteFont->uFontHeight - 3)) / (signed int)journal_window.uFrameHeight) + 1;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
72 memset32((char *)&achieved_awards[num_achieved_awards], i + 1, page_count);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
73 for (uint j = 0; j <= page_count - 1; ++j)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
74 Journal_limitation_factor[num_achieved_awards++] = j;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
75 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
76 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
77 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
78 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
79 full_num_items_in_book = num_achieved_awards;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
80 num_achieved_awards = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
81 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
82
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
83
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
84
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
85 void GUIWindow_JournalBook::Update()
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
86 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
87 // -----------------------------------
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
88 // 004156F0 GUI_UpdateWindows --- part
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
89 // {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
90 // BookUI_Draw((WindowType)(int)ptr_1C);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
91 // }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
92
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
93 // ----- (00413CC6) --------------------------------------------------------
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
94 // void BookUI_Draw(WindowType book) --- part
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
95 // {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
96 pRenderer->DrawTextureIndexed(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId));
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
97 // BookUI_Journal_Draw();
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
98
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
99 // ----- (00412E85) --------------------------------------------------------
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
100 // void BookUI_Journal_Draw()
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
101 // {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
102 char *pDialogueString; // eax@21
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
103 char* pStringOnPage; // eax@22
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
104 GUIWindow journal_window; // [sp+8h] [bp-54h]@10
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
105
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
106 pRenderer->DrawTextureIndexed(pViewport->uViewportTL_X, pViewport->uViewportTL_Y, pSpellBookPagesTextr_11);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
107 if (BtnUp_flag || !books_primary_item_per_page)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
108 pRenderer->DrawTextureIndexedAlpha(pViewport->uViewportTL_X + 407, pViewport->uViewportTL_Y + 2, pTex_book_button1_off);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
109 else
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
110 pRenderer->DrawTextureIndexedAlpha(pViewport->uViewportTL_X + 398, pViewport->uViewportTL_Y + 1, pTex_book_button1_on);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
111
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
112 if (BtnDown_flag || books_primary_item_per_page + num_achieved_awards >= full_num_items_in_book)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
113 pRenderer->DrawTextureIndexedAlpha(pViewport->uViewportTL_X + 407, pViewport->uViewportTL_Y + 38, pTex_book_button2_off);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
114 else
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
115 pRenderer->DrawTextureIndexedAlpha(pViewport->uViewportTL_X + 398, pViewport->uViewportTL_Y + 38, pTex_book_button2_on);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
116
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
117 if (!Journal_limitation_factor[books_primary_item_per_page])//for title
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
118 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
119 journal_window.uFrameWidth = game_viewport_width;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
120 journal_window.uFrameX = game_viewport_x;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
121 journal_window.uFrameY = game_viewport_y;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
122 journal_window.uFrameHeight = game_viewport_height;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
123 journal_window.uFrameZ = game_viewport_z;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
124 journal_window.uFrameW = game_viewport_w;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
125 if (pStorylineText->StoreLine[achieved_awards[books_primary_item_per_page]].pPageTitle)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
126 journal_window.DrawTitleText(pBook2Font, 0, 22, ui_book_journal_title_color, pStorylineText->StoreLine[achieved_awards[books_primary_item_per_page]].pPageTitle, 3);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
127 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
128
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
129 //for other text
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
130 journal_window.uFrameX = 48;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
131 journal_window.uFrameY = 70;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
132 journal_window.uFrameWidth = 360;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
133 journal_window.uFrameHeight = 264;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
134 journal_window.uFrameZ = 407;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
135 journal_window.uFrameW = journal_window.uFrameHeight + 69;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
136 if (BtnDown_flag && books_primary_item_per_page + num_achieved_awards < full_num_items_in_book)//Press bookmark next page
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
137 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
138 pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
139 books_primary_item_per_page += num_achieved_awards;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
140 books_num_items_per_page[books_page_number++] = num_achieved_awards;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
141 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
142 if (BtnUp_flag && books_page_number)//Press bookmark previous page
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
143 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
144 pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
145 --books_page_number;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
146 books_primary_item_per_page -= (unsigned __int8)books_num_items_per_page[books_page_number];
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
147 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
148 if (!num_achieved_awards || books_primary_item_per_page < 1)
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
149 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
150 books_primary_item_per_page = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
151 books_page_number = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
152 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
153 BtnDown_flag = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
154 BtnUp_flag = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
155 num_achieved_awards = 0;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
156 if (achieved_awards[books_primary_item_per_page])
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
157 {
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
158 int index = ((int)achieved_awards[books_primary_item_per_page] - 1);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
159 pDialogueString = BuildDialogueString(pStorylineText->StoreLine[achieved_awards[books_primary_item_per_page]].pText, uActiveCharacter - 1,
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
160 0, 0, 0, &pParty->PartyTimes.HistoryEventTimes[index]);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
161 pStringOnPage = pAutonoteFont->GetPageTop(pDialogueString, &journal_window, 1, (unsigned __int8)Journal_limitation_factor[books_primary_item_per_page]);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
162 journal_window.DrawText(pAutonoteFont, 1, 0, ui_book_journal_text_color, pStringOnPage, 0,
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
163 journal_window.uFrameY + journal_window.uFrameHeight, ui_book_journal_text_shadow);
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
164 ++num_achieved_awards;
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
165 }
87e5590d034b All Books windows are refactored into respective classes
a.parshin
parents:
diff changeset
166 }