|Reported by:||peres||Owned by:||fingolfin|
The patch implements a singleton object that the middleware code can use to search/open files (e.g. theme files, sound fonts, plugin detection files).
The common code has been updated to use the new object (except for the cases outlined below):
* Infogrames: only used by GOB. * DXAPlayer: used by AGOS, HE, SWORD1, SWORD2. * ImageDecocer: used by ImageManager. * BaseAnimationState (mpeg player). * AudioStream::openStreamFile().
The patch also removes a large number of unneeded dependencies on 'common/file.h' in the codebase.
Ticket imported from: #2093502. Ticket imported from: patches/1022.