Changes in / [ca44f82:8f85180] in network-game


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • client/Client/main.cpp

    rca44f82 r8f85180  
    2222#include <map>
    2323
    24 #include <map>
    25 
    2624#include <allegro5/allegro.h>
    2725#include <allegro5/allegro_font.h>
     
    8280bool doexit;
    8381
    84 map<unsigned int, Player> mapPlayers;
    85 
    8682Window* wndLogin;
    8783Window* wndMain;
     
    439435
    440436   return pos;
    441 }
    442 
    443 POSITION mapToScreen(FLOAT_POSITION pos)
    444 {
    445    POSITION p;
    446    p.x = pos.x+300;
    447    p.y = pos.y+100;
    448 
    449    return p;
    450437}
    451438
     
    531518               mapPlayers[p.id] = p;
    532519
    533                cout << "p.id: " << p.id << endl;
     520               cout << "Received MSG_TYPE_PLAYER message" << endl;
    534521
    535522               break;
  • common/Player.h

    rca44f82 r8f85180  
    1212
    1313#include <string>
     14#include <sys/time.h>
    1415
    1516#include "Common.h"
Note: See TracChangeset for help on using the changeset viewer.