No Description

bpre.h 945B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef BPRE_H_
  2. #define BPRE_H_
  3. #include "types.h"
  4. #include "sound.h"
  5. #include "fade.h"
  6. #include "lcd.h"
  7. #include <callback.h>
  8. #include <config.h>
  9. u32 __aeabi_uidivmod(u32 a, u32 b);
  10. u16 *var_access(int index);
  11. u8 flag_check(int flag);
  12. void clear_flag(u16 flag);
  13. u16 random();
  14. void* malloc(int size);
  15. void free(void* address);
  16. void* memcpy (void * destination, const void* source, size_t num);
  17. void* memset (void* dst, int value, size_t size);
  18. //debug
  19. void agbprintf(const char* pBuf, ...);
  20. void agbprint_flush();
  21. void agb_assert(const char *file, int line, const char *expression, u32 stop);
  22. // sound related stuff
  23. extern MPlayTable mplay_table[];
  24. extern SongTable _songtable[];
  25. void m4aSongNumStart(u16 songid);
  26. void MPlayStart_rev01(MusicPlayerArea *ma, SongHeader *so);
  27. void MPlayContinue(MusicPlayerArea *ma);
  28. //graphical stuff
  29. //object related stuff
  30. void objc_exec();
  31. void obj_sync();
  32. //task related stuff
  33. void task_exec();
  34. #endif