Due to erroneous code, the encyclopedia feature has been deactivated. for more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23090&goto=345928&#msg_345928

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8273 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-07-16 12:21:22 +00:00
parent 7a34e9a154
commit 57ec4e7fa1
15 changed files with 194 additions and 121 deletions
+6
View File
@@ -32,6 +32,7 @@
#include "Quests.h"
#endif
#ifdef ENCYCLOPEDIA_WORKS
/** @ingroup ENCYCLOPEDIA
* @file
* Encyclopedia data page in laptop.
@@ -65,8 +66,11 @@ struct ENC_DATA_ENTRY_T {
UINT8 uiTextPage; ///< Current text page. Number of pages is currently 2 as there is no use for more at the moment. To define different pages modify \ref CreateData() and \ref BtnEncyclopedia_Data_NextPreviousTextBtnCallBack() accordingly.
} gstEncyclopediaDataEntry; ///< Current data.
#endif
UINT8 gbEncyclopediaData_ItemVisible[MAXITEMS];///< Visibility of items. If an item should be visible the value is not 0. Gets loaded from savegame, updated by \ref EncyclopediaSetItemAsVisible() and reset by \ref EncyclopediaInitItemsVisibility().
#ifdef ENCYCLOPEDIA_WORKS
/// Various filters for locations. Only filtered locations are shown. Subfilters, if any, are handled by callback function.
enum ENC_DATA_FILTER_LOCATION {
ENC_DATA_FILTER_L_ALL = 0, ///< All locations visible
@@ -1728,3 +1732,5 @@ void RenderEncyclopediaData_NEW( )
}
/** @} */
#endif