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
+7 -1
View File
@@ -53,9 +53,10 @@
//#include "Campaign Types.h"
//#include "Quests.h"
//#include "Tactical Save.h"
//#include "Encyclopedia_Data_new.h"
#include "Encyclopedia_Data_new.h"
#endif
#ifdef ENCYCLOPEDIA_WORKS
/** @defgroup ENCYCLOPEDIA Encyclopedia
* Encyclopedia shows discovered places, characters, known items and quests.
*/
@@ -352,6 +353,8 @@ void EncyclopediaInitItemsVisibility()
memset( gbEncyclopediaData_ItemVisible, ENC_ITEM_NOT_DISCOVERED, MAXITEMS*sizeof(UINT8) );
}
#endif
/**
* @brief Saves Item visibility array to file.
*
@@ -381,6 +384,7 @@ BOOLEAN LoadEncyclopediaItemVisibility( HWFILE hFile )
}
///@}
#ifdef ENCYCLOPEDIA_WORKS
/**
* @brief Prepares a change to a different subpage.
* Subpages currently available: Loactions, Characters, Items, Quests.
@@ -460,3 +464,5 @@ void BtnEncyclopedia_newSelectDataPageRegionCallBack( MOUSE_REGION * pRegion, IN
}
}
#endif
#endif