#ifndef REZWORLD_H #define REZWORLD_H #include #include #include "ResourceDefinitions.h" #include "Expression.h" #include "ResourceFiles.h" class RezWorld { friend class RezParser; std::map types; std::stack fieldLists; std::stack functionCalls; std::stack switches; Resources resources; public: RezWorld(); void addTypeDefinition(TypeSpec spec, TypeDefinitionPtr type); TypeDefinitionPtr getTypeDefinition(ResType type, int id); void addResource(ResType type, int id, CompoundExprPtr body); Resources& getResources() { return resources; } }; #endif // REZWORLD_H