diff options
author | Filippos Karapetis | 2009-11-04 11:52:11 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-11-04 11:52:11 +0000 |
commit | f755311114121ce67efc17db4a67996382affc47 (patch) | |
tree | d7a7e6785328e372b71f43d7879e7b79385c5468 /engines/sci/engine/kernel.h | |
parent | f5d1ca32f2626ae1eb6c6c598e129698123a3aab (diff) | |
download | scummvm-rg350-f755311114121ce67efc17db4a67996382affc47.tar.gz scummvm-rg350-f755311114121ce67efc17db4a67996382affc47.tar.bz2 scummvm-rg350-f755311114121ce67efc17db4a67996382affc47.zip |
priority_first and priority_last are not used by the new drawing code, thus the new code didn't handle priority changes by kGraph()
svn-id: r45658
Diffstat (limited to 'engines/sci/engine/kernel.h')
-rw-r--r-- | engines/sci/engine/kernel.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h index 15e7489aff..9294b6a172 100644 --- a/engines/sci/engine/kernel.h +++ b/engines/sci/engine/kernel.h @@ -221,19 +221,6 @@ int _find_priority_band(EngineState *s, int band); */ int _find_view_priority(EngineState *s, int y); -#define SCI0_VIEW_PRIORITY_14_ZONES(y) (((y) < s->priority_first)? 0 : (((y) >= s->priority_last)? 14 : 1\ - + ((((y) - s->priority_first) * 14) / (s->priority_last - s->priority_first)))) - -#define SCI0_PRIORITY_BAND_FIRST_14_ZONES(nr) ((((nr) == 0)? 0 : \ - ((s->priority_first) + (((nr)-1) * (s->priority_last - s->priority_first)) / 14))) - -#define SCI0_VIEW_PRIORITY(y) (((y) < s->priority_first)? 0 : (((y) >= s->priority_last)? 14 : 1\ - + ((((y) - s->priority_first) * 15) / (s->priority_last - s->priority_first)))) - -#define SCI0_PRIORITY_BAND_FIRST(nr) ((((nr) == 0)? 0 : \ - ((s->priority_first) + (((nr)-1) * (s->priority_last - s->priority_first)) / 15))) - - /******************** Dynamic view list functions ********************/ |