]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/Interpreter.h
ref and load images in l2o files
[l2e.git] / src / loader / Interpreter.h
index 3e9f661e56ccb53da7f5637315c5b1f5e5b9e1a4..6b3835a49ad3c270f2fc9530a71824fd6da6a577 100644 (file)
@@ -115,6 +115,7 @@ public:
        const std::map<std::string, SDL_Surface *> &Images() const {
                return imageCache;
        }
+       const std::string &FindImage(SDL_Surface *) const;
        /// Get all definitions that were postponed because they
        /// were not in the parsed source.
        const std::vector<PostponedDefinition> &PostponedDefinitions() const {
@@ -126,6 +127,7 @@ public:
        }
        struct Array {
                void *data;
+               unsigned int typeId;
                unsigned int size;
                bool ref;
        };