Changes in / [ca44f82:8f85180] in network-game
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
rca44f82 r8f85180 22 22 #include <map> 23 23 24 #include <map>25 26 24 #include <allegro5/allegro.h> 27 25 #include <allegro5/allegro_font.h> … … 82 80 bool doexit; 83 81 84 map<unsigned int, Player> mapPlayers;85 86 82 Window* wndLogin; 87 83 Window* wndMain; … … 439 435 440 436 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;450 437 } 451 438 … … 531 518 mapPlayers[p.id] = p; 532 519 533 cout << " p.id: " << p.id<< endl;520 cout << "Received MSG_TYPE_PLAYER message" << endl; 534 521 535 522 break; -
common/Player.h
rca44f82 r8f85180 12 12 13 13 #include <string> 14 #include <sys/time.h> 14 15 15 16 #include "Common.h"
Note:
See TracChangeset
for help on using the changeset viewer.