scummvm/scummvm — pull request #143 by fingolfin (2011-12-15 12:50:12+00:00)
Title: Dreamweb cleanup

This converts four functions to C++, and then moves a ton of stuff to DreamBase. For the latter, I focused on moving things that are callbacks used in RectWithCallback structs. We will need to move all such callbacks to DreamBase before (or at the same time) we move anything that uses RectWithCallback to DreamBase.

(Alternatively, we could try to make RectWithCallback more flexible, but then necessarily also more complicated, e.g. by using functor objects from common/func.h)