Changeset d05086b in network-game for common/Common.h
- Timestamp:
- Aug 1, 2013, 1:56:17 AM (12 years ago)
- Branches:
- master
- Children:
- 8271c78
- Parents:
- b35b2b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Common.h
rb35b2b2 rd05086b 12 12 #endif 13 13 14 #include <string> 15 16 using namespace std; 17 14 18 typedef struct 15 19 { … … 22 26 int x; 23 27 int y; 24 //FLOAT_POSITION toFloat();25 28 FLOAT_POSITION toFloat() { 26 29 FLOAT_POSITION floatPosition; … … 34 37 void set_nonblock(int sock); 35 38 unsigned long long getCurrentMillis(); 39 string getCurrentDateTimeString(); 36 40 float posDistance(FLOAT_POSITION pos1, FLOAT_POSITION pos2); 37 41
Note:
See TracChangeset
for help on using the changeset viewer.