mirror of
https://github.com/zeldaret/oot
synced 2026-06-26 10:21:54 -04:00
0432011bd9
* Updated config file * Added missing files * Temporarily removed asm_processor changes. * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "96ffc1e62" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "96ffc1e62" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "179af7d11" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "179af7d11" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * Cleanup and fixes. * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "50ad2fe78" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "50ad2fe78" git-subrepo: version: "0.4.3" origin: "???" commit: "???" * Makefile fix * git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "b9120803e" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "b9120803e" git-subrepo: version: "0.4.3" origin: "???" commit: "???" Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>
34 lines
857 B
C++
34 lines
857 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <string>
|
|
#include <vector>
|
|
#include "ZResource.h"
|
|
#include "ZScalar.h"
|
|
#include "tinyxml2.h"
|
|
|
|
class ZVector : public ZResource
|
|
{
|
|
public:
|
|
std::vector<ZScalar*> scalars;
|
|
ZScalarType scalarType;
|
|
uint32_t dimensions;
|
|
|
|
ZVector(ZFile* nParent);
|
|
~ZVector();
|
|
|
|
void ParseXML(tinyxml2::XMLElement* reader) override;
|
|
std::string GetSourceTypeName() override;
|
|
std::string GetSourceValue();
|
|
std::string GetSourceOutputCode(const std::string& prefix) override;
|
|
void ParseRawData() override;
|
|
size_t GetRawDataSize() override;
|
|
bool DoesSupportArray() override;
|
|
ZResourceType GetResourceType() override;
|
|
|
|
void ExtractFromXML(tinyxml2::XMLElement* reader, const std::vector<uint8_t>& nRawData,
|
|
const uint32_t nRawDataIndex, const std::string& nRelPath) override;
|
|
|
|
private:
|
|
void ClearScalars();
|
|
}; |