(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names

This commit is contained in:
yexo
2009-09-07 13:38:57 +00:00
parent 6a944f06b3
commit d384908d56
7 changed files with 59 additions and 75 deletions

View File

@@ -12,13 +12,6 @@
#ifndef TREE_LAND_H
#define TREE_LAND_H
static const SpriteID _tree_sprites_1[] = {
SPR_FLAT_1_QUART_SNOWY_TILE,
SPR_FLAT_2_QUART_SNOWY_TILE,
SPR_FLAT_3_QUART_SNOWY_TILE,
SPR_FLAT_SNOWY_TILE
};
static const byte _tree_base_by_landscape[4] = {0, 12, 20, 32};
static const byte _tree_count_by_landscape[4] = {12, 8, 12, 9};