Changeset 4b4b153 in network-game for server


Ignore:
Timestamp:
May 26, 2013, 9:01:11 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
8a4ed74
Parents:
e1f78f5
Message:

The server can receive, but does not yet process, START_ATTACK and ATTACK messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/server.cpp

    re1f78f5 r4b4b153  
    680680         break;
    681681      }
     682      case MSG_TYPE_START_ATTACK:
     683      {
     684         cout << "Received a START_ATTACK message" << endl;
     685
     686         serverMsg.type = MSG_TYPE_START_ATTACK;
     687         broadcastResponse = true;
     688      }
     689      case MSG_TYPE_ATTACK:
     690      {
     691         cout << "Received am ATTACK message" << endl;
     692
     693         serverMsg.type = MSG_TYPE_ATTACK;
     694         broadcastResponse = true;
     695      }
    682696      default:
    683697      {
Note: See TracChangeset for help on using the changeset viewer.