aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-04 11:52:11 +0000
committerFilippos Karapetis2009-11-04 11:52:11 +0000
commitf755311114121ce67efc17db4a67996382affc47 (patch)
treed7a7e6785328e372b71f43d7879e7b79385c5468 /engines/sci/engine/kernel.h
parentf5d1ca32f2626ae1eb6c6c598e129698123a3aab (diff)
downloadscummvm-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.h13
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 ********************/