Changeset 3d81c0d in network-game


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

Files:
2 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            }
  • common/Player.cpp

    r7b43385 r3d81c0d  
    7171   memcpy(&this->target.y, buffer+16, 4);
    7272   this->name.assign(buffer+20);
    73 
    74    cout << "id: " << this->id << endl;
    75    cout << "pos x: " << this->pos.x << endl;
    76    cout << "pos y: " << this->pos.y << endl;
    77    cout << "target x: " << this->target.x << endl;
    78    cout << "target y: " << this->target.y << endl;
    79    cout << "name: " << this->name << endl;
    8073}
    8174
Note: See TracChangeset for help on using the changeset viewer.