Advertisement
Guest User

LAB V3 map format

a guest
Nov 25th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1.  
  2. https://mutantleg.itch.io/lab-v30/
  3. file formats
  4.  
  5.  
  6. .spr format:
  7. int mapwidth;
  8. int mapheight;
  9. float tilewidth; //32.0f
  10. float tileheight;
  11. xSpr [ mapwidth * mapheight ]
  12.  
  13.  
  14. struct xSpr
  15. {
  16. char name[32];
  17. int valid;
  18. int trig;
  19. int skin;
  20. };
  21.  
  22.  
  23.  
  24.  
  25. .map format:
  26. int mapwidth;
  27. int mapheight;
  28. float tilewidth; //32.0f
  29. float tileheight;
  30. xBlock [ mapwidth * mapheight ]
  31.  
  32.  
  33. struct xBlock
  34. {
  35. int side[6];
  36. int wall;
  37. int flag;
  38. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement