aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/debugger.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-13 17:08:16 +0200
committerJohannes Schickel2011-04-13 18:26:12 +0200
commit6db40e0c6c6c575696a7eaaa44b68c7579664d36 (patch)
treed3629eff596b24937f137da1561d47b2a778ecf3 /engines/tsage/debugger.cpp
parent0234c9ff95e3456bdb2c0eb0f2763516f6748c29 (diff)
downloadscummvm-rg350-6db40e0c6c6c575696a7eaaa44b68c7579664d36.tar.gz
scummvm-rg350-6db40e0c6c6c575696a7eaaa44b68c7579664d36.tar.bz2
scummvm-rg350-6db40e0c6c6c575696a7eaaa44b68c7579664d36.zip
TSAGE: Cleanup custom List usage.
This makes the code use Common::List for all cases where synchronization can not be done with tSage::List::synchronise. Furthermore I renamed the custom List class to SynchronisedList to stress its purpose. I also removed clear2, contains and forEach and replaced them with algorithm usage from Common:: or in the case of "contains" replaced them with a simple inline function which uses Common::find.
Diffstat (limited to 'engines/tsage/debugger.cpp')
-rw-r--r--engines/tsage/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/debugger.cpp b/engines/tsage/debugger.cpp
index 2c6c533125..cc5c9d899c 100644
--- a/engines/tsage/debugger.cpp
+++ b/engines/tsage/debugger.cpp
@@ -126,7 +126,7 @@ bool Debugger::Cmd_PriorityRegions(int argc, const char **argv) {
// Lock the background surface for access
Graphics::Surface destSurface = _globals->_sceneManager._scene->_backSurface.lockSurface();
- List<Region>::iterator i = _globals->_sceneManager._scene->_priorities.begin();
+ Common::List<Region>::iterator i = _globals->_sceneManager._scene->_priorities.begin();
Common::String regionsDesc;
for (; i != _globals->_sceneManager._scene->_priorities.end(); ++i, ++colour, ++count) {