- const std::map<std::string, SDL_Surface *> &Images() const { return imageCache; }
- const std::vector<PostponedDefinition> &PostponedDefinitions() const { return postponedDefinitions; }
- const std::map<int, std::vector<void *> > &Values() const { return values; }
+ /// Get all images reference by he source.
+ /// The returned map is indexed by filenames relative to
+ /// the source file and contains ready-to-blit surfaces.
+ const std::map<std::string, SDL_Surface *> &Images() const {
+ return imageCache;
+ }
+ /// Get all definitions that were postponed because they
+ /// were not in the parsed source.
+ const std::vector<PostponedDefinition> &PostponedDefinitions() const {
+ return postponedDefinitions;
+ }
+ /// A map of object id to object.
+ const std::map<int, std::vector<void *> > &Values() const {
+ return values;
+ }