summaryrefslogtreecommitdiff
path: root/ZAPD/ZWaterbox.h
blob: e190b26a08e15049f84f09c9bfcdcc8485bbbb69 (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;
};