| 10 | #include "Specific/level.h" |
| 11 | |
| 12 | void AssignObjectMeshSwap(ObjectInfo& object, int requiredMeshSwap, const std::string& baseName, const std::string& requiredName) |
| 13 | { |
| 14 | if (Objects[requiredMeshSwap].loaded) |
| 15 | { |
| 16 | object.meshSwapSlot = requiredMeshSwap; |
| 17 | } |
| 18 | else |
| 19 | { |
| 20 | TENLog("Slot " + requiredName + " not loaded. Meshswap issues with " + baseName + " may result in incorrect behaviour.", LogLevel::Warning); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | bool AssignObjectAnimations(ObjectInfo& object, int requiredObjectID, const std::string& baseName, const std::string& requiredName) |
| 25 | { |