Changeset d05086b in network-game for common/Common.h


Ignore:
Timestamp:
Aug 1, 2013, 1:56:17 AM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
8271c78
Parents:
b35b2b2
Message:

Support for logging to a textfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Common.h

    rb35b2b2 rd05086b  
    1212#endif
    1313
     14#include <string>
     15
     16using namespace std;
     17
    1418typedef struct
    1519{
     
    2226   int x;
    2327   int y;
    24    //FLOAT_POSITION toFloat();
    2528   FLOAT_POSITION toFloat() {
    2629      FLOAT_POSITION floatPosition;
     
    3437void set_nonblock(int sock);
    3538unsigned long long getCurrentMillis();
     39string getCurrentDateTimeString();
    3640float posDistance(FLOAT_POSITION pos1, FLOAT_POSITION pos2);
    3741
Note: See TracChangeset for help on using the changeset viewer.