0x00469973
| 19 | |
| 20 | // 0x00469973 |
| 21 | bool LandObject::validate() const |
| 22 | { |
| 23 | if (costIndex > 32) |
| 24 | { |
| 25 | return false; |
| 26 | } |
| 27 | if (costFactor <= 0) |
| 28 | { |
| 29 | return false; |
| 30 | } |
| 31 | if (numGrowthStages < 1) |
| 32 | { |
| 33 | return false; |
| 34 | } |
| 35 | if (numGrowthStages > 8) |
| 36 | { |
| 37 | return false; |
| 38 | } |
| 39 | |
| 40 | return (numImageAngles == 1 || numImageAngles == 2 || numImageAngles == 4); |
| 41 | } |
| 42 | |
| 43 | // 0x0046983C |
| 44 | void LandObject::load(const LoadedObjectHandle& handle, std::span<const std::byte> data, ObjectManager::DependentObjects* dependencies) |
no outgoing calls
no test coverage detected