- 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
+15
View File
@@ -4426,6 +4426,21 @@ void HandleNPCDoAction( UINT8 ubTargetNPC, UINT16 usActionCode, UINT8 ubQuoteNum
HaveNpcOpenUpDealerScreen( ubTargetNPC );
break;
#endif
case NPC_ACTION_RECRUIT_PROFILE_TO_EPC:
//if ( !CheckNPCIsEPC(ubTargetNPC) )
//{
RecruitEPC( ubTargetNPC );
//}
break;
case NPC_ACTION_UNRECRUIT_EPC:
//if ( CheckNPCIsEPC(ubTargetNPC) )
// {
UnRecruitEPC( ubTargetNPC );
// }
break;
default:
ScreenMsg( FONT_MCOLOR_RED, MSG_TESTVERSION, L"No code support for NPC action %d", usActionCode );
break;