Changeset cb5a021 in network-game for client/Client/main.cpp


Ignore:
Timestamp:
Jul 4, 2014, 10:22:02 PM (10 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
cf05729
Parents:
b1ce08c
Message:

Client sends a new START_GAME message to start a game from the game lobby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    rb1ce08c rcb5a021  
    10941094               break;
    10951095            }
     1096            case MSG_TYPE_START_GAME:
     1097            {
     1098               state = STATE_GAME;
     1099               wndCurrent = wndGame;
     1100
     1101               break;
     1102            }
    10961103            default:
    10971104            {
     
    13981405
    13991406void startGame() {
    1400    state = STATE_GAME;
    1401    wndCurrent = wndGame;
     1407   msgTo.type = MSG_TYPE_LEAVE_GAME;
     1408
     1409   msgProcessor.sendMessage(&msgTo, &server);
    14021410}
    14031411
Note: See TracChangeset for help on using the changeset viewer.