From 5a0d511ebd249d21b5390d26add991e2c2d1bda2 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Thu, 2 May 2019 23:59:18 +0200 Subject: CRYOMNI3D: Use typedef instead of repeating --- engines/cryomni3d/fixed_image.cpp | 2 +- engines/cryomni3d/fixed_image.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/cryomni3d') diff --git a/engines/cryomni3d/fixed_image.cpp b/engines/cryomni3d/fixed_image.cpp index 0fb951342f..660190a09f 100644 --- a/engines/cryomni3d/fixed_image.cpp +++ b/engines/cryomni3d/fixed_image.cpp @@ -42,7 +42,7 @@ ZonFixedImage::~ZonFixedImage() { delete _imageDecoder; } -void ZonFixedImage::run(const Common::Functor1 *callback) { +void ZonFixedImage::run(const CallbackFunctor *callback) { _exit = false; _zonesMode = kZonesMode_None; diff --git a/engines/cryomni3d/fixed_image.h b/engines/cryomni3d/fixed_image.h index b462315323..7f2b1e07de 100644 --- a/engines/cryomni3d/fixed_image.h +++ b/engines/cryomni3d/fixed_image.h @@ -65,7 +65,7 @@ public: void run(const CallbackFunctor *callback); - /* THis function is used to refresh image after various events */ + /* This function is used to refresh image after various events */ void display() const; /* These functions and attributes are used in image handler */ @@ -96,7 +96,7 @@ public: Common::KeyState _key; protected: - const Common::Functor1 *_callback; + const CallbackFunctor *_callback; CryOmni3DEngine &_engine; Inventory &_inventory; const Sprites &_sprites; -- cgit v1.2.3