bool mtype_special_attack::call( monster &mon ) const { if( function_type == ATTACK_CPP ) { return cpp_function( &mon ); } else if( function_type == ATTACK_ACTOR_PTR ) { return actor_ptr->call( mon ); } return false; }
extern "C" void c_function() { cpp_function(); }