Browse Source

fixed etymology formatting

Iver 6 days ago
parent
commit
c46772582b
2 changed files with 6 additions and 18 deletions
  1. 3 3
      README.md
  2. 3 15
      src/headers/pitmap.h

+ 3 - 3
README.md

@@ -2,9 +2,9 @@
 
 ## Etymology
 
-BitMap -> Bit & Map
-PitMap -> Pit & Map
-Pit, like a lemon would have. Sounds like "Bit"
+* BitMap -> Bit & Map
+* PitMap -> Pit & Map
+* Pit, like a lemon would have. Sounds like "Bit"
 
 ## Roadmap
 

+ 3 - 15
src/headers/pitmap.h

@@ -3,19 +3,7 @@
 
 #include <stdint.h>
 
-typedef struct {
-    uint32_t* frame_buffer; // the array that stores the pixel data
-    int width; // width of the image
-    int height; // height of the image INCLUDING all stacked frames
-    int frame_height; // height of each FRAME
-    int frame_count; // number of frames
-    uint16_t* frame_delays; // centisecond delay for each frame
-} PM_image;
+#include "PM_functions.h"
+#include "PM_structs.h"
 
-// loads an image file and returns a PM_image
-PM_image* PM_load_image(const char* filename, unsigned char debug_mode);
-
-// unallocated a PM_image*
-void PM_free_image(PM_image* image);
-
-#endif
+#endif