Changeset abc4d56 in network-game
- Timestamp:
- Jul 4, 2014, 10:43:06 PM (10 years ago)
- Branches:
- master
- Children:
- fd9cdb5
- Parents:
- cf05729
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/server.cpp
rcf05729 rabc4d56 765 765 p->serialize(serverMsg.buffer); 766 766 msgProcessor.broadcastMessage(serverMsg, players); 767 768 break; 769 } 770 case MSG_TYPE_START_GAME: 771 { 772 cout << "Received a START_GAME message" << endl; 773 774 Player* p = findPlayerByAddr(mapPlayers, from); 775 map<unsigned int, Player*> players = p->currentGame->getPlayers(); 776 777 serverMsg.type = MSG_TYPE_START_GAME; 778 msgProcessor.broadcastMessage(serverMsg, players); 779 780 break; 767 781 } 768 782 default:
Note:
See TracChangeset
for help on using the changeset viewer.