Changeset 1021 for code/trunk/src/network/PacketGenerator.cc
- Timestamp:
- Apr 10, 2008, 5:03:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/PacketGenerator.cc
r790 r1021 50 50 ENetPacket* PacketGenerator::acknowledgement( int state, int reliable ) 51 51 { 52 std::cout<< "generating new acknowledgement, id: " << state << std::endl;52 COUT(4) << "generating new acknowledgement, id: " << state << std::endl; 53 53 ack* ackreq = new ack; 54 54 ackreq->id = ACK; … … 63 63 ENetPacket* PacketGenerator::mousem( double x, double y, int reliable ) 64 64 { 65 std::cout<< "generating new mouse" << std::endl;65 COUT(4) << "generating new mouse" << std::endl; 66 66 mouse* mousemove = new mouse; 67 67 mousemove->id = MOUSE; … … 77 77 ENetPacket* PacketGenerator::keystrike( char press, int reliable ) 78 78 { 79 std::cout<< "generating new keyboard" << std::endl;79 COUT(4) << "generating new keyboard" << std::endl; 80 80 keyboard* key = new keyboard; 81 81 key->id = KEYBOARD;
Note: See TracChangeset
for help on using the changeset viewer.