Changeset 4c202e0 in network-game for client/Client/main.cpp
- Timestamp:
- Dec 25, 2012, 6:59:58 PM (12 years ago)
- Branches:
- master
- Children:
- 3b8adee
- Parents:
- edfd1d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
client/Client/main.cpp
redfd1d0 r4c202e0 1 #include "../../common/Compiler.h" 2 1 3 #if defined WINDOWS 2 4 #include <winsock2.h> … … 21 23 #include <allegro5/allegro_ttf.h> 22 24 23 #include "../../common/Compiler.h"24 25 #include "../../common/Message.h" 25 26 #include "../../common/Common.h" 27 #include "../../common/Player.h" 26 28 27 29 #include "Window.h" … … 433 435 break; 434 436 } 437 case MSG_TYPE_PLAYER: 438 { 439 Player p = *(Player*)(&(msg.buffer)); 440 441 cout << "p.name: " << p.name; 442 cout << "p.pos.x: " << p.pos.x; 443 cout << "p.pos.y: " << p.pos.y; 444 445 break; 446 } 435 447 } 436 448
Note:
See TracChangeset
for help on using the changeset viewer.