diff options
author | rubidium <rubidium@openttd.org> | 2007-09-19 16:36:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-19 16:36:42 +0000 |
commit | 5c9553d48bba3cfb8b65d56e82170d87cd1e08b3 (patch) | |
tree | 43eeb8d8df5dc2673e5adeba591247acb8e3bbe2 /src/table | |
parent | 92a827800f690c04927c5cbbdd5fa788b9f2cd4c (diff) | |
download | openttd-5c9553d48bba3cfb8b65d56e82170d87cd1e08b3.tar.xz |
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/sprites.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/table/sprites.h b/src/table/sprites.h index c285b840f..d65989fa3 100644 --- a/src/table/sprites.h +++ b/src/table/sprites.h @@ -176,8 +176,11 @@ enum Sprites { /* One way road sprites */ SPR_ONEWAY_BASE = SPR_TRAMWAY_BASE + 113, + /* Not really a sprite, but an empty bounding box. Used to construct bounding boxes, that help sorting the sprites, but do not have a sprite associated. */ + SPR_EMPTY_BOUNDING_BOX = SPR_ONEWAY_BASE + 6, + /* Flags sprites (in same order as enum NetworkLanguage) */ - SPR_FLAGS_BASE = SPR_ONEWAY_BASE + 6, + SPR_FLAGS_BASE = SPR_EMPTY_BOUNDING_BOX + 1, /* Manager face sprites */ SPR_GRADIENT = 874, // background gradient behind manager face |