Guest User

Untitled

a guest
Jan 20th, 2015
24
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef _ROAD_H_
  2. #define _ROAD_H_
  3.  
  4. #include <stdbool.h>
  5. #include "graphics.h"
  6. #include "sprite.h"
  7.  
  8. struct road_segment {
  9. int idx;
  10. int p1_z;
  11. int p2_z;
  12. int p1_y;
  13. int p2_y;
  14. long p1_scale, p2_scale;
  15. int curve;
  16. unsigned color;
  17. unsigned border_color;
  18. int lanes;
  19. unsigned lane_color;
  20. unsigned grass_color;
  21. bool looped;
  22. int clip;
  23. /* linked list of sprites */
  24. struct sprite_t *sprites;
  25. };
  26.  
  27. #endif
RAW Paste Data