tuxanci2-engine
Game engine for tuxanci2
Log | Files | Refs | README | LICENSE

file.h (258B)


      1 #ifndef TA_FILE_H
      2 #define TA_FILE_H
      3 
      4 #include <stdint.h>
      5 
      6 typedef struct __attribute__((packed)) {
      7     uint8_t file;
      8     uint32_t size;
      9     char data[];
     10 } ta_file;
     11 
     12 ta_file *ta_file_open(uint8_t file);
     13 void ta_file_close(ta_file *file);
     14 
     15 #endif // TA_FILE_H