[Scummvm-cvs-logs] scummvm master -> de7fa24bc57ba6757d6ccbe6267dfcca7dba8289

Strangerke Strangerke at scummvm.org
Mon Nov 18 08:11:29 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
de7fa24bc5 TSAGE: R2R - Remove useless function in scene 1750


Commit: de7fa24bc57ba6757d6ccbe6267dfcca7dba8289
    https://github.com/scummvm/scummvm/commit/de7fa24bc57ba6757d6ccbe6267dfcca7dba8289
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-17T23:10:38-08:00

Commit Message:
TSAGE: R2R - Remove useless function in scene 1750

Changed paths:
    engines/tsage/ringworld2/ringworld2_scenes1.cpp
    engines/tsage/ringworld2/ringworld2_scenes1.h



diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index e065f5a..4b7e4ee 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -10853,11 +10853,6 @@ void Scene1750::SpeedSlider::calculateSlider() {
 	scene->_speed = scene->_direction * tmpVar2;
 }
 
-void Scene1750::SpeedSlider::remove() {
-	// Function kept to match IDA. Could be removed.
-	SceneActor::remove();
-}
-
 void Scene1750::SpeedSlider::process(Event &event) {
 	if ((event.eventType == EVENT_BUTTON_DOWN) && (R2_GLOBALS._events.getCursor() == CURSOR_USE) &&
 			(_bounds.contains(event.mousePos))) {
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.h b/engines/tsage/ringworld2/ringworld2_scenes1.h
index 3780aa8..39e2d3b 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.h
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.h
@@ -768,7 +768,6 @@ class Scene1750 : public SceneExt {
 		void setupSlider(int incrAmount, int xp, int ys, int height, int thumbHeight);
 		void calculateSlider();
 
-		virtual void remove();
 		virtual void process(Event &event);
 		virtual bool startAction(CursorType action, Event &event);
 	};






More information about the Scummvm-git-logs mailing list