]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/ParsedSource.h
added support for arrays of property lists
[l2e.git] / src / loader / ParsedSource.h
index ebcc853ced570f7728b202f995cc993b8af53792..f78a49e7b66d402b11b46924ed2595d2c12ee366 100644 (file)
@@ -22,7 +22,8 @@ class Value;
 class Literal {
 
        enum Type {
-               ARRAY,
+               ARRAY_VALUES,
+               ARRAY_PROPS,
                BOOLEAN,
                COLOR,
                NUMBER,
@@ -33,6 +34,7 @@ class Literal {
 
 public:
        explicit Literal(const std::vector<Value *> &);
+       explicit Literal(const std::vector<PropertyList *> &);
        explicit Literal(bool);
        Literal(int r, int g, int b, int a = 255);
        Literal(const std::string &);
@@ -43,6 +45,7 @@ private:
        PropertyList *props;
        std::string str;
        std::vector<Value *> values;
+       std::vector<PropertyList *> propertyLists;
        int i1, i2, i3, i4;
        bool b;
        Type type;