- Timestamp:
- Sep 27, 2013, 3:43:51 PM (11 years ago)
- Branches:
- master
- Children:
- 7d8d5d3
- Parents:
- 803566d
- Location:
- common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Game.cpp
r803566d rb48ef09 48 48 49 49 bool Game::addPlayer(Player* p) { 50 if (players. count(p->id) == 0) {50 if (players.find(p->id) == players.end()) { 51 51 players[p->id] = p; 52 52 return true; -
common/MessageContainer.h
r803566d rb48ef09 35 35 #define MSG_TYPE_LEAVE_GAME 19 36 36 #define MSG_TYPE_GAME_INFO 20 37 #define MSG_TYPE_JOIN_GAME_INFO 21 38 #define MSG_TYPE_JOIN_GAME_FAILURE 22 39 #define MSG_TYPE_JOIN_GAME_ACK 23 37 40 38 41 typedef struct
Note:
See TracChangeset
for help on using the changeset viewer.