spritecache.c
changeset 143 31611f0dabd4
parent 142 0c2bd172af05
child 182 1641047f1d9f
equal deleted inserted replaced
142:0c2bd172af05 143:31611f0dabd4
   660 	"cached_sprites.xx1",
   660 	"cached_sprites.xx1",
   661 	"cached_sprites.xx2",
   661 	"cached_sprites.xx2",
   662 	"cached_sprites.xx3",
   662 	"cached_sprites.xx3",
   663 };
   663 };
   664 
   664 
   665 #define OPENTTD_SPRITES_COUNT = 70
   665 #define OPENTTD_SPRITES_COUNT 70
   666 static const uint16 _openttd_grf_indexes[] = {
   666 static const uint16 _openttd_grf_indexes[] = {
   667 	SPR_OPENTTD_BASE+0,	SPR_OPENTTD_BASE+7, // icons etc
   667 	SPR_OPENTTD_BASE+0,	SPR_OPENTTD_BASE+7, // icons etc
   668 	98,98,     // euro symbol medium size
   668 	98,98,     // euro symbol medium size
   669 	546,546,   // euro symbol large size
   669 	546,546,   // euro symbol large size
   670 	SPR_OPENTTD_BASE+10, SPR_OPENTTD_BASE+57, // more icons
   670 	SPR_OPENTTD_BASE+10, SPR_OPENTTD_BASE+57, // more icons
   671 	648, 648, // nordic char: æ
   671 	648, 648, // nordic char: æ
   672 	616, 616, // nordic char: Æ
   672 	616, 616, // nordic char: Æ
   673 	666, 666, // nordic char: Ø
   673 	666, 666, // nordic char: Ø
   674 	634, 634, // nordic char: Ø
   674 	634, 634, // nordic char: Ø
   675 	SPR_OPENTTD_BASE+62, SPR_OPENTTD_BASE+SPR_OPENTTD_COUNT, // more icons
   675 	SPR_OPENTTD_BASE+62, SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT, // more icons
   676 	0xffff,
   676 	0xffff,
   677 };
   677 };
   678 
   678 
   679 static void LoadSpriteTables()
   679 static void LoadSpriteTables()
   680 {
   680 {