RTP Image Cache and RTP Paths
DescriptionRTP Paths need to be configurable for the editor and per project and There needs to be an image cache that can keep these images around so that they don;t have to be reloaded each time they are accessed. particularly important for the map editor, Tileset panel ect.
PriorityHigh
PrerequisitesNone
AssignedRyex
Everything elseThe cache should search the RTP paths in the user specified order for images with the provided file name and should work regardless of the presence of a file extension.
The base cache should run on PIL there needs to be an interface to get wx versions of the images too.
Pyglet also needs to have an instance based cache that draws from the global PIL cache. Because of a bug in the somewhat hackish way pyglet is interfaced with wx two contexts can't share the same resources so each context needs it's instance of the cache.