Searched refs:new_npc (Results 1 – 6 of 6) sorted by relevance
87 NPC_t *new_npc; in npc_add() local100 new_npc = &array_grow( &npc_array ); in npc_add()103 *new_npc = *npc; in npc_add()106 new_npc->id = ++npc_array_idgen; in npc_add()107 return new_npc->id; in npc_add()
271 void dialog_screen::set_npc (const string & new_npc) in set_npc() argument273 character_base *mynpc = (character_base *) data::characters[new_npc.c_str ()]; in set_npc()
97 void set_npc (const string & new_npc);
604 shared_ptr_fast<npc> new_npc = make_shared_fast<npc>(); in unserialize() local605 new_npc->deserialize( jsin ); in unserialize()606 if( !new_npc->get_fac_id().str().empty() ) { in unserialize()607 new_npc->set_fac( new_npc->get_fac_id() ); in unserialize()609 npcs.push_back( new_npc ); in unserialize()
1444 Game_object_shared new_npc = npc->clone(); in USECODE_INTRINSIC() local1445 auto *clonednpc = static_cast<Actor *>(new_npc.get()); in USECODE_INTRINSIC()