aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kpathing.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-31 16:26:15 +0000
committerMartin Kiewitz2010-01-31 16:26:15 +0000
commit7184fa3bade28876787422e280f5475e7b23575d (patch)
tree799dfb8ad9b37fe8113e83900ed5ba4c6e304237 /engines/sci/engine/kpathing.cpp
parent72c2d360f748d5c9934db2edf3c672bac7b1e165 (diff)
downloadscummvm-rg350-7184fa3bade28876787422e280f5475e7b23575d.tar.gz
scummvm-rg350-7184fa3bade28876787422e280f5475e7b23575d.tar.bz2
scummvm-rg350-7184fa3bade28876787422e280f5475e7b23575d.zip
SCI: renamed kernelFind() to kernelFindColor, so that it isnt that confusing :P
svn-id: r47753
Diffstat (limited to 'engines/sci/engine/kpathing.cpp')
-rw-r--r--engines/sci/engine/kpathing.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index 301daeb240..a53450b237 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -293,10 +293,10 @@ static void draw_line(EngineState *s, Common::Point p1, Common::Point p2, int ty
// Red : Barred access
// Yellow: Contained access
int poly_colors[4] = {
- s->_gfxPalette->kernelFind(0, 255, 0), // green
- s->_gfxPalette->kernelFind(0, 0, 255), // blue
- s->_gfxPalette->kernelFind(255, 0, 0), // red
- s->_gfxPalette->kernelFind(255, 255, 0) // yellow
+ s->_gfxPalette->kernelFindColor(0, 255, 0), // green
+ s->_gfxPalette->kernelFindColor(0, 0, 255), // blue
+ s->_gfxPalette->kernelFindColor(255, 0, 0), // red
+ s->_gfxPalette->kernelFindColor(255, 255, 0) // yellow
};
// Clip
@@ -315,8 +315,8 @@ static void draw_point(EngineState *s, Common::Point p, int start, int width, in
// Green: End point
// Blue: Starting point
int point_colors[2] = {
- s->_gfxPalette->kernelFind(0, 255, 0), // green
- s->_gfxPalette->kernelFind(0, 0, 255) // blue
+ s->_gfxPalette->kernelFindColor(0, 255, 0), // green
+ s->_gfxPalette->kernelFindColor(0, 0, 255) // blue
};
Common::Rect rect = Common::Rect(p.x - 1, p.y - 1, p.x - 1 + 3, p.y - 1 + 3);