Advertisement
ijontichy

map.h

Dec 11th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #ifndef DEFS_MAP__
  2. #define DEFS_MAP__
  3.  
  4.  
  5.  
  6. #define NAME_LENGTH 32
  7.  
  8. typedef struct {int type; int id; double x; double y;} map_block;
  9. typedef struct {int size_x; int size_y; char name[NAME_LENGTH];} map_info;
  10.  
  11. map_block convertBlock(char* bytes);
  12. map_info  getInfo(char* bytes);
  13.  
  14.  
  15.  
  16. #endif  // DEFS_MAP__
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement