Archive

#define CASE_STRAIT_BOARD( first, last, match )                                                                        \
    case straitBoard_##first##_##last:                                                                                 \
        if ( hero.getLCard().getValueNum() == static_cast< uint32_t >( Card::valCard::_##match ) ||                    \
             hero.getRCard().getValueNum() == static_cast< uint32_t >( Card::valCard::_##match ) )                     \
//            case straitBoard_4_6:
                //                if ( hero.getLCard().getValueNum() == static_cast< uint32_t >( Card::valCard::_7 ) &&
                //                     hero.getRCard().getValueNum() == static_cast< uint32_t >( Card::valCard::_7 ) )
                //                    hsHeroIsBlockHighest = true;
#define STRAIT_BOARD(first, second, last) \
	constexpr uint32_t straitBoard_##first##_##last = static_cast< uint32_t >( Card::valCard::_##first ) |\
										static_cast< uint32_t >( Card::valCard::_##second ) |\
										static_cast< uint32_t >( Card::valCard::_##last )
constexpr uint32_t straitBoard_3_5 = static_cast< uint32_t >( Card::valCard::_3 ) |
                                                 static_cast< uint32_t >( Card::valCard::_4 ) |
                                                 static_cast< uint32_t >( Card::valCard::_5 );
            constexpr uint32_t straitBoard_4_6 = static_cast< uint32_t >( Card::valCard::_4 ) |
user nginx nginx;
worker_processes 2;

error_log /var/log/nginx/error_log info;
user nginx nginx;
worker_processes 2;

error_log /var/log/nginx/error_log info;
# /etc/hosts: Local Host Database
#
# This file describes a number of aliases-to-address mappings for the for 
# local hosts that share this file.
# /etc/hosts: Local Host Database
#
# This file describes a number of aliases-to-address mappings for the for 
# local hosts that share this file.
server {
    # Порт на котором работает ресурс
    listen 192.168.0.5;
    # Название ресурса по которому будет осуществляться доступ
user nginx nginx;
worker_processes 2;

error_log /var/log/nginx/error_log info;
<< < 536 537 538 539 540 > >>