Home
last modified time | relevance | path

Searched refs:new_npc (Results 1 – 6 of 6) sorted by relevance

/dports/games/naev/naev-0.7.0/src/
H A Dnpc.c87 NPC_t *new_npc; in npc_add() local
100 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()
/dports/games/adonthell/adonthell-0.3.8/src/
H A Ddialog_screen.cc271 void dialog_screen::set_npc (const string & new_npc) in set_npc() argument
273 character_base *mynpc = (character_base *) data::characters[new_npc.c_str ()]; in set_npc()
H A Ddialog_screen.h97 void set_npc (const string & new_npc);
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dsavegame.cpp604 shared_ptr_fast<npc> new_npc = make_shared_fast<npc>(); in unserialize() local
605 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()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dsavegame.cpp604 shared_ptr_fast<npc> new_npc = make_shared_fast<npc>(); in unserialize() local
605 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()
/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/
H A Dintrinsics.cc1444 Game_object_shared new_npc = npc->clone(); in USECODE_INTRINSIC() local
1445 auto *clonednpc = static_cast<Actor *>(new_npc.get()); in USECODE_INTRINSIC()