| 3 | #include <types.h> |
| 4 | |
| 5 | void xVolume::Init(xVolumeAsset* asset) |
| 6 | { |
| 7 | xBaseInit(this, asset); |
| 8 | this->asset = asset; |
| 9 | |
| 10 | if (this->linkCount) |
| 11 | { |
| 12 | this->link = (xLinkAsset*)(this->asset + 1); |
| 13 | } |
| 14 | else |
| 15 | { |
| 16 | this->link = NULL; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | void xVolume::Reset() |
| 21 | { |
no test coverage detected