aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/font.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-04-11 09:23:40 +0000
committerFilippos Karapetis2009-04-11 09:23:40 +0000
commit02ca56eec864c6e4e74b614a9d4be6c331e99eef (patch)
tree24a750275722ce62d480ee1bb26d7f5c9af823df /engines/saga/font.h
parent271f8b58b594aee76dcee625251a6ca9f517fcd8 (diff)
downloadscummvm-rg350-02ca56eec864c6e4e74b614a9d4be6c331e99eef.tar.gz
scummvm-rg350-02ca56eec864c6e4e74b614a9d4be6c331e99eef.tar.bz2
scummvm-rg350-02ca56eec864c6e4e74b614a9d4be6c331e99eef.zip
Removed all but one of the functions of the SortedList, apart from the custom insert() operation. It's only used in one place now (in _drawOrderList)
svn-id: r39925
Diffstat (limited to 'engines/saga/font.h')
-rw-r--r--engines/saga/font.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/saga/font.h b/engines/saga/font.h
index 248cee6d4f..37ff56ea2d 100644
--- a/engines/saga/font.h
+++ b/engines/saga/font.h
@@ -94,11 +94,12 @@ struct TextListEntry {
}
};
-class TextList: public SortedList<TextListEntry> {
+class TextList: public Common::List<TextListEntry> {
public:
TextListEntry *addEntry(const TextListEntry &entry) {
- return &*pushBack(entry);
+ Common::List<TextListEntry>::push_back(entry);
+ return &*--Common::List<TextListEntry>::end();
}
};