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

api.h (458B)


      1 #ifndef TA_API_H
      2 #define TA_API_H
      3 
      4 #ifdef __cplusplus
      5 extern "C" {
      6 #endif
      7 
      8 #include "fb.h"
      9 #include "keyboard.h"
     10 #include "title.h"
     11 #include "fs.h"
     12 
     13 // Must be called before ta_update()
     14 void ta_main_init(void);
     15 
     16 // Must be called every frame after ta_init()
     17 bool ta_main_update(void);
     18 
     19 // File system
     20 ta_fs_file ta_read_file(const char *path);
     21 void ta_close_file(ta_fs_file *file);
     22 
     23 void ta_exit(int status);
     24 
     25 #ifdef __cplusplus
     26 }
     27 #endif
     28 
     29 #endif // TA_API_H