store_proto.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* This file was generated by runcprotoall */
  2. #ifndef CPROTO /* Needed to protect cproto from itself. */
  3. #ifndef store_proto_included
  4. /* src/store.c */
  5. _Bool store_init(void);
  6. _Bool store_index_ok(int index);
  7. int store_max(void);
  8. Resor *store_get(int index);
  9. _Bool store_drop(int index);
  10. Resor *store_put(int index, Resor *value);
  11. _Bool store_done(void);
  12. Resor *store_load_ttf_font_stretch(int index, const char *vpath, int w, int h, int f);
  13. Resor *store_load_ttf_font(int index, const char *vpath, int h, int f);
  14. Resor *store_load_bitmap_font_flags(int index, const char *vpath, int f);
  15. Resor *store_load_bitmap_font(int index, const char *vpath);
  16. Resor *store_grab_font_from_resor(int index, Resor *resor, int count, int ranges[]);
  17. Resor *store_grab_font(int index, int bmp_index, int count, int ranges[]);
  18. Resor *store_load_audio_stream(int index, const char *vpath, size_t buffer_count, int samples);
  19. Resor *store_load_sample(int index, const char *vpath);
  20. Resor *store_load_bitmap_flags(int index, const char *vpath, int flags);
  21. Resor *store_load_bitmap(int index, const char *vpath);
  22. Resor *store_load_other(int index, const char *vpath, ResorKind kind, ResorLoader *loader, ResorDestructor *destroy, void *extra);
  23. Resor *store_load_tilemap(int index, const char *vpath);
  24. int store_kind(int index);
  25. ALLEGRO_FONT *store_get_font(int index);
  26. ALLEGRO_BITMAP *store_get_bitmap(int index);
  27. ALLEGRO_SAMPLE *store_get_sample(int index);
  28. ALLEGRO_AUDIO_STREAM *store_get_audio_stream(int index);
  29. void *store_get_other(int index, unsigned kind);
  30. _Bool store_get_bitmap_format(int index, int *value);
  31. _Bool store_get_bitmap_flags(int index, int *value);
  32. _Bool store_get_bitmap_height(int index, int *value);
  33. _Bool store_get_bitmap_width(int index, int *value);
  34. _Bool store_get_ustr_dimensions(int index, ALLEGRO_USTR *text, Rebox *value);
  35. _Bool store_get_ustr_width(int index, ALLEGRO_USTR *text, int *value);
  36. _Bool store_get_text_dimensions(int index, char *text, Rebox *value);
  37. _Bool store_get_text_width(int index, char *text, int *value);
  38. _Bool store_get_font_ascent(int index, int *value);
  39. _Bool store_get_font_descent(int index, int *value);
  40. _Bool store_get_font_line_height(int index, int *value);
  41. int store_get_unused_id(int minimum);
  42. int store_load_ttf_font_stretch_id(int min, const char *vpath, int w, int h, int f);
  43. int store_load_ttf_font_id(int min, const char *vpath, int h, int f);
  44. int store_load_bitmap_font_flags_id(int min, const char *vpath, int f);
  45. int store_load_bitmap_font_id(int min, const char *vpath);
  46. int store_grab_font_id(int min, int from, int count, int ranges[]);
  47. int store_load_audio_stream_id(int min, const char *vpath, size_t buffer_count, int samples);
  48. int store_load_sample_id(int min, const char *vpath);
  49. int store_load_bitmap_flags_id(int min, const char *vpath, int flags);
  50. int store_load_bitmap_id(int min, const char *vpath);
  51. int store_load_other_id(int min, const char *vpath, ResorKind kind, ResorLoader *loader, ResorDestructor *destroy, void *extra);
  52. int store_load_tilemap_id(int min, const char *vpath);
  53. #endif /* store_proto_included */
  54. #endif /* CPROTO */