- Encyclopedia / Briefing Room Updates (by Jazz)

o Improved record
o Restart game of Briefing Rooms
o New Action for NPC (recruiting / unrecruiting)
NPC_ACTION_RECRUIT_PROFILE_TO_EPC = 700
NPC_ACTION_UNRECRUIT_EPC = 701

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6120 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2013-06-13 22:34:43 +00:00
parent 742494ec77
commit 8f41617845
9 changed files with 187 additions and 6 deletions
+9
View File
@@ -81,6 +81,7 @@
#include "Civ Quotes.h"
#include "LuaInitNPCs.h"
#include "Encyclopedia.h"
#include "Encyclopedia_Data.h"
#include "AimArchives.h"
extern INT16 APBPConstants[TOTAL_APBP_VALUES] = {0};
@@ -1262,6 +1263,12 @@ if ( ReadXMLEmail == TRUE )
}
#endif
BackupBRandEncyclopedia ( gEncyclopediaLocationData, gEncyclopediaLocationDataBackup , 0);
BackupBRandEncyclopedia ( gEncyclopediaProfilesData, gEncyclopediaProfilesDataBackup, 1);
BackupBRandEncyclopedia ( gEncyclopediaInventoryDatag, EncyclopediaInventoryDataBackup , 2);
BackupBRandEncyclopedia ( gEncyclopediaQuestsData, gEncyclopediaQuestsDataBackup, 3);
#endif //ENABLE_ENCYCLOPEDIA
#ifdef ENABLE_BRIEFINGROOM
@@ -1279,6 +1286,8 @@ if ( ReadXMLEmail == TRUE )
}
#endif
BackupBRandEncyclopedia ( gBriefingRoomData, gBriefingRoomDataBackup, 0);
#endif //ENABLE_BRIEFINGROOM
UINT8 p;