mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
**********************************************************
** Big Maps Projects code (incl. Multiplayer v1.5 ** ********************************************************** - Merged Big Maps Project code from BMP+MP trunk (Revision: 3340) o Complete SVN Revision history: https://81.169.133.124/source/ja2/branches/Wanne/JA2%201.13%20MP - Before THIS merge, I made a branch of the existing 1.13 source o SVN Branch: https://81.169.133.124/source/ja2/branches/JA2_rev.3336/src - Removed old VS 6.0 and VS 2003 project and solutions files, because compilation is broken long time ago - I will add VS 2010 projects and solution file in the next few days git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3341 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+42
-2
@@ -33,6 +33,8 @@
|
||||
#define ACCEPT_ANY_ITEM 1000
|
||||
#define ANY_RIFLE 1001
|
||||
|
||||
|
||||
//WANNE - BMP: DONE!
|
||||
typedef struct
|
||||
{
|
||||
//SB: unify structure for all versions
|
||||
@@ -76,7 +78,45 @@ typedef struct
|
||||
UINT8 ubUnused[4];
|
||||
//#endif
|
||||
|
||||
} NPCQuoteInfo; // 32 bytes
|
||||
} _old_NPCQuoteInfo; // 32 bytes
|
||||
|
||||
//dnl ch46 021009
|
||||
class NPCQuoteInfo
|
||||
{
|
||||
public:
|
||||
//UINT8 ubIdentifier[4];
|
||||
|
||||
UINT16 fFlags;
|
||||
|
||||
// conditions
|
||||
INT16 sRequiredItem; // item NPC must have to say quote
|
||||
INT32 sRequiredGridNo; // location for NPC req'd to say quote
|
||||
|
||||
UINT16 usFactMustBeTrue; // ...before saying quote
|
||||
UINT16 usFactMustBeFalse; // ...before saying quote
|
||||
UINT8 ubQuest; // quest must be current to say quote
|
||||
UINT8 ubFirstDay; // first day quote can be said
|
||||
UINT8 ubLastDay; // last day quote can be said
|
||||
UINT8 ubApproachRequired; // must use this approach to generate quote
|
||||
UINT8 ubOpinionRequired; // opinion needed for this quote
|
||||
UINT8 ubUnused;
|
||||
|
||||
// quote to say (if any)
|
||||
UINT8 ubQuoteNum; // this is the quote to say
|
||||
UINT8 ubNumQuotes; // total # of quotes to say
|
||||
|
||||
// actions
|
||||
UINT8 ubStartQuest;
|
||||
UINT8 ubEndQuest;
|
||||
UINT8 ubTriggerNPC;
|
||||
UINT8 ubTriggerNPCRec;
|
||||
UINT16 usSetFactTrue;
|
||||
UINT16 usGiftItem; // item NPC gives to merc after saying quote
|
||||
INT16 sActionData; // special action value
|
||||
INT32 usGoToGridNo;
|
||||
public:
|
||||
NPCQuoteInfo& operator=(const _old_NPCQuoteInfo& src);
|
||||
};
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@@ -169,7 +209,7 @@ BOOLEAN LoadNPCInfoFromSavedGameFile( HWFILE hFile, UINT32 uiSaveGameVersion );
|
||||
|
||||
extern void TriggerFriendWithHostileQuote( UINT8 ubNPC );
|
||||
|
||||
extern void ReplaceLocationInNPCDataFromProfileID( UINT8 ubNPC, INT16 sOldGridNo, INT16 sNewGridNo );
|
||||
extern void ReplaceLocationInNPCDataFromProfileID( UINT8 ubNPC, INT32 sOldGridNo, INT32 sNewGridNo );
|
||||
|
||||
extern UINT8 ActionIDForMovementRecord( UINT8 ubNPC, UINT8 ubRecord );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user