(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name

This commit is contained in:
rubidium
2010-07-19 17:00:54 +00:00
parent 34764feac2
commit 5a836cdec7
8 changed files with 25 additions and 16 deletions

View File

@@ -63,8 +63,8 @@ const TileTypeProcs * const _tile_type_procs[16] = {
&_tile_type_unmovable_procs, ///< Callback functions for MP_UNMOVABLE tiles
};
/* landscape slope => sprite */
const byte _tileh_to_sprite[32] = {
/** landscape slope => sprite */
extern const byte _slope_to_sprite_offset[32] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0,
0, 0, 0, 0, 0, 0, 0, 16, 0, 0, 0, 17, 0, 15, 18, 0,
};