mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Reworked Encyclopedia (by Moa)
- Access Encyclopedia from laptop screen - Encyclopedia can be enabled/disabled in the ja2_options.ini: ENCYCLOPEDIA - more infos: http://www.bears-pit.com/board/ubbthreads.php/topics/327315/Re_Ingame_Encyclopaedia.html#Post327315 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6550 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
#include "random.h" // added by Flugente
|
||||
#include "Explosion Control.h" // added by Flugente
|
||||
#include "Food.h" // added by Flugente
|
||||
#include "Encyclopedia_new.h" //Moa: enc. item visibility
|
||||
#endif
|
||||
|
||||
#ifdef JA2UB
|
||||
@@ -3710,7 +3711,8 @@ void INVRenderItem( UINT32 uiBuffer, SOLDIERTYPE * pSoldier, OBJECTTYPE *pObjec
|
||||
{
|
||||
RestoreExternBackgroundRect( sX, sY, sWidth, sHeight );
|
||||
}
|
||||
|
||||
//Moa: set encyclopedia item visibility
|
||||
EncyclopediaSetItemAsVisible( pItem->uiIndex, ENC_ITEM_DISCOVERED );
|
||||
}
|
||||
|
||||
SetFont( ITEM_FONT );
|
||||
|
||||
Reference in New Issue
Block a user