diff GUI/UI/Books/UINotesBooks.cpp @ 2534:1bcadc6dd203

enum SOUND_
author Ritor1
date Mon, 09 Feb 2015 19:17:12 +0600
parents c7264ab7132f
children a902abdfc7f2
line wrap: on
line diff
--- a/GUI/UI/Books/UINotesBooks.cpp	Mon Jan 19 23:10:30 2015 +0600
+++ b/GUI/UI/Books/UINotesBooks.cpp	Mon Feb 09 19:17:12 2015 +0600
@@ -132,13 +132,13 @@
   questbook_window.uFrameW = 333;
   if ( BtnDown_flag && books_primary_item_per_page + num_achieved_awards < full_num_items_in_book )//Click Bookmark Down(нажатие закладки вниз)
   {
-    pAudioPlayer->PlaySound(SOUND_OpenBook, 0, 0, -1, 0, 0, 0, 0);
+    pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
     books_primary_item_per_page += num_achieved_awards;
     books_num_items_per_page[books_page_number++] = num_achieved_awards;
   }
   if ( BtnUp_flag && books_page_number )//Click Bookmark Up(Нажатие закладки вверх)
   {
-    pAudioPlayer->PlaySound(SOUND_OpenBook, 0, 0, -1, 0, 0, 0, 0);
+    pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
     --books_page_number;
     books_primary_item_per_page -= (unsigned __int8)books_num_items_per_page[books_page_number];
   }
@@ -341,14 +341,14 @@
       {
         books_num_items_per_page[books_page_number++] = num_achieved_awards;
         books_primary_item_per_page = num_achieved_awards + books_primary_item_per_page;
-        pAudioPlayer->PlaySound(SOUND_OpenBook, 0, 0, -1, 0, 0, 0, 0);
+        pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
       }
     }
     if ( BtnUp_flag && books_page_number )// press Up bookmark(нажатие закладки пролистать назад)
     {
       --books_page_number;
       books_primary_item_per_page -= (unsigned __int8)books_num_items_per_page[books_page_number];
-      pAudioPlayer->PlaySound(SOUND_OpenBook, 0, 0, -1, 0, 0, 0, 0);
+      pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
     }
     if ( !num_achieved_awards || !books_primary_item_per_page )//количество записей 0 или номер первой страницы 0
     {
@@ -416,13 +416,13 @@
   journal_window.uFrameW = journal_window.uFrameHeight + 69;
   if ( BtnDown_flag && books_primary_item_per_page + num_achieved_awards < full_num_items_in_book )//Press bookmark next page
   {
-    pAudioPlayer->PlaySound(SOUND_OpenBook, 0, 0, -1, 0, 0, 0, 0);
+    pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
     books_primary_item_per_page += num_achieved_awards;
     books_num_items_per_page[books_page_number++] = num_achieved_awards;
   }
   if ( BtnUp_flag && books_page_number )//Press bookmark previous page
   {
-    pAudioPlayer->PlaySound(SOUND_OpenBook, 0, 0, -1, 0, 0, 0, 0);
+    pAudioPlayer->PlaySound(SOUND_openbook, 0, 0, -1, 0, 0, 0, 0);
     --books_page_number;
     books_primary_item_per_page -= (unsigned __int8)books_num_items_per_page[books_page_number];
   }