aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/menu_views.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-18 11:55:30 -0400
committerPaul Gilbert2014-10-18 11:55:30 -0400
commitdbfe4972e3a3e1d59aee8993697028cdd2de8da2 (patch)
tree42bb020ce248ec6aa02c1e0227baa0a6ca0337b0 /engines/mads/menu_views.cpp
parenta657c3982447704c9262926f853875ca80e7a7c4 (diff)
downloadscummvm-rg350-dbfe4972e3a3e1d59aee8993697028cdd2de8da2.tar.gz
scummvm-rg350-dbfe4972e3a3e1d59aee8993697028cdd2de8da2.tar.bz2
scummvm-rg350-dbfe4972e3a3e1d59aee8993697028cdd2de8da2.zip
MADS: Remove deprecated code from AnimationView and a bunch of out-of-date TODOs
Diffstat (limited to 'engines/mads/menu_views.cpp')
-rw-r--r--engines/mads/menu_views.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/engines/mads/menu_views.cpp b/engines/mads/menu_views.cpp
index 1314774371..03afc70c3e 100644
--- a/engines/mads/menu_views.cpp
+++ b/engines/mads/menu_views.cpp
@@ -765,40 +765,4 @@ int AnimationView::getParameter() {
return result;
}
-void AnimationView::checkResource(const Common::String &resourceName) {
- //bool hasSuffix = false;
-
-}
-
-int AnimationView::scanResourceIndex(const Common::String &resourceName) {
- int foundIndex = -1;
-
- if (_v1) {
- const char *chP = strchr(resourceName.c_str(), '\\');
- if (!chP) {
- chP = strchr(resourceName.c_str(), '*');
- }
-
- Common::String resName = chP ? Common::String(chP + 1) : resourceName;
-
- if (_v2 != 3) {
- assert(_resIndex.size() == 0);
- }
-
- // Scan for the resource name
- for (uint resIndex = 0; resIndex < _resIndex.size(); ++resIndex) {
- ResIndexEntry &resEntry = _resIndex[resIndex];
- if (resEntry._resourceName.compareToIgnoreCase(resourceName)) {
- foundIndex = resIndex;
- break;
- }
- }
- }
-
- if (foundIndex >= 0) {
- // TODO
- }
- return -1;
-}
-
} // End of namespace MADS