Home
last modified time | relevance | path

Searched refs:use_methods (Results 1 – 25 of 39) sorted by relevance

12

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Ditype.cpp71 return !use_methods.empty(); in has_use()
91 const auto iter = use_methods.find( iuse_name ); in get_use()
92 return iter != use_methods.end() ? &iter->second : nullptr; in get_use()
100 for( const auto &method : use_methods ) { in tick()
117 return invoke( p, it, pos, use_methods.begin()->first ); in invoke()
H A Davatar.cpp569 if( it.type->use_methods.count( "MA_MANUAL" ) ) { in read()
655 if( it.type->use_methods.count( "MA_MANUAL" ) ) { in read()
869 auto m = book.type->use_methods.find( "MA_MANUAL" ); in do_read()
870 if( m != book.type->use_methods.end() ) { in do_read()
959 if( book.type->use_methods.count( "MA_MANUAL" ) ) { in identify()
1629 const std::map<std::string, use_function> &use_methods = used->type->use_methods; in invoke_item() local
1630 const int num_methods = use_methods.size(); in invoke_item()
1633 if( use_methods.empty() && !has_relic ) { in invoke_item()
1636 return invoke_item( used, use_methods.begin()->first, pt, pre_obtain_moves ); in invoke_item()
1646 for( const auto &e : use_methods ) { in invoke_item()
[all …]
H A Ditem_factory.cpp160 emplace_usage( obj.use_methods, u.second ); in finalize_pre()
167 emplace_usage( obj.use_methods, func ); in finalize_pre()
170 emplace_usage( obj.use_methods, func ); in finalize_pre()
469 for( auto &e : obj.use_methods ) { in finalize_pre()
509 for( const auto &e : obj.use_methods ) { in register_cached_uses()
1486 for( const auto &elem : type->use_methods ) { in check_definitions()
3613 use_methods.clear(); in set_use_methods_from_json()
3618 emplace_usage( use_methods, type ); in set_use_methods_from_json()
3623 use_methods.insert( fun ); in set_use_methods_from_json()
3632 emplace_usage( use_methods, type ); in set_use_methods_from_json()
[all …]
H A Dnpc.cpp1044 if( chosen.type->use_methods.count( "MA_MANUAL" ) ) { in start_read()
2890 const auto &use_methods = used->type->use_methods; in invoke_item() local
2892 if( use_methods.empty() ) { in invoke_item()
2894 } else if( use_methods.size() == 1 ) { in invoke_item()
2895 return Character::invoke_item( used, use_methods.begin()->first, pt ); in invoke_item()
2948 if( !it.type->use_methods.empty() ) { in will_accept_from_player()
H A Ditem_factory.h322 std::map<std::string, use_function> &use_methods );
H A Ditem_action.cpp93 if( !type->use_methods.empty() ) { in item_has_uses_recursive()
H A Ditype.h891 std::map<std::string, use_function> use_methods;
H A Dgame_inventory.cpp913 const auto &uses = it.type->use_methods; in get_denial()
973 const auto &uses = it.type->use_methods; in get_action_name()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Ditype.cpp71 return !use_methods.empty(); in has_use()
91 const auto iter = use_methods.find( iuse_name ); in get_use()
92 return iter != use_methods.end() ? &iter->second : nullptr; in get_use()
100 for( const auto &method : use_methods ) { in tick()
117 return invoke( p, it, pos, use_methods.begin()->first ); in invoke()
H A Davatar.cpp569 if( it.type->use_methods.count( "MA_MANUAL" ) ) { in read()
655 if( it.type->use_methods.count( "MA_MANUAL" ) ) { in read()
869 auto m = book.type->use_methods.find( "MA_MANUAL" ); in do_read()
870 if( m != book.type->use_methods.end() ) { in do_read()
959 if( book.type->use_methods.count( "MA_MANUAL" ) ) { in identify()
1629 const std::map<std::string, use_function> &use_methods = used->type->use_methods; in invoke_item() local
1630 const int num_methods = use_methods.size(); in invoke_item()
1633 if( use_methods.empty() && !has_relic ) { in invoke_item()
1636 return invoke_item( used, use_methods.begin()->first, pt, pre_obtain_moves ); in invoke_item()
1646 for( const auto &e : use_methods ) { in invoke_item()
[all …]
H A Ditem_factory.cpp160 emplace_usage( obj.use_methods, u.second ); in finalize_pre()
167 emplace_usage( obj.use_methods, func ); in finalize_pre()
170 emplace_usage( obj.use_methods, func ); in finalize_pre()
469 for( auto &e : obj.use_methods ) { in finalize_pre()
509 for( const auto &e : obj.use_methods ) { in register_cached_uses()
1486 for( const auto &elem : type->use_methods ) { in check_definitions()
3613 use_methods.clear(); in set_use_methods_from_json()
3618 emplace_usage( use_methods, type ); in set_use_methods_from_json()
3623 use_methods.insert( fun ); in set_use_methods_from_json()
3632 emplace_usage( use_methods, type ); in set_use_methods_from_json()
[all …]
H A Dnpc.cpp1044 if( chosen.type->use_methods.count( "MA_MANUAL" ) ) { in start_read()
2890 const auto &use_methods = used->type->use_methods; in invoke_item() local
2892 if( use_methods.empty() ) { in invoke_item()
2894 } else if( use_methods.size() == 1 ) { in invoke_item()
2895 return Character::invoke_item( used, use_methods.begin()->first, pt ); in invoke_item()
2948 if( !it.type->use_methods.empty() ) { in will_accept_from_player()
H A Ditem_factory.h322 std::map<std::string, use_function> &use_methods );
H A Ditem_action.cpp93 if( !type->use_methods.empty() ) { in item_has_uses_recursive()
H A Ditype.h891 std::map<std::string, use_function> use_methods;
/dports/devel/avr-gdb/gdb-7.3.1/gdb/testsuite/gdb.cp/
H A Dmisc.cc556 void use_methods () in use_methods() function
590 use_methods (); in main()
H A Dclasses.cc562 void use_methods () in use_methods() function
598 use_methods (); in main()
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.cp/
H A Dmisc.cc521 void use_methods () in use_methods() function
550 use_methods (); in main()
H A Dclasses.cc618 void use_methods () in use_methods() function
662 use_methods (); in main()
/dports/devel/gdb761/gdb-7.6.1/gdb/testsuite/gdb.cp/
H A Dmisc.cc555 void use_methods () in use_methods() function
585 use_methods (); in main()
H A Dclasses.cc561 void use_methods () in use_methods() function
593 use_methods (); in main()
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/testsuite/gdb.cp/
H A Dmisc.cc557 void use_methods () in use_methods() function
591 use_methods (); in main()
H A Dclasses.cc558 void use_methods () in use_methods() function
592 use_methods (); in main()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/testsuite/gdb.cp/
H A Dclasses.cc558 void use_methods () in use_methods() function
592 use_methods (); in main()
H A Dmisc.cc557 void use_methods () in use_methods() function
591 use_methods (); in main()

12