[Scummvm-git-logs] scummvm master -> ee8b8382a5a3f21139cc7af4568843ad6facf606

sev- noreply at scummvm.org
Wed Nov 13 17:54:43 UTC 2024


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

Summary:
d12f98115c QDENGINE: Remove another unused method with portability issues
ee8b8382a5 QDENGINE: Remove unused unportable operator overload in sndSound


Commit: d12f98115c4d32b51fb58afc3c9c14851089e8c6
    https://github.com/scummvm/scummvm/commit/d12f98115c4d32b51fb58afc3c9c14851089e8c6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-11-13T18:51:39+01:00

Commit Message:
QDENGINE: Remove another unused method with portability issues

Changed paths:
    engines/qdengine/qdcore/qd_game_dispatcher_base.cpp
    engines/qdengine/qdcore/qd_game_dispatcher_base.h


diff --git a/engines/qdengine/qdcore/qd_game_dispatcher_base.cpp b/engines/qdengine/qdcore/qd_game_dispatcher_base.cpp
index da49f70ee92..e0b9807a549 100644
--- a/engines/qdengine/qdcore/qd_game_dispatcher_base.cpp
+++ b/engines/qdengine/qdcore/qd_game_dispatcher_base.cpp
@@ -98,17 +98,6 @@ bool qdGameDispatcherBase::get_object_scale(const char *p, float &sc) {
 	return false;
 }
 
-bool qdGameDispatcherBase::remove_object_scale(const char *p) {
-	for (scale_info_container_t::iterator it = _scale_infos.begin(); it != _scale_infos.end(); ++it) {
-		if (!strcmp(it->name(), p)) {
-			_scale_infos.erase(it);
-			return true;
-		}
-	}
-
-	return false;
-}
-
 qdScaleInfo *qdGameDispatcherBase::get_scale_info(const char *p) {
 	for (scale_info_container_t::iterator it = _scale_infos.begin(); it != _scale_infos.end(); ++it) {
 		if (!strcmp(it->name(), p)) {
diff --git a/engines/qdengine/qdcore/qd_game_dispatcher_base.h b/engines/qdengine/qdcore/qd_game_dispatcher_base.h
index ef648ed40d8..8ef89a75750 100644
--- a/engines/qdengine/qdcore/qd_game_dispatcher_base.h
+++ b/engines/qdengine/qdcore/qd_game_dispatcher_base.h
@@ -135,7 +135,6 @@ public:
 	}
 	bool get_object_scale(const char *p, float &sc);
 	bool set_object_scale(const char *p, float sc);
-	bool remove_object_scale(const char *p);
 
 	virtual qdScaleInfo *get_scale_info(const char *p);
 


Commit: ee8b8382a5a3f21139cc7af4568843ad6facf606
    https://github.com/scummvm/scummvm/commit/ee8b8382a5a3f21139cc7af4568843ad6facf606
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-11-13T18:54:10+01:00

Commit Message:
QDENGINE: Remove unused unportable operator overload in sndSound

Changed paths:
    engines/qdengine/system/sound/snd_sound.h


diff --git a/engines/qdengine/system/sound/snd_sound.h b/engines/qdengine/system/sound/snd_sound.h
index b1ed702a100..97327e655b8 100644
--- a/engines/qdengine/system/sound/snd_sound.h
+++ b/engines/qdengine/system/sound/snd_sound.h
@@ -43,15 +43,6 @@ public:
 	explicit sndSound(const wavSound *snd, const sndHandle *h = NULL) : _sound(snd), _handle(h), _flags(0) {}
 	~sndSound();
 
-	sndSound &operator = (const sndSound &s) {
-		if (this == &s) return *this;
-
-		_sound = s._sound;
-		_handle = s._handle;
-
-		return *this;
-	}
-
 	//! Состояние звука.
 	enum status_t {
 		//! звук не проигрывается




More information about the Scummvm-git-logs mailing list