summaryrefslogtreecommitdiff
path: root/ZAPD/ZWaterbox.h
blob: e901e80668b02260d79468ab8551a40bf53d8a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include "ZFile.h"
#include "ZResource.h"

class ZWaterbox : public ZResource
{
    public:
    int16_t xMin;
    int16_t ySurface;
    int16_t zMin;
    int16_t xLength;
    int16_t zLength;
    int32_t properties;

    ZWaterbox(ZFile* nParent);
    ~ZWaterbox();

    void ParseRawData() override;
    void DeclareReferences(const std::string& prefix) override;
    std::string GetBodySourceCode() const override;
    std::string GetDefaultName(const std::string& prefix) const override;

    std::string GetSourceTypeName() const override;
    ZResourceType GetResourceType() const override;

    bool DoesSupportArray() const override;

    size_t GetRawDataSize() const override;
};