diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/vga13h.cpp | 9 | ||||
-rw-r--r-- | engines/cge/vga13h.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index 75c04e70eb..531c5f1f71 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -556,15 +556,6 @@ void Queue::clear() { } } -void Queue::forAll(void (*fun)(Sprite *)) { - Sprite *s = _head; - while (s) { - Sprite *n = s->_next; - fun(s); - s = n; - } -} - void Queue::append(Sprite *spr) { if (_tail) { spr->_prev = _tail; diff --git a/engines/cge/vga13h.h b/engines/cge/vga13h.h index 88353f4d48..01b1d0ead4 100644 --- a/engines/cge/vga13h.h +++ b/engines/cge/vga13h.h @@ -167,7 +167,6 @@ public: void insert(Sprite *spr, Sprite *nxt); void insert(Sprite *spr); Sprite *remove(Sprite *spr); - void forAll(void (*fun)(Sprite *)); Sprite *first() { return _head; } |