From 7155db43049493fadc2f2e9779e5407ef3acc6eb Mon Sep 17 00:00:00 2001 From: lukaslw Date: Sun, 13 Jul 2014 18:27:13 +0200 Subject: PRINCE: Pathfinding - bug fixing, approxPath() --- engines/prince/graphics.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/prince/graphics.h') diff --git a/engines/prince/graphics.h b/engines/prince/graphics.h index 76f6723d81..266177e229 100644 --- a/engines/prince/graphics.h +++ b/engines/prince/graphics.h @@ -45,9 +45,9 @@ public: void makeShadowTable(int brightness, byte *shadowTable); void draw(Graphics::Surface *screen, const Graphics::Surface *s); - void drawTransparentSurface(Graphics::Surface *screen, int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); + void drawTransparentSurface(Graphics::Surface *screen, int32 posX, int32 posY, const Graphics::Surface *s, int transColor); void drawAsShadowSurface(Graphics::Surface *screen, int32 posX, int32 posY, const Graphics::Surface *s, byte *shadowTable); - void drawTransparentWithBlendSurface(Graphics::Surface *screen, int32 posX, int32 poxY, const Graphics::Surface *s, int transColor); + void drawTransparentWithBlendSurface(Graphics::Surface *screen, int32 posX, int32 posY, const Graphics::Surface *s, int transColor); static void drawTransparentDrawNode(Graphics::Surface *screen, DrawNode *drawNode); static void drawAsShadowDrawNode(Graphics::Surface *screen, DrawNode *drawNode); @@ -64,6 +64,8 @@ public: static const byte kShadowColor = 191; + void drawPixel(Graphics::Surface *screen, int32 posX, int32 posY); + private: PrinceEngine *_vm; -- cgit v1.2.3