Home
last modified time | relevance | path

Searched refs:npc_id (Results 1 – 20 of 20) sorted by relevance

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dmission.cpp49 ret.npc_id = npc_id; in create()
192 if( i.npc_id == dead_guys_id ) { in on_creature_death()
453 if( npc_id.is_valid() && npc_id != _npc_id ) { in is_complete()
507 … return player_character.has_mission_item( uid ) && ( !npc_id.is_valid() || npc_id == _npc_id ); in is_complete()
510 if( npc_id.is_valid() && npc_id != _npc_id ) { in is_complete()
534 return npc_id == _npc_id; in is_complete()
550 if( npc_id != _npc_id ) { in is_complete()
696 } else if( !npc_id.is_valid() && is_complete( npc_id ) ) { // No quest giver. in process()
703 return npc_id; in get_npc_id()
723 target_npc_id = npc_id; in set_target_npc_id()
[all …]
H A Dmission.h258 mission create( const character_id &npc_id ) const;
343 character_id npc_id;
393 void set_target_npc_id( const character_id &npc_id );
406 bool is_complete( const character_id &npc_id ) const;
414 void on_talk_with_npc( const character_id &npc_id );
423 static mission *reserve_new( const mission_type_id &type, const character_id &npc_id );
425 const character_id &npc_id );
H A Dmission_start.cpp58 npc *dev = g->find_npc( miss->npc_id ); in place_dog()
60 debugmsg( "Couldn't find NPC! %d", miss->npc_id.get_value() ); in place_dog()
91 npc *p = g->find_npc( miss->npc_id ); in kill_horde_master()
93 debugmsg( "could not find mission NPC %d", miss->npc_id.get_value() ); in kill_horde_master()
191 npc *dev = g->find_npc( miss->npc_id ); in place_npc_software()
193 debugmsg( "Couldn't find NPC! %d", miss->npc_id.get_value() ); in place_npc_software()
265 npc *p = g->find_npc( miss->npc_id ); in place_deposit_box()
267 debugmsg( "could not find mission NPC %d", miss->npc_id.get_value() ); in place_deposit_box()
H A Ddebug_menu.cpp1120 data << _( " NPC ID:" ) << m.npc_id; in describe()
1234 npc *giver = g->find_npc( m.npc_id ); in remove_mission()
H A Dsavegame_json.cpp3186 jo.read( "npc_id", npc_id ); in deserialize()
3219 json.member( "npc_id", npc_id ); in serialize()
H A Dmapgen.cpp895 character_id npc_id = dat.m.place_npc( point( x.get(), y.get() ), npc_class ); in apply() local
897 dat.mission()->set_target_npc_id( npc_id ); in apply()
899 npc *p = g->find_npc( npc_id ); in apply()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dmission.cpp49 ret.npc_id = npc_id; in create()
192 if( i.npc_id == dead_guys_id ) { in on_creature_death()
453 if( npc_id.is_valid() && npc_id != _npc_id ) { in is_complete()
507 … return player_character.has_mission_item( uid ) && ( !npc_id.is_valid() || npc_id == _npc_id ); in is_complete()
510 if( npc_id.is_valid() && npc_id != _npc_id ) { in is_complete()
534 return npc_id == _npc_id; in is_complete()
550 if( npc_id != _npc_id ) { in is_complete()
696 } else if( !npc_id.is_valid() && is_complete( npc_id ) ) { // No quest giver. in process()
703 return npc_id; in get_npc_id()
723 target_npc_id = npc_id; in set_target_npc_id()
[all …]
H A Dmission.h258 mission create( const character_id &npc_id ) const;
343 character_id npc_id;
393 void set_target_npc_id( const character_id &npc_id );
406 bool is_complete( const character_id &npc_id ) const;
414 void on_talk_with_npc( const character_id &npc_id );
423 static mission *reserve_new( const mission_type_id &type, const character_id &npc_id );
425 const character_id &npc_id );
H A Dmission_start.cpp58 npc *dev = g->find_npc( miss->npc_id ); in place_dog()
60 debugmsg( "Couldn't find NPC! %d", miss->npc_id.get_value() ); in place_dog()
91 npc *p = g->find_npc( miss->npc_id ); in kill_horde_master()
93 debugmsg( "could not find mission NPC %d", miss->npc_id.get_value() ); in kill_horde_master()
191 npc *dev = g->find_npc( miss->npc_id ); in place_npc_software()
193 debugmsg( "Couldn't find NPC! %d", miss->npc_id.get_value() ); in place_npc_software()
265 npc *p = g->find_npc( miss->npc_id ); in place_deposit_box()
267 debugmsg( "could not find mission NPC %d", miss->npc_id.get_value() ); in place_deposit_box()
H A Ddebug_menu.cpp1120 data << _( " NPC ID:" ) << m.npc_id; in describe()
1234 npc *giver = g->find_npc( m.npc_id ); in remove_mission()
H A Dsavegame_json.cpp3186 jo.read( "npc_id", npc_id ); in deserialize()
3219 json.member( "npc_id", npc_id ); in serialize()
H A Dmapgen.cpp895 character_id npc_id = dat.m.place_npc( point( x.get(), y.get() ), npc_class ); in apply() local
897 dat.mission()->set_target_npc_id( npc_id ); in apply()
899 npc *p = g->find_npc( npc_id ); in apply()
/dports/games/flare-engine/flare-engine-1.12/src/
H A DGameStatePlay.cpp84 , npc_id(-1) in GameStatePlay()
700 if (npc_id != -1 && !menu->isNPCMenuVisible()) { in checkNPCInteraction()
709 if (npc_id != -1) { in checkNPCInteraction()
712 npc_id = mapr->npc_id = npcs->getID(mapr->event_npc); in checkNPCInteraction()
715 else if (mapr->npc_id != -1) { in checkNPCInteraction()
716 npc_id = mapr->npc_id; in checkNPCInteraction()
720 mapr->npc_id = -1; in checkNPCInteraction()
722 if (npc_id == -1) in checkNPCInteraction()
725 if (npc_id != -1) { in checkNPCInteraction()
751 menu->talker->setNPC(npcs->npcs[npc_id]); in checkNPCInteraction()
[all …]
H A DGameStatePlay.h90 int npc_id; variable
H A DNPC.cpp69 void NPC::load(const std::string& npc_id) { in load() argument
77 if (infile.open(npc_id, FileParser::MOD_FILE, FileParser::ERROR_NORMAL)) { in load()
171 filename = npc_id; in load()
286 std::string full_filename = mods->locate(npc_id); in load()
H A DNPC.h64 void load(const std::string& npc_id);
H A DMapRenderer.h166 int npc_id; variable
H A DEventManager.cpp967 mapr->npc_id = ec->x; in executeEventInternal()
H A DMapRenderer.cpp73 , npc_id(-1) in MapRenderer()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Strategic/
H A DQuest_Debug_System.h12 void NpcRecordLoggingInit(ProfileID npc_id, ProfileID merc_id, UINT8 quote_id, Approach);