default_assets.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file was generated with the command-line:
  2. // /usr/local/bin/gd2asset -f xxx testdata/felix.png,format=RGB332 testdata/Hobby-of-night.ttf,topchar=0x39 testdata/0.wav Aurek-Besh.ttf
  3. #define FELIX_HANDLE 0
  4. #define FELIX_WIDTH 320
  5. #define FELIX_HEIGHT 200
  6. #define FELIX_CELLS 1
  7. #define HOBBY_OF_NIGHT_HANDLE 1
  8. #define HOBBY_OF_NIGHT_WIDTH 9
  9. #define HOBBY_OF_NIGHT_HEIGHT 13
  10. #define HOBBY_OF_NIGHT_CELLS 26
  11. #define 0 65840UL
  12. #define 0_LENGTH 3272
  13. #define 0_FREQ 8000
  14. #define AUREK_BESH_HANDLE 2
  15. #define AUREK_BESH_WIDTH 21
  16. #define AUREK_BESH_HEIGHT 15
  17. #define AUREK_BESH_CELLS 96
  18. #define ASSETS_END 85100UL
  19. #define LOAD_ASSETS() (GD.safeload("xxx"), GD.loadptr = ASSETS_END)
  20. static const shape_t FELIX_SHAPE = {0, 320, 200, 0};
  21. static const shape_t HOBBY_OF_NIGHT_SHAPE = {1, 9, 13, 0};
  22. static const shape_t AUREK_BESH_SHAPE = {2, 21, 15, 0};
  23. struct {
  24. Bitmap felix;
  25. Bitmap hobby_of_night;
  26. Bitmap aurek_besh;
  27. } bitmaps = {
  28. /* felix */ {{320, 200}, {160, 100}, 0x0UL, 4, 0},
  29. /* hobby_of_night */ {{ 9, 13}, { 4, 6}, 0xfa00UL, 2, 1},
  30. /* aurek_besh */ {{ 21, 15}, { 10, 7}, 0x10df8UL, 2, 2}
  31. };