/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | itype.cpp | 71 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 D | avatar.cpp | 569 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 D | item_factory.cpp | 160 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 D | npc.cpp | 1044 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 D | item_factory.h | 322 std::map<std::string, use_function> &use_methods );
|
H A D | item_action.cpp | 93 if( !type->use_methods.empty() ) { in item_has_uses_recursive()
|
H A D | itype.h | 891 std::map<std::string, use_function> use_methods;
|
H A D | game_inventory.cpp | 913 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 D | itype.cpp | 71 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 D | avatar.cpp | 569 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 D | item_factory.cpp | 160 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 D | npc.cpp | 1044 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 D | item_factory.h | 322 std::map<std::string, use_function> &use_methods );
|
H A D | item_action.cpp | 93 if( !type->use_methods.empty() ) { in item_has_uses_recursive()
|
H A D | itype.h | 891 std::map<std::string, use_function> use_methods;
|
/dports/devel/avr-gdb/gdb-7.3.1/gdb/testsuite/gdb.cp/ |
H A D | misc.cc | 556 void use_methods () in use_methods() function 590 use_methods (); in main()
|
H A D | classes.cc | 562 void use_methods () in use_methods() function 598 use_methods (); in main()
|
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.cp/ |
H A D | misc.cc | 521 void use_methods () in use_methods() function 550 use_methods (); in main()
|
H A D | classes.cc | 618 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 D | misc.cc | 555 void use_methods () in use_methods() function 585 use_methods (); in main()
|
H A D | classes.cc | 561 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 D | misc.cc | 557 void use_methods () in use_methods() function 591 use_methods (); in main()
|
H A D | classes.cc | 558 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 D | classes.cc | 558 void use_methods () in use_methods() function 592 use_methods (); in main()
|
H A D | misc.cc | 557 void use_methods () in use_methods() function 591 use_methods (); in main()
|