Changeset d58e3c3 in network-game
- Timestamp:
- Feb 2, 2015, 1:01:44 AM (10 years ago)
- Branches:
- master
- Children:
- 35d702d
- Parents:
- 6ba31d2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/MessageContainer.h
r6ba31d2 rd58e3c3 37 37 MSG_TYPE_LEAVE_GAME, 38 38 MSG_TYPE_GAME_INFO, 39 MSG_TYPE_CREATE_GAME_FAILURE, 39 40 MSG_TYPE_JOIN_GAME_SUCCESS, 40 41 MSG_TYPE_JOIN_GAME_FAILURE, -
server/server.cpp
r6ba31d2 rd58e3c3 641 641 if (mapGames.find(gameName) != mapGames.end()) { 642 642 cout << "Error: Game already exists" << endl; 643 serverMsg.type = MSG_TYPE_ JOIN_GAME_FAILURE;643 serverMsg.type = MSG_TYPE_CREATE_GAME_FAILURE; 644 644 }else { 645 645 Game* g = new Game(gameName, "../data/map.txt", &msgProcessor);
Note:
See TracChangeset
for help on using the changeset viewer.