pitmap.h 260 B

123456789101112131415
  1. #ifndef PITMAP_H
  2. #define PITMAP_H
  3. #include <stdint.h>
  4. typedef struct {
  5. uint32_t* frame_buffer;
  6. int width, height;
  7. int frame_count;
  8. int frame_height;
  9. } PM_image;
  10. PM_image* PM_load_image(const char* filename, unsigned char debug_mode);
  11. #endif