summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-06 09:18:04 +0000
committertron <tron@openttd.org>2006-02-06 09:18:04 +0000
commit087fe86ed28fb6ac5885cac7f64d34ccd5a9c140 (patch)
tree3a4002304d8204d11c37ba706d6ffbd2e5dfac1b /table
parent75a70e1def8c677d2340a49e9f12e4c2a5d65aee (diff)
downloadopenttd-087fe86ed28fb6ac5885cac7f64d34ccd5a9c140.tar.xz
(svn r3564) Several smaller changes:
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements
Diffstat (limited to 'table')
-rw-r--r--table/tree_land.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/table/tree_land.h b/table/tree_land.h
index d94ef1be4..9d68681d6 100644
--- a/table/tree_land.h
+++ b/table/tree_land.h
@@ -3,11 +3,11 @@
#ifndef TREE_LAND_H
#define TREE_LAND_H
-static const SpriteID _tree_sprites_1[4] = {
- 0x118D,
- 0x11A0,
- 0x11B3,
- 0x11C6,
+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};