Home
last modified time | relevance | path

Searched refs:ubQuest (Results 1 – 3 of 3) sorted by relevance

/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Strategic/
H A DQuests.h222 extern void StartQuest( UINT8 ubQuest, INT16 sSectorX, INT16 sSectorY );
223 extern void EndQuest( UINT8 ubQuest, INT16 sSectorX, INT16 sSectorY );
225 extern void InternalStartQuest( UINT8 ubQuest, INT16 sSectorX, INT16 sSectorY, BOOLEAN fUpdateHisto…
226 extern void InternalEndQuest( UINT8 ubQuest, INT16 sSectorX, INT16 sSectorY, BOOLEAN fUpdateHistory…
H A DQuests.cc1099 void StartQuest( UINT8 ubQuest, INT16 sSectorX, INT16 sSectorY ) in StartQuest() argument
1101 InternalStartQuest( ubQuest, sSectorX, sSectorY, TRUE ); in StartQuest()
1107 if ( gubQuest[ubQuest ] == QUESTNOTSTARTED ) in InternalStartQuest()
1109 gubQuest[ubQuest] = QUESTINPROGRESS; in InternalStartQuest()
1118 gubQuest[ubQuest] = QUESTINPROGRESS; in InternalStartQuest()
1122 void EndQuest( UINT8 ubQuest, INT16 sSectorX, INT16 sSectorY ) in EndQuest() argument
1124 InternalEndQuest( ubQuest, sSectorX, sSectorY, TRUE ); in EndQuest()
1129 if ( gubQuest[ubQuest ] == QUESTINPROGRESS ) in InternalEndQuest()
1131 gubQuest[ubQuest] = QUESTDONE; in InternalEndQuest()
1140 gubQuest[ubQuest] = QUESTDONE; in InternalEndQuest()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TacticalAI/
H A DNPC.cc131 UINT8 ubQuest; // quest must be current to say quote member
186 EXTR_U8( d, i->ubQuest) in ExtractNPCQuoteInfoArrayFromFile()
246 INJ_U8( d, i->ubQuest) in ConditionalInjectNPCQuoteInfoArrayIntoFile()
1158 if (pNPCQuoteInfo->ubQuest != NO_QUEST) in NPCConsiderQuote()
1160 …if (pNPCQuoteInfo->ubQuest > QUEST_DONE_NUM && (pNPCQuoteInfo->ubQuest - QUEST_DONE_NUM) < MAX_QUE… in NPCConsiderQuote()
1162 if (gubQuest[pNPCQuoteInfo->ubQuest - QUEST_DONE_NUM] != QUESTDONE) in NPCConsiderQuote()
1167 …else if (pNPCQuoteInfo->ubQuest > QUEST_NOT_STARTED_NUM && (pNPCQuoteInfo->ubQuest - QUEST_NOT_STA… in NPCConsiderQuote()
1169 if (gubQuest[pNPCQuoteInfo->ubQuest - QUEST_NOT_STARTED_NUM] != QUESTNOTSTARTED) in NPCConsiderQuote()
1174 else if (pNPCQuoteInfo->ubQuest < MAX_QUESTS) in NPCConsiderQuote()
1176 if (gubQuest[pNPCQuoteInfo->ubQuest] != QUESTINPROGRESS) in NPCConsiderQuote()
[all …]