Changeset 3d81c0d in network-game for client


Ignore:
Timestamp:
Feb 24, 2013, 5:55:35 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
67d032c
Parents:
7b43385
Message:

Removed some print statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    r7b43385 r3d81c0d  
    165165
    166166   WorldMap* gameMap = WorldMap::loadMapFromFile("../../data/map.txt");
    167    //delete gameMap;
    168    //gameMap = WorldMap::createDefaultMap();
    169167
    170168   wndLogin = new Window(0, 0, SCREEN_W, SCREEN_H);
     
    245243   {
    246244      ALLEGRO_EVENT ev;
     245     
    247246      al_wait_for_event(event_queue, &ev);
    248247
     
    337336
    338337      if (receiveMessage(&msgFrom, sock, &from) >= 0)
    339       {
    340338         processMessage(msgFrom, state, chatConsole, mapPlayers, curPlayerId);
    341          cout << "state: " << state << endl;
    342       }
    343339 
    344340      if (redraw && al_is_event_queue_empty(event_queue))
     
    453449{
    454450   string response = string(msg.buffer);
    455 
    456    cout << "Got message: " << msg.type << endl;
    457451
    458452   switch(state)
     
    531525               mapPlayers[p.id] = p;
    532526
    533                cout << "p.id: " << p.id << endl;
    534 
    535527               break;
    536528            }
Note: See TracChangeset for help on using the changeset viewer.