bashaus/gbtiles

View on GitHub
lib/gbtiles/gbr/export/asm/asm.h.erb

Summary

Maintainability
Test Coverage
<% tile_export = tile_set.tile_export.first -%>
/**
 * .H created with
 * GBTiles Ruby Gem (v<%= GBTiles::VERSION %>) - GBR
 *
 * .GBR created with
 * <%= tile_set.producer.first.name %> (v<%= tile_set.producer.first.version %>)
 * <%= tile_set.producer.first.info %>
 */

// Helpers
#define <%= tile_export.label_name %>Bank <%= bank %>
#define <%= tile_export.label_name %>Count <%= tile_export.upto - tile_export.from + 1 %>

// Extern
extern unsigned char <%= tile_export.label_name %>[];