Moved backgrounds into "Backgrounds" assets folder. Any BGAnimation may be used now.

Cleaned up many, many graphics.
This commit is contained in:
Chris Danford
2002-09-23 07:35:47 +00:00
parent e44141c8d3
commit 899e226f38
32 changed files with 116 additions and 110 deletions
+2
View File
@@ -145,11 +145,13 @@ try_element_again:
static const char *sound_masks[] = { ".set", ".mp3", ".ogg", ".wav", ".redir", NULL };
static const char *font_masks[] = { " 16x16.png", ".redir", NULL };
static const char *numbers_masks[] = { " 5x3.png", ".redir", NULL };
static const char *bganimations_masks[] = { ".", ".redir", NULL };
const char **asset_masks = NULL;
if( sAssetCategory == "graphics" ) asset_masks = graphic_masks;
else if( sAssetCategory == "sounds" ) asset_masks = sound_masks;
else if( sAssetCategory == "fonts" ) asset_masks = font_masks;
else if( sAssetCategory == "numbers" ) asset_masks = numbers_masks;
else if( sAssetCategory == "bganimations" ) asset_masks = bganimations_masks;
else ASSERT(0); // Unknown theme asset category
int i;
for(i = 0; asset_masks[i]; ++i)